Is there any way in JSP to set focus on an input field in a HTML form using JSP code, and not JavaScript?
Created May 14, 2012
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.