/** Creates a new instance of MessagePatternTag */ public MessageChooseLangTag(){
}
//Set the language of messages for jakarta struts use publicint doStartTag()throws JspException { 1.5.0/docs/api/java/util/Locale.html">Locale l = new1.5.0/docs/api/java/util/Locale.html">Locale(_locale);
HttpServletRequest s = (HttpServletRequest) pageContext.getRequest();
s.getSession().setAttribute(Globals.LOCALE_KEY, l);
pageContext.setAttribute(Globals.LOCALE_KEY,l,PageContext.SESSION_SCOPE); return(SKIP_BODY); } }