----- Original Message -----
Sent: Monday, April 29, 2002 5:39
PM
Subject: Re: accessign a servlet on
weblogic
Hi
In applications\DefaultWebApp\WEB-INFof your weblogic
installation you will find an xml file called
web.xml.
In the xml file, you have to configure your servlet as
follows:
<servlet>
<servlet-name>testServlet</servlet-name>
<servlet-class>testServlet</servlet-class>
<init-param>
<param-name>Properties</param-name>
<param-value>testProperties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>testServlet</servlet-name>
<url-pattern>/servlet/testServlet/*</url-pattern>
</servlet-mapping>
Hope
this helps you!
Thanks & Regards
Balasubramaniyan Krithivasan
Software
Engineer
Hi,
I am new for weblogic. I
just want to run a servlet in weblogic Server 6.1 SP2. I made a
war with one jsp and two servlets, and put under
"install-root/mydomain/applications" . Problem is, I can access
the jsp of this war application, but while accessing servlet it says
404. If anyone has any idea how to access a default servlet( not part of any
war application) that will also do.
Thanx in advance.
Regards
Awdhesh