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 the main purpose of java servlets?
what is meant by Transaction Isolation Levels?
Why is http protocol called as a stateless protocol?
What are some disadvantages of storing session state in cookies?
What do you mean by web applications? Explain web application directory arrangement?
What is servlet context ?
What are the difference between session and cookies in servlet? Explain
How will you pass values from HTML page to the servlet?
Explain the difference between servletconfig and servletcontext in servlet?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
How do you create a cookie using servlet?
Write a servlet to upload file on server.