i got it.

You do need to make sure that you *always* go through the controller, and
don't go directly to JSP pages


as far as i understood "go through the controller" means accessing page via <action path="/test" forward="/test.jsp"> that is .../test.do, not .../test.jsp



thanx.


Eugen Bushuev wrote:

 <servlet-mapping>
   <servlet-name>action</servlet-name>
   <url-pattern>*.do</url-pattern>
 </servlet-mapping>

this? here. And, http://localhost:8080/wire/test/testaction.do works. As i discovered recently...

thanx.

[EMAIL PROTECTED] wrote:

I think the <servlet-mapping> tag.

Thanks
-raj



"Eugen Bushuev" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: 16/07/2003 04:56 Subject: modules. PM Please respond to "Struts Users Mailing List"




Hi. My modules do not wont to work. I have: web.xml: ... <servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> ... <init-param> <param-name>config/test</param-name> <param-value>/WEB-INF/struts-test-config.xml</param-value> </init-param> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> ..... struts-config.xml - empty,

struts-test-config:
   <action path="/testaction"
           type="test.web.TestAction">
   </action>
 </action-mappings>

than, in /test/test.jsp
   <html:form action="/testaction" focus="name">

gives

Cannot retrieve mapping for action /testaction


what i'm missing here? senx.

--
С уважением, Е.Бушуев.


--------------------------------------------------------------------- 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]



Reply via email to