OK, so you have: <form-bean name="cultureForm" type="com.pfizer.caa.culture.CultureForm" />
<action name="cultureForm" type="com.pfizer.caa.culture.CultureAction" input="/test/culture.jsp" scope="session" validate="false" path="/test" /> What does your jsp look like? Just send a snippet with the form tag and some representative field(s). While you are at it, send a sample demonstrating how you are trying to extract user-entered data from the form. Sri -----Original Message----- From: Vankineni, Naga X [mailto:naga_x_vankineni@;groton.pfizer.com] Sent: Tuesday, October 29, 2002 9:50 AM To: Struts Users Mailing List Subject: RE: form and action in struts-config Sri The third suggestion too did not work .. Any more suggestions.. Naga Phone: 860-686-1643 -----Original Message----- From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com] Sent: Tuesday, October 29, 2002 9:27 AM To: Struts Users Mailing List Subject: RE: form and action in struts-config Oops! Major brain fart. Change the suggestions: Ignore the first suggestion. The third suggestion should read: * Make sure that the 'action' attribute value of the <html:form> is 'test.do' (assuming you are using the usual Struts convention) -----Original Message----- From: Sri Sankaran Sent: Tuesday, October 29, 2002 9:22 AM To: Struts Users Mailing List Subject: RE: form and action in struts-config A few suggestions: * Try setting the 'name' attribute in the <action> mapping to '/cultureForm' * Make sure you using a <html:form> in your culture.jsp file. * Make sure that the 'action' attribute value of the <html:form> is 'cultureForm.do' (assuming you are using the usual Struts convention) Sri -----Original Message----- From: Vankineni, Naga X [mailto:naga_x_vankineni@;groton.pfizer.com] Sent: Tuesday, October 29, 2002 9:08 AM To: Struts Users Mailing List Subject: RE: form and action in struts-config I checked the struts-config.xml and here is the piece of code.. <form-bean name="cultureForm" type="com.pfizer.caa.culture.CultureForm" /> <action name="cultureForm" type="com.pfizer.caa.culture.CultureAction" input="/test/culture.jsp" scope="session" validate="false" path="/test" /> The issue I am facing is I don't see the values in my ACTION class after I submit my jsp page and go to action class and retreive them by saying cultureform.get(xxx) and all I see in the formbean values are nulls... I know I am missing something very silly but can't figure it out... Any idea ... Naga Phone: 860-686-1643 -----Original Message----- From: Marcus Biel [mailto:Marcus.Biel@;bmw.de] Sent: Tuesday, October 29, 2002 2:33 AM To: [EMAIL PROTECTED] Subject: Re: form and action in struts-config Would need to see some of your code... The only idea I got without seeing your code: check your struts-config.xml <form-bean name="yourFormMappingName" type="YourFormClass"/> <action path="/doAction" type="YourActionClassName" name="yourFormMappingName" scope="session" validate="true" input="/yourJSP.jsp"> <forward name="yourLocalForwardName" path="/yourSecondJSP.jsp" /> </action> Or even better: Download James Holmes "Struts Console" to edit your struts-config. (search google) hope this helps, marcus [EMAIL PROTECTED] schrieb: > > Can anyone explain me why I get this problem... > I have my action and form defined in the struts-config.xml.. Now in my > jsp page when I enter a value in the text-box and try to see the value > in my action using debugger, I don't see that value in my form and all > i see is the reset value defined in the form bean. > Somehow anyvalues I enter in my jsp pages aren't getting moved to the > form and they my form just has the reset values defined initally. Can > someone explain this to me.. > > Naga > 860-686-1643 -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. -- 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> -- 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>