File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: Encoding and decoding in struts
It's not a secret anymore!