Did you make sure your jsp is located withing the module1 subdirectory of your jsp directory? They must be located here in order for your module to be able to reference them correctly.
On Tue, 2003-09-30 at 12:24, Ruben Carvalho wrote: > Hello everybody, > > I have a stupid error which I think is because of IBM but I can't prove it. > > I'm trying to use modules with IBM, I've configured web.xml like: > > <init-param> > <param-name>config</param-name> > <param-value>/WEB-INF/conf/struts-default.xml</param-value> > </init-param> > <init-param> > <param-name>config/module1</param-name> > <param-value>/WEB-INF/conf/struts-module1.xml</param-value> > </init-param> > > Imagine that I want to use an action inside a JSP. I create a new action-mapping > like this: > > <action path="/myAction" > type="mypackage.MyAction" > attribute="myForm" > scope="session"> > <forward name="success" path="/myJSP.jsp"/> > </action> > > In my JSP I put <html:form action="/myAction"> > > Now, Websphere gives me a warning like this: > Target /myJSP.jsp cannot be resolved in the context of the following modules: > /module1 > > I've added > > <controller> > <!-- The "input" parameter on "action" elements is the name of a > local or global "forward" rather than a module-relative path --> > <set-property property="inputForward" value="true"/> > </controller> > > to struts-config but even without it it doesn't work > > Can somebody help me? Am I doing anything wrong? Or is it possible that Websphere > doesn't recognize this? > > Many thanks > > Rúben Carvalho --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

