Hi does anyone know how to specify the classpath to xalan.jar and xerces.jar in the tomcat server so that my servlet would be able to run from any browser? I'm able to compile my java file after export the classpath to include xalan.jar and xerces.jar but this is only for my local shell. If i'm not wrong, we have to specify it in tomcat so tat i would be able to see the servlet from the browser. Am i right? Pls help. Thank you.
This sounds a little mixed up. If you want a browser to run an applet that uses xalan.jar etc. thats one thing - entirely separate from having a servlet that uses xalan.jar etc. If you look at the startup batch file for Tomcat you can see that it sets up classpath environment variables. You can modify that batch file. Bill
Edited: OOPS, Looks like I am competing with you Bill. Sorry!
While there are more than one ways to do it, I would just copy the two jar files into the lib folder of tomcat. That way when you start tomcat, it will automatically put them into the class path. Also, the reason I suggest this is that this is the suggested method when you are installing Cocoon. The alternate way would be to edit the scripts, which I dare not. regds. - satya
[This message has been edited by Madhav Lakkapragada (edited June 22, 2001).]
Take a Minute, Donate an Hour, Change a Life
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
how do I do my own kindle-like thing - without amazon