You have to enter in the weblogic.properties file something like this:

weblogic.httpd.register.myServletAlias=ServletRealName

where myServletAlias is the alias name you want to use (or you can use the
real name) and  ServletRealName is the actual name.

I also set the classpath in the weblogic.properties file. For example:
weblogic.httpd.servlet.classpath=d:/weblogic/myservlets/;d:/lib/java;D:/java
Mail/jaf-1.0.1/activation.jar;D:/javaMail/javamail-1.1.2/mail.jar

I run my servlets from the d:/weblogic/myservlets directroy.

Make sure you restart your server after these changes (using 4.5.1)

Tom Kochanowicz



-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Mark
Annese
Sent: Friday, July 21, 2000 10:16 AM
To: [EMAIL PROTECTED]
Subject: Weblogic servlet error


Hey everyone, This has been a pain in my side any suggestions?

I create a test class and place it in the servlet directory. I try to run it
and I get the following error in the Weblogic DOS window:

javax.servlet.ServletException: Servlet class: myTest.HelloWorld could not
be resolved - a class upon which this class depends wasn't found

Any ideas on what I am doing wrong? I have the Classpath set correctly (I
think) and it seems to be recognizing that the servlet is there, just not
doing anything with it.

Thanks!!

Mark

___________________________________________________________________________
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

___________________________________________________________________________
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