Web Hosting Talk







View Full Version : JSP ENABLEs


mithilesh
08-10-2001, 10:29 PM
I am running a webhost company and I want to give my client JSP facility on their sites ,for this I installed JSP on my server and also set path but my client complained me that they are not capable to run JSP on their sites ,Can you give me idea whats problem and how can I solve it.:(

Palm
08-11-2001, 12:23 AM
If you have cpanel you can get the JSP plugin at cpanel.net

If not you can download Tomcat at apache.org

jolly
08-16-2001, 06:18 AM
If we have 100 domains in one server then how can we allow each domain to run servlet and JSP from there own website.
By default Tomcat runs on server IP. How can we do the virtual hosting using Tomcat so that each domain get the tomcat access.

Palm
08-16-2001, 08:02 AM
Edit the server.xml file and type this in:

</Host>
<Host name="domainame.com">
<Context path="" docBase="/path/to/usr/root/dir/" debug="1"/>
</Host>

And then restart tomcat.

jolly
08-16-2001, 08:36 AM
I have one doubt here
Like we upload the html files in
/home/httpd/html/
but here the path which you have mentioned where we will upload the servlet of jsp files. Could you please tell me what will be the exact path for the servlet files.
And in linux where we should copy and paste the startup.sh file so that whenever server is reboot Tomcat starts with the server
is it
/etc/rc.d/init.d

</Host>
<Host name="domainame.com">
<Context path="" docBase="/path/to/usr/root/dir/" debug="1"/>
</Host>