If GWT generates Javascript and Markup code by precompilation

Can I do something like following ( I am talking in context of normal
web app)

1)

String username="";      //username would depend on current request
//fetch username from DB for current request, there could be different
users
TextBox normalText = new TextBox();
normalText.setText(username);

2)

boolean userAutenticated;
//do some processing
if( userAuthenticated)
{
       //GWT code for displaying successful log in
}
else
   //GWT code for displaying failed log in


To say, Is it possible to put GWT code in servlets ..........



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to