Advertisement

05.22.2008 at 03:00PM PDT, ID: 23426042
[x]
Attachment Details

Difference between paths for JSP includes and for regular links

Asked by ftaco96 in BEA WebLogic Application Server, Java Server Pages (JSP), Eclipse

Tags: , , ,

My group is trying to figure out how to create Web Applications within WebLogic. My problem is that even though my included jsp file has a path of (as an example):
.../webappname/jsp/libraries/library_name.jsp,
I have to use this for WebLogic to be able to find it:
<%@ include file="/jsp/libraries/library_name.jsp" %>

webappname is the name of the web app and the so-called context-root.

All the JSPs are linking to /webappname/jsp/whatever in their links and they work just fine, but the rules seem to be different for includes or I'm setting something incorrectly in WebLogic.

We also use Eclipse, and if we use <%@ include file="/jsp/libraries/library_name.jsp" %> it can't resolve the imports within library_name.jsp, but if we use <%@ include file="/webappname/jsp/libraries/library_name.jsp" %>, it's able to find them.

Any ides on what my problem could be?
Start Free Trial
[+][-]05.22.2008 at 03:44PM PDT, ID: 21628245

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:05PM PDT, ID: 21628775

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: BEA WebLogic Application Server, Java Server Pages (JSP), Eclipse
Tags: BEA, WebLogic Server, 8.1, JSP
Sign Up Now!
Solution Provided By: rrz@871311
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.23.2008 at 08:10AM PDT, ID: 21632808

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:45AM PDT, ID: 21633175

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.

 
[+][-]06.02.2008 at 07:47AM PDT, ID: 21692444

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.

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