Re: Antwort: Re: Antwort: RE: Pull-down-menue for "language select" at logon

2003-03-26 Thread Stephen Smithstone
session is just the name of the variable u need to use the object HttpSession session_var_name = HttpServletRequest_var_name.getSession( ); its in the stanadrar javax.servlet.http. package On Wednesday 26 March 2003 11:03 am, Manuel Lenz wrote: > Hi, > my IDE doesn´t know what "session" is! >

Antwort: Re: Antwort: RE: Pull-down-menue for "language select" at logon

2003-03-26 Thread Manuel Lenz
Hi, my IDE doesn´t know what "session" is! How can I set attributes in the object "session" Do I have to add an import? What parameter does the function setAttribute need to get my english texts? language = en_US country = USA Manuel What You just have to put a Locale object in session scop

Re: Antwort: RE: Pull-down-menue for "language select" at logon

2003-03-26 Thread Nicolas De Loof
You just have to put a Locale object in session scope : session.setAttribute(Globals.LOCALE_KEY, new Locale(...)); Struts will use associated messagesRessources. Nico. This might be a tricky way, but our users should select the language at startup. Our login.jsp has this part:

Antwort: RE: Pull-down-menue for "language select" at logon

2003-03-26 Thread Manuel Lenz
This might be a tricky way, but our users should select the language at startup. Our login.jsp has this part: DE EN The User selects his language option and the value is saved in the loginForm-Bean when the user submits. Now I n