In my struts.xml I have URL link /app/test/ maps to
test() method. I found when I type /app/test?name=xyz&ID=ABC
it went throught the prepare() method, but inside the method it recognizes "name" and "ID" as null, i.e. the values of name and id are not bounded to the instance variable yet. However, in "test()" these values are avaiable already.
Can you tell me why ? And how can I do some cleaning type work in "prepare()" that needs to use instance variables ?
secondly, if instance variables are not available in prepare(), are session variables available ?
Thank you.