struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiuma <ki...@usa.net>
Subject Re: [STRUTS] help with relative path!
Date Fri, 13 Sep 2002 07:15:16 GMT
THANKS A LOT !!!!!!!!!!!!!!!!!!!


Miguel Angel Mulero Martinez wrote:

>You must define the action in the struts-config.xml, in this definition you
>put the ActionForm that is needed with this Action. Is all ok in this file?
>
>-----Mensaje original-----
>De: kiuma [mailto:kiuma@usa.net]
>Enviado el: viernes, 13 de septiembre de 2002 8:52
>Para: Struts Users Mailing List
>Asunto: [STRUTS] help with relative path!
>
>First I'd like to thanks all people who helped me for previos posts and
>links.
>
>I'm currently trying to implement a jboss application with struts.
>The problem I had before was relative to path.
>Infact when I called /userlist I should call /web-client/userlist
>
>Now if I use the standard tag form all works well
>
><FORM action='/my-application/listedUser.do' method=POST>
>
>but if I try to use <html:form> tag or if I directly try to access for
>the first time:
>
>http://localhost:8080/web-client/listedUser.do
>                          or
><html:form action="/listedUser">
>
>I have this message from server
>
>Cannot retrieve definition for form bean null
>     at
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
>l.java:471)
>     at org.apache.jsp.userlist$jsp._jspService(userlist$jsp.java:410)
>
>
>
>if I use <FORM action='/my-application/listedUser.do' method=POST>
>
>no errors given when submit and I can also access
>http://localhost:8080/web-client/listedUser.do directly.
>
>What's the problem?
>
>Thanks,
>kiuma
>
>
>--
>To unsubscribe, e-mail:
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>
>.
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message