Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to stop the struts parser to parse the request parameters temporarily?  RSS feed

 
yuvaraj KumarAmudhan
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

In struts 2,
I need the way to stop the struts parser to parse the request parameters temporarily.
For example,
if i am passing name and age as parameters in the request, struts parser automatically executes the getters and setters for these parameters. But i need to receive them (default getters and setters should not be executed) in a traditional way like,
" request.getParameter("name") and request.getParameter("age")".

Is there any way to accomplish this?

Thank you!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!