In the jrun_root/servers/jrun_server/SERVER-INF/default-web.xml file, set the 
JSPServlet's keepGenerated initialization parameter to true, as shown in the following 
example:
<servlet>
  <servlet-name>JSPServlet</servlet-name>
  <servlet-class>jrun.jsp.JSPServlet</servlet-class>
  <init-param>
    <param-name>keepGenerated</param-name>
    <param-value>true</param-value>
  </init-param>
</servlet>

Delete the JSP class files in the web application's /WEB-INF/jsp directory. 
Doing this removes the already-generated servlet class files. JRun checks for the 
existence of the class file before recompiling a JSP. If the class files were still 
available, JRun would not recompile the JSP. JRun also checks the data/time stamp of 
the JSP, so you can change the JSP source code and save the JSP file to cause JRun to 
regenerate the Java source code and recompile the class. 

Restart the JRun server. 
Request the JSP. 
Open the JSP's generated Java class file (*.java) in the web application's 
/WEB-INF/jsp directory. JRun names the source code files starting with "jrun__" and 
appends version information to the name. 

You can get more info here:

http://livedocs.macromedia.com/jrun4docs/Programmers_Guide/servletxml5.jsp#1118876

or in the JRun Programmer's Guide.

HTH,

matt

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:41 AM
To: JRun-Talk
Subject: Generated java-sourcefiles of JSP's


Hi folks,

I wan't to have a look at the generated java-sourcefiles of the JSP pages within a 
webapplication. I can only find the generated .class-files. Do I need to enable some 
setting in web.xml or jrun-web.xml to get the generated java sourcefiles also?

Thanks,
Wilko

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to