1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Can I run jsp with Tomcat in the httpdocs?

Discussion in 'Plesk for Linux - 8.x and Older' started by cyberadmin, Jun 27, 2005.

  1. cyberadmin

    cyberadmin Guest

    know that there are similars questions.. but.

    In PLESK FAQ say:

    Does Plesk 7 with the tomcat option allow a web designer to upload *.jsp files to their httpdocs directory via ftp and have them executed as jsp files with tomcat?

    And they respond:

    Plesk uses mod_webapp Tomcat connector which can be found in opt/java/ distribution subdirectory [...] mod_webapp allows Apache to redirect all requests for JSP pages to Tomcat, so anything like http://www.mysite.com/index.jsp would be automatically passed through the connector. [...]

    But after ...

    Tomcat uses different document root than Apache, so it's wrong to simply post JSP pages to domain's httpdocs directory. Tomcat web applications should be uploaded in a web application archive (WAR) format which is a JAR similar to the package used for Java class libraries. Uploading should be performed with Control Panel -> Domains -> thedomain.com -> Tomcat.

    http://www.mysite.com/index.jsp is not true!! or Can I run jsp in the httpdocs.. What I need to do?! NOW I am running jsp in http://www.mysite.com/MYWEBAPP/index.jsp .. but I would like to know if this is possible (http://www.mysite.com/index.jsp) using plesk and apache! Or I should stop to use plesk for my J2EE customers and install a server with only tomcat or with a tomcat + apache connector?
  2. kosepusen

    kosepusen Guest