This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
To host a JSP on a Unix Server, you'll need a servlet container installed and running on the Unix system. You can use Tomcat for this and then deploy your web application on tomcat using the tomcat manager or directly...
I use jetty for my container in linux. It's pretty simple and can be picked up here.
Just download and extract and put the app you want loaded into the webapp directory and then go into the bin directory and run 'jetty.sh start etc/jetty.xml'.
You may have to add the path of your 'installation' into the jetty.sh file. For instance mine is in /usr/local/jetty/jetty-6.1.7, so I added the line /usr/local/jetty/ to the STANDARD_LOCATIONS part, and jetty-6.1.7 to the JETTY_DIR_NAMES part.
I haven't really played around with apache too much so I can't say much about it, but jetty is pretty strait forward.
Joined: Mar 16, 2009
thanks guys, but i dont want to install tomcat as my unix box is a production server and we may have to raise separate requests for installation of tomcat on the 30+ servers.
We have jdk 1.5 installed and use weblogic and iplanet sun one web server. Can i run the jsp in this?
Also, this jsp should also be able to pick up a flat file from one of the locations and print its details on another jsp..I am currently trying to connect to a unix server and gather some data from other unix servers and post it onto this one. now i want to host the jsp here and display all the details of all the servers on this one.