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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No, it will send the file it it finds it at the location specified.
ASKER