Hi everyone,
following is my jsp snippet .
<html>
<head>
<title>Home Page</title>
</head>
<body>
<% String applPath =
application.getInitParameter("WEBAPP");%>
<%@ include file = "<%=appPath%>/body.inc"%>
<%@ include file = "<%=appPath%>/banner.inc"%>
<% String userName = (String)
session.getAttribute("userName"); %>
<% if (null == userName) {%>
<%@ include file =
"<%=appPath%>/navbar_no_logout.inc"%>
<%} else {%>
<%@ include file =
"<%=appPath%>/navbar_with_logout.inc"%>
<%}%>
<#### rest of the code ########>
</body>
</html>
the problem: when i invoke the jsp i get the following
error
org.apache.jasper.compiler.CompileException:
/index.jsp(23,9) File "<%=appPath%>/body.inc" not
found
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:789)
any help would be much appreciated.
Thanks
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html