Satyan
>> How do we do the same in Weblogic?
You edit the weblogic.properties file in your servers home directory,
specifying
weblogic.httpd.register.<virtual name>=<fully qualified class>
weblogic.httpd.initArgs.<virtual name>=<arg1>=<value1>, \
<arg2>=<value2> ..
then to retrieve the initialisation parameters from within the servlet:
String val = getServletConfig().getInitParameter("<arg1>");
Simon
-----Original Message-----
From: Prakash Satyan [mailto:[EMAIL PROTECTED]]
Sent: 11 July 2000 12:25
To: [EMAIL PROTECTED]
Subject: Fetching Initialization parameters for a servlet in Jrun
Dear All,
I know that initialization parameters have figured a lot of times in
discussions. But I am unable to fetch init parameters for a servlet in
JRun. I tried using the servlets.properties in the
\JRun\2.2\jsm-default\services\jse\properties directory as suggested in
archives in a few mails but what happens is that I am not able to access
that servlet by the alias defined. The servelt in question is not under any
package so I am simply writing the servlet class name and the alias name
which is different.
Can anyone throw some light on this problem? How do we do the same in
Weblogic?
Thanks in advance.
Satyan Prakash
___________________________________________________________________________
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
**********************************************************************
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for
the intended recipient only. Access, disclosure, copying,
distribution or reliance on any of it by anyone else is
prohibited and may be a criminal offence. Please delete if
obtained in error. Any views expressed in this message are
those of the individual sender, except where the sender
specifically states them to be the views of
Thomas Cook Holdings Ltd.
**********************************************************************
___________________________________________________________________________
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