Re: Websphere and Struts modules
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-nameconfig/param-name param-value/WEB-INF/conf/struts-default.xml/param-value /init-param init-param param-nameconfig/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: actionpath=/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]
RE: Websphere and Struts modules
My application is working fine. The problem is I can't look at those errors :) Are there any other opinions? Rben Carvalho -Mensagem original- De: Susan Bradeen [mailto:[EMAIL PROTECTED] Enviada: ter 30-09-2003 19:17 Para: Struts Users Mailing List Cc: Assunto: Re: Websphere and Struts modules 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-nameconfig/param-name param-value/WEB-INF/conf/struts-default.xml/param-value /init-param init-param param-nameconfig/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: actionpath=/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 Rben Carvalho - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Websphere and Struts modules
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-nameconfig/param-name param-value/WEB-INF/conf/struts-default.xml/param-value /init-param init-param param-nameconfig/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: actionpath=/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 Rben Carvalho - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]