What exactly do you mean with "hidden type variables"? Do you mean private variables? And from where are you trying to access them? Please give a code example to make things clearer.
Are you parsing HTML-requests and want to get the value of a variable created by HTML: <input type="hidden" name="myName" value="myValue" ...> ?
Then use request.getPara meter("myName") ;
Comment