File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use form bean properties through bean tags

 
Tej Ernesto
Greenhorn
Posts: 19
Java
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i solved my problem. thank you
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic