Reputation: 2943
My application should work without cookies. How can I get the parameters of the URL from a java file if cookies are disabled.
req.getParameter("abc")
gives null
when I tried.
I've 3 spring GenericFilterBeans in this application and I can see the values inside filters. How can I make the parameters available to others controllers and other files..
Upvotes: 0
Views: 712
Reputation: 1108692
The presence and accessibility of the request parameters is completely unrelated to the cookie support.
The cause of your problem lies somewhere else. Probably a programmatic redirect was involved which caused the parameters to lost. Or the request was modified/wrapped/replaced in an improper manner. Verify your filters.
Upvotes: 4