wood burning stoves 2.0*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Login Page using GWT" Watch "Login Page using GWT" New topic
Author

Login Page using GWT

Saurabh Naik
Ranch Hand

Joined: Apr 24, 2008
Posts: 87
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


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

Joined: Nov 08, 2003
Posts: 3476

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
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

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


My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Login Page using GWT
 
Similar Threads
I need help with this situation regarding form post parameters
Handling Sessions
Need Advice in my Project Design
Adding one more criteria along with username and password (Spring Security)
link between servlets