Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

http status 500 error

 
sagar khana
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
howdy,

hey needed a little help in this please give help i am really stuck, i am running this simple program in struts when i remove <html: text property="name" maxlength="30"/> line it runs perfectly but when i use this it gives an eror saying:
javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope


I have added all tld and jar fires in it but still problem is coming.



Thanks for your kind help,
Have a nice day
 
Pyla Rao
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Use this one



For property we have specify to the value.
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,



above tag is used with the below tag



form present for the above form tag should have property named in html:text tag's property tag.

you can search for a sample application for struts 1.x in google where you can find a valid use of the html:text tag.
HERE is some sample examples
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic