Does the Strings that i use in the Action class which i access as the Properties by means of the tag get Stored in Value Stack?
I have a jsp say JSP1, which has a form with a textInput field that has name = user
On submitting the form, an Action class is called. It has access to it by using getters and Setters.
But in a Custom Interceptor, how can i access it?
I tried to get it from the value stack as
ValueStack stack = ai.getStack();
String s = stack.findString("user");
stack.set("user",sa.toUpperCase());
But it returns null.
Also i tried to have a String variable with getters and setters in the CustomInterceptor class. It too failed to serve the purpose.
How to get the value to the Interceptor?