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]

Reply via email to