• Post Reply Bookmark Topic Watch Topic
  • New Topic

locating classpath in jsp...  RSS feed

 
bala chidambaram
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai

I am new to jsp. Help me in locating classpath for a bean.
class file = c:\jdk1.3\bin\a.class
jsp file = c:\javawebserver2.0\bin\b.class
Thank u.
 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JSP there is no need to set classpath explicitly. You should keep all the third party jar files in WEB-INF\lib folder, and the web-container will automatically put it in classpath.
Also you should put your own beans / .class files in WEB-INF/classes folder.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!