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!
>
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
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:
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
4 matches
Mail list logo