Here is my java code for the moment :
public class LoginAction {
public LoginAction(){}
public int login(String login, String pass)
{
request.getSession().setAttribute("login", login);
return 0;
}
}
I don't know how get the HttpServletRequest request.
I don't know to how do in Flex to record some information in this same session and how get them. Indeed, I have to threat different languages. When someone click on french or english at identification step he must stay in french or english after so how record information in session and how get them in flex because I think this must be done in flex this time.
Here is the flex code :
private function changeLanguage(language:String):void
{
if (language == 'En')
{
locale = localeEn;
}
if (language == 'Fr')
{
locale = localeFr;
}
}
Thank you.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool | Software development | Software development services |
Home design software | Software development company |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___