RE: Parameters in JSP
Hello Christoph, Thank you very mcuh for your timely support everytime i ask you.I did a small mistake..now its working..!. Thank you, Bye Maruthi. Floßmann_Christoph <[EMAIL PROTECTED]> wrote: Look for one missing entry: String jspeid = (String) request.getAttribute("js_peid"); %> " method=post> [input] " name=js_peid> [input] [input] [input] -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 2:07 PM To: Jetspeed Users List Subject: ***SPAM*** RE: Parameters in JSP Hello Christoph, I am getting this info after inserting the code you sent: INFO: Server startup in 13610 ms PARAMETERS [js_peid]: P-fd6b1d1053-1 PARAMETERS [eventsubmit_doupdate]: submit PARAMETERS [template]: /html/Home.vm User id is:null Hello I am here ! Number of Rows inserted:1 My template name is :: RegistrationJSPTemplate.jsp what might be the problem?. Please reply. Thank you, Maruthi. Floßmann_Christoph wrote: Hi Maruthi, try this snippet in your action and you'll see what data you've got. for(Enumeration enum = rundata.getParameters().keys(); enum.hasMoreElements(); ) { String key = (String)enum.nextElement(); System.out.println("PARAMETERS [" + key + "]: " + rundata.getParameters().getString(key) ); } -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 12:00 PM To: Jetspeed Users List Subject: ***SPAM*** Parameters in JSP Hello Christoph, Thanks for your mail.I am using just as you mentioned ...like this.. String street= rundata.getParameters().getString("streetnhno"); String city= rundata.getParameters().getString("city"); String zip= rundata.getParameters().getString("zip"); String country= rundata.getParameters().getString("country"); but i am not getting data into my action class.Should i define these parameters in the .xreg file...or what else is causing the problem?. Please reply, Thank you, Maruthi. Floßmann_Christoph wrote: Did you use rundata.getParameters().getString("NameOfInputField"); to get the data? The quotation marks are important! -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:49 AM To: [EMAIL PROTECTED] Subject: ***SPAM*** Parameters in JSP Hello Everybody, In my JSP... i have a form...after filling and submitting the form i am not getting the filled in data into my action class.I am getting null.Can anybody tell me whats wrong ?. Thanks Maruthi. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!
RE: ***SPAM*** RE: Parameters in JSP
Look for one missing entry: <% String jspeid = (String) request.getAttribute("js_peid"); %> -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 2:07 PM To: Jetspeed Users List Subject: ***SPAM*** RE: Parameters in JSP Hello Christoph, I am getting this info after inserting the code you sent: INFO: Server startup in 13610 ms PARAMETERS [js_peid]: P-fd6b1d1053-1 PARAMETERS [eventsubmit_doupdate]: submit PARAMETERS [template]: /html/Home.vm User id is:null Hello I am here ! Number of Rows inserted:1 My template name is :: RegistrationJSPTemplate.jsp what might be the problem?. Please reply. Thank you, Maruthi. Floßmann_Christoph <[EMAIL PROTECTED]> wrote: Hi Maruthi, try this snippet in your action and you'll see what data you've got. for(Enumeration enum = rundata.getParameters().keys(); enum.hasMoreElements(); ) { String key = (String)enum.nextElement(); System.out.println("PARAMETERS [" + key + "]: " + rundata.getParameters().getString(key) ); } -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 12:00 PM To: Jetspeed Users List Subject: ***SPAM*** Parameters in JSP Hello Christoph, Thanks for your mail.I am using just as you mentioned ...like this.. String street= rundata.getParameters().getString("streetnhno"); String city= rundata.getParameters().getString("city"); String zip= rundata.getParameters().getString("zip"); String country= rundata.getParameters().getString("country"); but i am not getting data into my action class.Should i define these parameters in the .xreg file...or what else is causing the problem?. Please reply, Thank you, Maruthi. Floßmann_Christoph wrote: Did you use rundata.getParameters().getString("NameOfInputField"); to get the data? The quotation marks are important! -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:49 AM To: [EMAIL PROTECTED] Subject: ***SPAM*** Parameters in JSP Hello Everybody, In my JSP... i have a form...after filling and submitting the form i am not getting the filled in data into my action class.I am getting null.Can anybody tell me whats wrong ?. Thanks Maruthi. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Parameters in JSP
Hello Christoph, I am getting this info after inserting the code you sent: INFO: Server startup in 13610 ms PARAMETERS [js_peid]: P-fd6b1d1053-1 PARAMETERS [eventsubmit_doupdate]: submit PARAMETERS [template]: /html/Home.vm User id is:null Hello I am here ! Number of Rows inserted:1 My template name is :: RegistrationJSPTemplate.jsp what might be the problem?. Please reply. Thank you, Maruthi. Floßmann_Christoph <[EMAIL PROTECTED]> wrote: Hi Maruthi, try this snippet in your action and you'll see what data you've got. for(Enumeration enum = rundata.getParameters().keys(); enum.hasMoreElements(); ) { String key = (String)enum.nextElement(); System.out.println("PARAMETERS [" + key + "]: " + rundata.getParameters().getString(key) ); } -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 12:00 PM To: Jetspeed Users List Subject: ***SPAM*** Parameters in JSP Hello Christoph, Thanks for your mail.I am using just as you mentioned ...like this.. String street= rundata.getParameters().getString("streetnhno"); String city= rundata.getParameters().getString("city"); String zip= rundata.getParameters().getString("zip"); String country= rundata.getParameters().getString("country"); but i am not getting data into my action class.Should i define these parameters in the .xreg file...or what else is causing the problem?. Please reply, Thank you, Maruthi. Floßmann_Christoph wrote: Did you use rundata.getParameters().getString("NameOfInputField"); to get the data? The quotation marks are important! -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:49 AM To: [EMAIL PROTECTED] Subject: ***SPAM*** Parameters in JSP Hello Everybody, In my JSP... i have a form...after filling and submitting the form i am not getting the filled in data into my action class.I am getting null.Can anybody tell me whats wrong ?. Thanks Maruthi. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
RE: Parameters in JSP
Hi Maruthi, try this snippet in your action and you'll see what data you've got. for(Enumeration enum = rundata.getParameters().keys(); enum.hasMoreElements(); ) { String key = (String)enum.nextElement(); System.out.println("PARAMETERS [" + key + "]: " + rundata.getParameters().getString(key) ); } -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 12:00 PM To: Jetspeed Users List Subject: ***SPAM*** Parameters in JSP Hello Christoph, Thanks for your mail.I am using just as you mentioned ...like this.. String street= rundata.getParameters().getString("streetnhno"); String city= rundata.getParameters().getString("city"); String zip= rundata.getParameters().getString("zip"); String country= rundata.getParameters().getString("country"); but i am not getting data into my action class.Should i define these parameters in the .xreg file...or what else is causing the problem?. Please reply, Thank you, Maruthi. Floßmann_Christoph <[EMAIL PROTECTED]> wrote: Did you use rundata.getParameters().getString("NameOfInputField"); to get the data? The quotation marks are important! -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:49 AM To: [EMAIL PROTECTED] Subject: ***SPAM*** Parameters in JSP Hello Everybody, In my JSP... i have a form...after filling and submitting the form i am not getting the filled in data into my action class.I am getting null.Can anybody tell me whats wrong ?. Thanks Maruthi. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]