• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Netscape attempts to download default documents.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranold Pree
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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�.
 
This is my favorite show. And this is my favorite tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic