aspose file tools*
The moose likes Struts and the fly likes how to put session info inside the textfield, Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to put session info inside the textfield," Watch "how to put session info inside the textfield," New topic
Author

how to put session info inside the textfield,

mohanasundaram muthukannan
Ranch Hand

Joined: May 29, 2008
Posts: 35
hi,
how to put session information inside the text field. I am using struts 1.2

I have one action class UserAction.java

I set one session value like this



and i need display this value to next page with in a text field .I tried lot but I can not.

please help me Its very Urgent.

Thanks and Regards,
Mohana sundaram.M
Josep M Serrainat
Greenhorn

Joined: Sep 14, 2010
Posts: 16
Hi Mohanasundaram .....,
Are you read this

bye..
mohanasundaram muthukannan
Ranch Hand

Joined: May 29, 2008
Posts: 35
Hi Serrainat ,

Thanks for your reply .

but I need put session value in a text field.

like



but its not working. any mistake in this line please clarify me.

Regards,
Mohana sundaram.M



senthil kumar m
Greenhorn

Joined: Nov 28, 2010
Posts: 16
mohanasundaram muthukannan wrote:Hi Serrainat ,

Thanks for your reply .

but I need put session value in a text field.

like



but its not working. any mistake in this line please clarify me.

Regards,
Mohana sundaram.M


The Same situation happened to me once and I tried the following...
->you try this,
mohanasundaram muthukannan
Ranch Hand

Joined: May 29, 2008
Posts: 35
Thanks for your reply

I tried this one . Its working . but entire form I cant validate . Any option to validate form?

Regards,
Mohana sundaram.M
senthil kumar m
Greenhorn

Joined: Nov 28, 2010
Posts: 16
mohanasundaram muthukannan wrote:Thanks for your reply

I tried this one . Its working . but entire form I cant validate . Any option to validate form?

Regards,
Mohana sundaram.M


I'm glad, that code is working

Can you elaborate a bit more about your problem?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to put session info inside the textfield,