Is there any way in JSP to set focus on an input field in a HTML form using JSP code, and not JavaScript?

Govind Seshadri

No, there isn't. Remember, JSP is strictly a server-side technology, which is responsible for generating dynamic content in HTML, DHTML or XML format. Setting focus on specific input elements within an HTML form is strictly a client-side activity and consequently has to be performed using something like JavaScript.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact