J'ai un contrôleur de ressort où je règle un objet de session avec des variables.Spring MVC - JSTL - Attribut de session
@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
Vous aurez besoin de nous donner plus d'informations que de dire "Ici ça échoue". * Comment * échoue-t-il? – skaffman