This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes GWT and the fly likes Login Page using GWT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Login Page using GWT" Watch "Login Page using GWT" New topic

Login Page using GWT

Saurabh Naik
Ranch Hand

Joined: Apr 24, 2008
Posts: 87

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 ?


SCJP 6 (88%), SCWCD 5 (78%), preparing for SCBCD
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

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:
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 978

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

My Website: [] Cool your mind:[] My Sally:[]
jQuery in Action, 3rd edition
subject: Login Page using GWT
It's not a secret anymore!