jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Linux class path for JSP and Servlets!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Linux class path for JSP and Servlets!!!" Watch "Linux class path for JSP and Servlets!!!" New topic

Linux class path for JSP and Servlets!!!

Arundhathi Menon
Ranch Hand

Joined: Jan 14, 2004
Posts: 113
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???

Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

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.

The future is here. It's just not evenly distributed yet. - William Gibson
Sonny Gill LinkedIn
Natarajan Shankar
Ranch Hand

Joined: Jun 10, 2004
Posts: 53
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.


Best Regards<br />N.Shankar<br />SCJP, SCWCD
I agree. Here's the link: http://aspose.com/file-tools
subject: Linux class path for JSP and Servlets!!!
It's not a secret anymore!