This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Struts and the fly likes Encoding and decoding in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Encoding and decoding in struts" Watch "Encoding and decoding in struts" New topic

Encoding and decoding in struts

krish hotha

Joined: Jun 28, 2010
Posts: 12

I want to encode all the values which are coming from request and decode the response values. want to implement this at interceptor level . could you please tell me how do i get the valuesstack obect values in struts2.

Tom Rispoli
Ranch Hand

Joined: Aug 29, 2008
Posts: 349
Call getStack() on the ActionInvocation object that is passed into the intercept() method of your interceptor.
Have you checked out Aspose?
subject: Encoding and decoding in struts
It's not a secret anymore!