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
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk and Tomcat (JSP)Problems

Discussion in 'Plesk for Linux - 8.x and Older' started by asiawebplus, Nov 30, 2005.

  1. asiawebplus

    asiawebplus Guest

    0
     
    My tomcat is enabled in Plesk control panel. When I would like to test jsp file that stay in httpdocs , like this:

    http://www.hotelsguru.com/test.jsp
    It show like this :

    Hello! The time is now <%= new java.util.Date() %>

    There is no execute the JAVA. That is simple thing just date command in JAVA.

    I have tried by using the JSP by installing the WAR File in Tomcat Configuration page in Plesk. It works but it is separate the file not in httpdocs , we cannot use ssl for those jsp (war file) due to normally the ssl work under httpsdocs only.

    Another thing is the port of JSP , it must be specific :9080 only when you can use it. I don't know it will effect to search engine to index this page or not.

    The last thing , if we can use JSP only when we install the WAR file . How can we set up the homepage to use JSP. I would like to use the website as JSP driven pages. not application page.
     
  2. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    I'm researching similar problems when I stumbled across your post.

    1. In answer to this question you should follow these instructions:

    http://kb.swsoft.com/article_57_902_en.html

    2. It sounds to me like you be using a a rewrite rule, something like this:

    RewriteRule ^(.*) http://www.domainname.com:9080/finmart/$1 [proxy,last]

    but I'm not sure the exact syntax. There are also some reports that this is not neccesary.

    Lastly you might have to update the default document (called DirectoryIndex) in vhost.conf but I'm not sure if this will work for JSP pages.
     
Loading...