File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes http status 500 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "http status 500 error" Watch "http status 500 error" New topic

http status 500 error

sagar khana

Joined: Jan 15, 2012
Posts: 21

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

Joined: Jul 10, 2012
Posts: 50

Use this one

For property we have specify to the value.
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368

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

I agree. Here's the link:
subject: http status 500 error
It's not a secret anymore!