wood burning stoves 2.0*
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
Author

Linux class path for JSP and Servlets!!!

Arundhathi Menon
Ranch Hand

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


SCJP , SCWCD , SCBCD , SCDJWS
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
Consultant @ Xebia. Sonny Gill Tweets
Natarajan Shankar
Ranch Hand

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


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!!!
 
Similar Threads
unable to compile servlet
Doubt in Simple Tag
How to change the CLASSPATH in Linux?
Eclipse + Tomcat + JSP's on the Mac
package javax.ejb does not exist with sun app server 8.0