• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Login Page using GWT

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2911
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I claim this furniture in the name of The Ottoman Empire! You can keep this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic