File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Servlets with Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Servlets with Weblogic" Watch "Servlets with Weblogic" New topic
Author

Servlets with Weblogic

rajesh,kumar jhaver
Greenhorn

Joined: Jan 12, 2001
Posts: 2
I am able to invoke my servlets through weblogic by giving url like http://localhost:7001/MyServlet.
but if the servlet is using a ordinary class file where should I put that class file in weblogic folder how to set classpath.
if any my servlet refering to the class it is giving error like
java.lang.NoClassDefFoundError..
please help me regarding this.
thanks and regards,
Rajesh Kumar Jhaver

Rishi Kant
Greenhorn

Joined: Apr 18, 2000
Posts: 18
You should put those class files in weblogic/classes.If ur class file is in a package com.xxx.yyy then the file should be in weblogic/classes/com/xxx/yyy otherwise it should be in weblogic/classes.
Matt Midcap
Sheriff

Joined: Jan 07, 1999
Posts: 440
Hi rajesh,kumar jhaver -
I think you would get better responces from our WebLogic Servers Forum so I'm going to move it there.
Best Regards,
Matt


Best Regards,<br />Matt Midcap
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets with Weblogic
 
Similar Threads
How to run jsp and servlet with weblogic5.1?
servlet URL
HelloWorldServlet in Weblogic 6.0
Servlets with Weblogic
can any one tell me how to run servlets in weblogic server?