• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

write request.setAttribute("key", "value")

 
John Smith
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which tag should I use to display the value in a JSP page by using struts tag?

Thanks..
 
sanat
Ranch Hand
Posts: 111
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Try this

Use <html:text> with disabled attribute set to true.
 
bhuvan sundar
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

you can use the <bean:write> tag to display values from a bean. or you can also use <bean:message> tag to display values from the Properties file to a JSP.

Hope it helps

Thanks
Bhuvana
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic