• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Plesk and Tomcat (JSP)Problems

A

asiawebplus

Guest
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.
 
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.
 
Back
Top