Ranold Pree

Greenhorn
+ Follow
since May 01, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ranold Pree

Symptom:
When a jsp request is defaulted (e.g. "index.jsp" when uk.parallaxict.com is entered into the browser) instead of displaying the page content Netscape attempts to download it.
Reason:
Most servlet runners rely on "*.jsp" or �*.xtp� in the URL pattern to know when to run. This is not present when a document is defaulted. Therefore the servlet runner is not invoked. Since Netscape does not have a JVM installed as default it sees the index.jsp as a file to download.
Solution
Concept
In order to solve this problem the web server must be configured to invoke the servlet runner without relying on URL patterns.
IIS
1.Open the property dialog for the "Default Web Site" (or any other
Web-Site or Virtual directory).
2.Go to the "Home Directory" Tab for the Default Web Site" or the "Virtual
Directory" Tab for a virtual Directory.
3.Select "Configuration".
4.Add an application mapping from .xtp and .jsp for your iis_srun.dll (I
use also GET,POST exclusion like it is done for most other mappings but I do not
know why, just copied it) .
5.Close this sub-dialog.
6.Set the execute permission to �scripts and executables�.
21 years ago
Symptom: When a jsp is defaulted (e.g "index.jsp" when uk.parallaxict.com is entered into the browser)instead of displaying content netscape attempts to download it.
Theory: Resin relies on "*.jsp" in the url pattern to know when to run. This is not present when a document is defaulted. Therefor resin is not called and since netscape does not have a JVM installed as default it sees the index.jsp as a file to download.
Current action: I have tried mapping the '/' operator to allow it to invoke the jsp handler servelet but this is the mapping for the fileServlet and therefor without it the default document cannot be found.
Your help: Could anyone please suggest any other ways in which i can invoke the jsp handler serlet without interfering with the file handler servlet.
21 years ago