Brad Balmer wrote:
> We are using WebSphere (4.0.3/5.0) and I am trying to place my jsp's in
> the /WEB-INF/jsp directory. I am able to access these jsp's using the
> simple HTML href tag, but cannot using struts and trying to reach it
> through a global forward.
>
> My global forward looks like this:
>
> <forward name="home" path="/WEB-INF/jsp/mainMenu.jsp" redirect="false"
> contextRelative="true" />
>
> And I am calling it from an Action class like:
>
> return mapping.findForward("home");
>
> I get the following error:
>
> [2/7/03 11:32:04:583 CST] 5b6e2be3 WebGroup X Servlet Error:
> I:\Precept\Peadoc\webApplication\WEB-INF\jsp\mainMenu.jsp(12,45)
> JSPG0050E: Bad file argument to include:
> org.apache.jasper.JasperException: JSPG0050E: Bad file argument to
> include
Quite strange. We're using WAS 4.0.3 on Windows and AIX and WSAD 4.0.3 with
it's WAS Test Environment, Struts 1.1b2 and 1.1b3, and it works just fine.
<global-forwards>
<forward name="error" path="/WEB-INF/jsp/common/error.jsp"/>
<forward name="home" path="/do/logon"/>
<forward name="logoff" path="/do/logoff"/>
</global-forwards>
and of course, mapping.findForward("home");
Try without redirect="false" and contextRelative="true".
However, maybe your mainMenu.jsp is broken. Try creating a plain simple jsp
page with <%=new Date()%> only.
--
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]