In the jswdk, the

jswdk-1.0/webpages/WEB-INF/servlets.properties

file allows you to set up some initial parameters for the servlets so that you
can get this information with a:

getServletConfig().getInitParameter(String name)

call.

With Jrun, I assumed that you could do this in the Init Arguements field in the
jse(Service Config)->Aliases tab.

However, when I tried this with the default jsp entry:

Name: jsp
Class Name: com.livesoftware.jrun.plugins.jsp.JSP
Init Arguements: x=1,y=test
Preload: true

it didn't work.

I also tried adding an alias,

Name: jspEngine
Class Name: com.livesoftware.jsp.JSPServlet
Init Arguements: x=1,y=test
Preload: true

and then int the "Mappings" tab, changed Servlet Invoked for *.jsp to jspEngine.
that didn't work too.

Can somebody explain to me how to make these initial arguments available to my
servlets & JSP's?

Thanks.

-------------------------
Richard M. Yumul
mailto:[EMAIL PROTECTED]
DTAI Incorporated
http://www.dtai.com
(619)542-1700 � fax:(619)542-8675

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to