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..
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.
精彩评论