in properties file u need to give an alise name of the servlet.
then call it by this alise name

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED] Behalf Of
SUBSCRIBE SERVLET-INTEREST Anonymous
Sent: Tuesday, September 14, 2004 11:04 AM
To: [EMAIL PROTECTED]
Subject: Running Servlet on WebLogic 5


Guys ;
I am learning the basics of servlets on weblogic 5.
I wrote a sample code and compiled, everything went alright and shipped the
class file to C:/weblogic/myserver/servletclasses/examples/servlets.
2. From notepad, i made the following modifications to the properties file
at C:/weblogic/weblogic.properties
and at the entries titled as  USER-WRITTEN AND DEMO SERVLET REGISTRATIONS
I made the following entry:
 weblogic.httpd.register.jhn=examples.servlets.firstServlet.

When I run the examples supplied with the server , the execution is
successful , when i run mine i have the server error .

I will appreciate if anyone can advise me on what to do.

Thanks;

___________________________________________________________________________
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

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at [EMAIL PROTECTED] and delete this mail.
_____________________________________________________________________

___________________________________________________________________________
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