File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax with Struts html Tags

 
aniket deorukhkar
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please correct me if I am wrong anywhere with my concepts..

Here's the story..

I have a jsp for taking feedbacks.
There is a html form tag in that jsp and I have not mentioned any action for that form.
I am using html:text somewhere in form.
I am doing an Ajax call on click of a submit button

And I am getting this exception

javax.servlet.jsp.JspException: No getter method available for property feedbackmessage for bean under name org.apache.struts.taglib.html.BEAN

I guess the mapping is not happening properly. But where is it searching for feedbackmessage first of all, because I have not mentioned any action in the form tag?

Thanks
 
pooja par
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search in your workspace for "feedbackmessage ".
I guess you should have mention that as property somewhere for some field in your jsp.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic