wood burning stoves 2.0*
The moose likes Struts and the fly likes how to use  form bean properties through bean tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to use  form bean properties through bean tags" Watch "how to use  form bean properties through bean tags" New topic
Author

how to use form bean properties through bean tags

Tej Ernesto
Greenhorn

Joined: Jun 17, 2012
Posts: 19

Hi
i am using struts to develop a web page.. first i displayed a login page.. i created login form bean and loginaction class
when user clicks on login it takes him to his home page
i want to display his username over there
i was using this tag
<bean:write name="LoginForm" property="userName"/>
but its giving me 500 error
how to get that username from form bean
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Hi Ernesto,
Could you share more information about it, like server logs


Have Fun with Java
little,little.. little by little makes a lot..
Tej Ernesto
Greenhorn

Joined: Jun 17, 2012
Posts: 19

i solved my problem. thank you
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to use form bean properties through bean tags
 
Similar Threads
can I have two login page using form-based authentication?
How to access Errors in Action class .....
How to handle form bean exception
Login Page Problem????
Hide password in Mozilla's Http Header plugin