• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets with Weblogic

 
rajesh,kumar jhaver
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic