<action path="/userRegistration"
type="strutsTutorial.UserRegistrationAction"
name="userRegistrationForm"
attribute="user"
parameter="action"
input="/userRegistrationPage1.jsp">


....

Have a look at attribute [user]!!!!
This variable will be available to u in ur jsp [use Bean tld]!!!

Hope it helps!!!


-Aru K

-----Original Message-----
From: jacob skariah [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 3:23 PM
To: [EMAIL PROTECTED]
Subject: Can We manually populate the FormBeans to display the contents on
the jsp

Hi,

   Can we use FormBeans to display our contents on the
jsp page, as it does this work if an error occurs
after the submit is done.

I need to use this feature of FormBeans to display my
contents on the jsp page.

for example: say i am doing a jobsite project. and an
user who has posted a resume when he next clicks the
resume for editing it, can i populate a FormBean and
pass it to the jsp page and will it populate the
feilds on the jsp resume page as it does when an error
occurs.

Can any one tell me how to do this, so that i dont
need to use additional helper beans to populate the
pages when formbeans can do it.

pls give me some code samples for passing the form
beans to the page.

Thanx in advance

Regards

JAcob Skariah




__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to