Have a session variable that tracks what language they're using.
Justin
>>>
to offer language-depended websites I want to make a webapp available
through /de/* (german) and /en/* (english). Of course, I don't want to
use two servlet-repositories for that. My idea is, that no matter if
e.g. /en/helloworld or /de/helloworld is requested, a unique
helloworld-servlet creates the response and chooses the language by
parsing req.getPathInfo() for /de/ resp. /en/. As it isn't only one
centralized servlet, I can't use the /* url-pattern. And I don't want to
use a servlet-definition and according /en/??? and /de/??? url-pattern
for every single servlet. How else can I do this?
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)