Advertisement

05.22.2008 at 11:49AM PDT, ID: 23425514
[x]
Attachment Details

../ could not work with Tomcat in Linux

Asked by dovob in Apache Web Server, Java Server Pages (JSP), Apache Tomcat Application Server

Tags: JSP, Linux Server, org.apache.jasper.JasperException: /abc/index.jsp(1,1) File "/abc/../../files/test.jsp" not found

I have Tomcat 5 installed on a Linux server.

I have a jsp file in a folder call abc. Inside the folder abc, I have a jsp file (jsptest.jsp) that includes another jsp file which is one level up.

I am very sure I have all the files in the correct location. However, I still get a file not found error. Is there any setting I need to add so that ../ works correctly?Start Free Trial
1:
<%@ include file="../jsptest.jsp" %>
[+][-]05.22.2008 at 11:58AM PDT, ID: 21626589

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.22.2008 at 11:59AM PDT, ID: 21626596

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 06:27PM PDT, ID: 21628839

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 07:14PM PDT, ID: 21628979

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 10:57PM PDT, ID: 21629650

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 11:49PM PDT, ID: 21629880

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 06:58AM PDT, ID: 21632161

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 07:27AM PDT, ID: 21632413

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 08:11AM PDT, ID: 21632812

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Apache Web Server, Java Server Pages (JSP), Apache Tomcat Application Server
Tags: JSP, Linux Server, org.apache.jasper.JasperException: /abc/index.jsp(1,1) File "/abc/../../files/test.jsp" not found
Sign Up Now!
Solution Provided By: kollidinesh
Participating Experts: 3
Solution Grade: B
 
 
[+][-]05.23.2008 at 01:43PM PDT, ID: 21635675

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 03:39PM PDT, ID: 21636271

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 05:08PM PDT, ID: 21636887

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 08:28PM PDT, ID: 21637728

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 08:43PM PDT, ID: 21637760

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628