Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Linux class path for JSP and Servlets!!!

 
Arundhathi Menon
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have a problem with updating my classpath in linux...
I tried including boith the servlet-api.jar and the jsp-api.jar to the classpath...when i do that i cannot compile my servlet class...if i include just the servlet api i manage to compile the class , invoking a servlet from a n html works fien then...but bot when i wasnt to use my jsp...
How do i manage to work with both the servelt and the jsp???
regards
Menon
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arundhati,

Somebody might be able to help you if you can post more specific details of your problems, where are the jarfiles places, what is your classpath, and the most important, what is the error message you get when you try to compile your classes.
 
Natarajan Shankar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I hope the order of including jar files also matters some-time. In-case if you have given jsp-api.jar first and servlet-api.jar second try giving servlet first and jsp second since some of the servlet dependent files might over-written or taken from wrong place. Hope this might solve or give a hint to your problem.

Shankar
SCJP,SCWCD
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic