File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 1138

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

I agree. Here's the better link:

I agree. Here's the link:
subject: Login Page using GWT
jQuery in Action, 3rd edition