[jboss-user] [JBoss Portal] - Re: How do JBossPortal support multi lingual?

littleprince do-not-reply at jboss.com
Thu Feb 28 19:55:50 EST 2008


in jsp i put as juancito said in the previous post.

at the servlet i put
		
String paramter = req.getParameter("language");
String url = req.getParameter("url");
req.getSession().setAttribute("language", paramter);
		
resp.sendRedirect(url);
		

at LocaleInterceptor.java.

 HttpServletRequest http_req = invocation.getServerContext().getClientRequest();
      String lang = (String)http_req.getSession().getAttribute("language");


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133027#4133027

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133027



More information about the jboss-user mailing list