JSP Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 821 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 ytKFuF
Related Questions
JSP : What is a WAR file?

What is a WAR file?

WAR(Web Archive) is a compressed version of web application and used to deploy the web application.
Category: JSP Date: 11/5/2010 3:41:59 PM
JSP : What is servlet context ?

What is servlet context ?

The servlet context is an object contains a information about the Web application and container, it ....
Category: JSP Date: 11/5/2010 1:30:56 PM
JSP : What is the difference between <%@ include ...> and <jsp:include> ?

What is the difference between <%@ include ...> and ?

“@ include” is static include; where the contents of the file will get included on Translation phase....
Category: JSP Date: 11/5/2010 11:09:56 AM
JSP : How HTTP Servlet handles client requests?  

How HTTP Servlet handles client requests?  

By using its service method that supports standard HTTP client requests by dispatching each request ....
Category: JSP Date: 11/5/2010 8:46:58 AM
JSP : What is the Max size of a Session Object?

What is the Max size of a Session Object?

There is no such limit on the amount of information that can be saved in a Session Object.  The....
Category: JSP Date: 11/5/2010 8:14:57 AM