JSP Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 923 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
 Answer:

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

Loading
Enter the text as shown in the image tbAs7L
Related Questions
JSP : What are the different web servers available name few of them?

What are the different web servers available name few of them?

Tomcat, Java Web Server, JRun  
Category: JSP Date: 11/4/2010 2:36:58 AM
JSP : What are two types of Servlets ?

What are two types of Servlets ?

GenericServlet that can can implement any protocol and HttpServlet that is used to implement HTTP pr....
Category: JSP Date: 11/4/2010 2:04:56 AM
JSP : Is HTML page a web component?  

Is HTML page a web component?  

No.
Category: JSP Date: 11/4/2010 12:15:58 AM
JSP : Can we call a servlet with parameters in the URL?

Can we call a servlet with parameters in the URL?

Yes. As like ?param=value
Category: JSP Date: 11/3/2010 11:42:58 PM
JSP : How  response has already been committed error?

How response has already been committed error?

This error occurs only when tring to redirect a page after flushing the output buffer and the reason....
Category: JSP Date: 11/3/2010 11:09:57 PM