How can I force a reload of a JavaBean that is being used in a JSP
page? The problem is I am developing a JSP-based Web application and
I need to constantly modify my Java classes and JavaBeans. All the
changes I make are invisible to the server unless I restart the server.
Making changes to Java support classes visible to a JSP page that
uses them is dependent on the JSP/Servlet engine you are using. At
the moment, the JDSK and the Apache Tomcat JSP/Servlet engine require
a server restart in order for a JSP page to use the newly compiled
version of a Java class.
However, changes to a JSP page are reflected
after a simple page reload from a browser. This situation is expected
to change in future versions of Tomcat. Commercial JSP servers
probably have specific ways of dealing with this problem, but I am not
acquainted with them.