Is your application really not working? I get these same errors for my 
default "module" (I'm not using different modules), but my application is 
correct and works fine. It seems that WebSphere tries to get overly 
helpful with its syntax validation at times.

Susan Bradeen

On 09/30/2003 01:24:17 PM "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]

Reply via email to