I forgot to map my success. That's why it only send information on my repost.
Thanks Musachy Barroso wrote: > > do you have getters/setters(I am guessing the setters are missing) in > your action for all the form fields? > > musachy > > On Feb 6, 2008 10:29 AM, Nushi <[EMAIL PROTECTED]> wrote: >> >> I only seem to get my values of my form when i repost. >> >> CODE >> >> <%@ taglib prefix="s" uri="/struts-tags" %> >> <html> >> <head> >> <title>File Upload Example</title> >> <link href="<s:url value="/css/main.css"/>" rel="stylesheet" >> type="text/css"/> >> >> </head> >> >> <body> >> >> <s:actionerror /> >> <s:fielderror /> >> <s:form action="doUpload" method="POST" enctype="multipart/form-data"> >> <tr> >> <td colspan="2"><h1>File Upload Example</h1></td> >> </tr> >> >> <s:textfield name="title" label="Title" id="title"/> >> <s:submit /> >> </s:form> >> </body> >> </html> >> >> >> <s:property value="title" /></td> >> >> >> <package name="example" extends="struts-default"> >> >> >> >> >> <action name="showUpload" method="input"> >> <result>pages/upload.jsp</result> >> >> </action> >> >> <action name="doUpload" >> class="Upload" > >> <result name="input">showUpload</result> >> <result>pages/upload-success.jsp</result> >> </action> >> </package> >> >> >> I get nothing, until I refresh my page, and then it fills my values. >> >> Thx in advance! >> >> Nushi >> -- >> View this message in context: >> http://www.nabble.com/STRUTS-2%3A-fail-to-retrieve-values-without-repost-tp15306729p15306729.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/STRUTS-2%3A-fail-to-retrieve-values-without-repost-tp15306729p15328266.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]