Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Login Page using GWT

 
Saurabh Naik
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I have developed Login screen containing Username and Password using GWT. but I am not getting how to use it with Servlet or Web. How to retrieve values from the screen because screen desingning is done by using java code /gwt api. so what role my loginservlet should play.. how to call my loginservlet. there is submit button on screen. so where should my action go. how should I retrieve the values from screen to servlet. e.g - request.getParameter(???); how should I give the name for my fields on screen for username and password ?

Thanks
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think your question is relating to this forum.
Personally, I think you will get a better help if you participate the GWT official group: http://groups.google.com/group/Google-Web-Toolkit
 
salvin francis
Bartender
Posts: 1274
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically you need to make an RPC call,

To make an RPC call, you would require 3 classes:
1. service eg: MyLoginService
2. serviceAsync eg: MyLoginServiceAsync
3. service Implementation eg: MyLoginServiceImpl


there are some mappings required too, I recommend you read this http://examples.roughian.com/index.htm#Tutorials~RPC_To_Java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic