include directive context

B

bahamuto

I have one jsp in an application that includes a jsp from another
application. I tried using the include directive like this:

<%@ include file="/app/mypage.jsp" %>

I am getting a server error when I run the jsp with this error:

can't find /app/mypage.jsp (File not found)

I think it is because of the context it is in because I can go to that
page manually by typing it in. Is there a way I can change the context
for my include directive, or should I be looking at something else to
fix this problem? Thanks for any help in advance.

-- Nathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top