The Artima Developer Community
Sponsored Link

Java Answers Forum
cross context jsp include

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sue Black

Posts: 1
Nickname: ktz123r
Registered: Sep, 2004

cross context jsp include Posted: Sep 29, 2004 6:07 PM
Reply to this message Reply
Advertisement
I have servlet "A" forwarding to "a.jsp". In "a.jsp" I have the
following JSTL line :


<c:import url="/includes/doingheader.htm" context="/extemplates/"/>


but when this runs it produces the following exception :

javax.servlet.ServletException: Unable to get RequestDispatcher for
Context: "/extemplates/" and URL: "/includes/doingheader.htm". Verify
values and/or enable cross context access.



"extemplates" is a web project defined in MyEclipse with a folder
"includes".

How do I allow "a.jsp" to cross reference another project.

Tomcat 5.0.25
Eclipse 3.0.1

Can someone steer me in the right direction please.

Topic: Can Aspectj instrument binary (do not have source files) Previous Topic   Next Topic Topic: JPasswordField in java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use