Link to home
Start Free TrialLog in
Avatar of harlanhugh
harlanhugh

asked on

Apache returns uncomplied JSP when error happens

I have a call to a JSP that looks something like this: http://www.somecompany.com/main/jsp/reports/selectDBStuff.jsp

However if the user were to do take the following line and add '%20 to the end, making it look like this: I have a call to a JSP that looks something like this: http://www.somecompany.com/main/jsp/reports/selectDBStuff.jsp%20

 it would then return and show the uncompiled JSP. I need to know how to stop this.

I have tried this on both Apache and Tomcat and also going directly to Tomcat... It appears to only happen when using both apache and Tomcat, so I am assuming this is an Apache issue? Again any help on how to stop this would be appreciated.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of anilallewar
anilallewar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of harlanhugh
harlanhugh

ASKER

Is there a rule in Apache where I could tell it not to send the uncompiled JSP?
No, it will send the file it it finds it at the location specified.