Hello,
I can't seem to get JRun to preload one of my Servlets (The servlet works
fine when manually invoked). I followed what the documentation stated and I
edited "Servlet Definitions". I entered the name, Class Name and preLoad
order. I restarted the server and the servlet never loads. The servlet is a
simple class that uses "application.setAttribute()" to add a value to
ServletContext. I have a jsp page that has the following code
<% String test = (String)application.getAttribute("carrierConfig"); %>
<%= test; %>
This returns "null" because the servlet isn't being preloaded by JRun. When
I call the servlet directly by typing in the URL, it loads fine and the JSP
also returns the correct value to the screen.
Can someone please help.
Thanks,
Vic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists