Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JVM arguments for jsp and java serlvets

Status
Not open for further replies.

springy2003

Instructor
Jan 30, 2003
67
GB
On the command line, you can easily add a JVM arguments to a java class by using:

java -Djava.library.path -DwhateverArgumentYouWant className

Now I want to run this java class via a webserver using jsp. But I don't know how to do this, or how to set up tomcat that allows this to happen. I have been googling, but cannot find anything.

I am using java 1.4.2, tomcat 5 and using eclipse as my working development kit.

Thanks
 
Most application servers use a command line file to start (.bat or .sh) There is the command java blah blah where you can add your parameters.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top