how the jsp page can be regenerated?
Answers were Sorted based on User's Feedback
Answer / geetha
when included files are changed, the servlet generated by
the JSP is not usually regenerated. So if you make a change
to an included file, make sure to tell your server to
regenerate the servlet for the including JSP. Another way
to do this is to re-save the including JSP. This changes
the file modification timestamp, which is supposed to cause
the servlet to regenerate.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / dhagej
in case of dynamic include, contents of the included jsp
page will be reflected
besides uploading the file again to server another way is to
change the time stamp of the jsp file on the server, so that
the server will recompile the JSP when it is invoked
e.g touch filename.jsp
| Is This Answer Correct ? | 1 Yes | 1 No |
What is java servlet session?
How do you define a servlet?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What do you mean by cgi and what are its drawbacks?
Can we override the ActionServlet?
3 Answers ArisGlobal, HCL, PPF,
Why is a constructor needed in a servlet even if we use the init method?
what is EJB and Java servlet
Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.
Is Servlet Class Thread safe?????? How to make servlet Thread safe ???
What exactly are the functions of servlet?
Difference between java beans & servlets?
Is it possible to have a constructor inside the servlet?