Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use form bean properties through bean tags

 
Tej Ernesto
Greenhorn
Posts: 19
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ernesto,
Could you share more information about it, like server logs
 
Tej Ernesto
Greenhorn
Posts: 19
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i solved my problem. thank you
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic