I have a Spring Controller where I am setting a session object with variables .
@RequestMapping("/index.html")
public String indexHandler(HttpSession session,
                           HttpServletRequest request,                                         
                           HttpServletResponse response){
          session = request.getSession(true);
          session.setAttribute("country","India");  
          session.setAttribute("url", getAuthURL());//getAuthURL returns a string
     return "tempJSP"; 
    //tempJSP is a JSP under webroot/jsps/ and this is configured in Dispatcher servlet
}
tempJSP.jsp
//My 2 taglibs are declared here one is core and other is format
<c:redirect url=<%(String)session.getAttribute("url")%> //Here it fails
 
     
    