JSP Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 904 Page Views: 

Why doesn't the focus feature on the <html:form> tag work in every circumstance?

Posted By: Avi Date: 8 November 2010 11:50:00 PM

Because there is some disagreement between the various browsers, and different versions of the same browser, as to how the focus can be set. The tag provides a quick and easy JavaScript that will set the focus on a form for most versions of most browsers. If this feature doesn't work for you, then you should set the focus using your own JavaScript. The focus feature is a convenient "value-add" -- not a core requirement of the tag. If you do come up with a JavaScript that provides the final solution to this project, please post your patch to this Bugzilla ticket.

Posted By: avibtech

Date: 8 November 2010 11:50:00 PM
Post a better Answer if you have
(Will show your Gravatar icon)  
  Country flag

Enter the text as shown in the image VlWBOm
Related Questions
JSP : What is HttpTunneling?

What is HttpTunneling?

HTTP tunneling is used to encapsulate other protocols within the HTTP or HTTPS protocols. Where web ....
Category: JSP Date: 11/8/2010 10:34:57 AM
JSP : What is the difference between JSP and Servlets?

What is the difference between JSP and Servlets?

JSP is used mainly for presentation only and it can support only HTTP protocol. But a servlet can su....
Category: JSP Date: 11/8/2010 10:01:55 AM
JSP : What is a Expression?

What is a Expression?

Expression is act as place holders for language expression, expression is evaluated each time the pa....
Category: JSP Date: 11/8/2010 7:07:56 AM
JSP : What is the directory structure of a web application?

What is the directory structure of a web application?

It consists of two parts.1- WEB-INF is a private directory that consists of web.xml, classes directo....
Category: JSP Date: 11/8/2010 5:17:58 AM
JSP : What are JSP Actions?

What are JSP Actions?

JSP actions controls the behavior of the servlet by using constructs in XML syntax . So it can be dy....
Category: JSP Date: 11/8/2010 4:45:57 AM