Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classpath

 
savitririnki gupta
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed weblogic(8.1) server to learn servlet basic programming,is it necessary to set the classpath,if yes then please tell me how can i set my classpath
 
Santosh Kumar Nayak
Ranch Hand
Posts: 141
Eclipse IDE IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rinki,

You need to set the class path for the servlet-api.jar file

set classpath=%classpath%;<entire path of the jar file>\servlet-api.jar;

Hope this works
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The classpath only needs to be set for compiling front he command line. If you are using Ant or Maven, you use the tool to manage the compilation class path.

At run-time, the classpath is not relevant -- required jars are placed in the WEB-INF/lib folder.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic