doGet doPost

272 views
Skip to first unread message

saurabh

unread,
Jul 23, 2009, 11:18:15 AM7/23/09
to Google Web Toolkit
hello

I am still not getting how to use gwt for web applications.
suppose I have fields username & password on my loginpage.jsp fie. how
it will interact with my servlet on server. if I am using gwt for my
application then what is the use of jsp pages or any other dynamic
pages ? how I am going to access fields in doget or dopost method in
servlet. what is the role of servlet or jsp in that case ? by using
gwt can we make an web application without using servlet or jsp ???

Neha Chachra

unread,
Jul 23, 2009, 12:06:17 PM7/23/09
to Google-We...@googlegroups.com
Hi,

Have you gone through the entire Stockwatcher example in tutorials? You wouldn't have these doubts once you are through with it. You can find all the information on client-server interaction there too. 

To answer your question, yes you can make your application without using JSP. Afterall, JSP is not the only way you can make dynamic pages. 

Also, someone recently sent me this link for using servlets with GWT, in case you need it: http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial.html

Also, most of the time, you will be able to clarify your doubts with simple google searches. Almost everything seems to have been discussed on this mailing list.

Hope this helps. You sound quite frustrated :)

-neha
"nay-ha"

vasem want

unread,
Jul 23, 2009, 9:51:41 PM7/23/09
to Google-We...@googlegroups.com
here you need to understand first thing is
why do you want to use GWT if you have a
jsp page ??? you can create a dynamic
interface with gwt and attach it to your servlet or
what ever,
you need to understand first that this is just a layer
infront of your business object , you need to create
an object for username and password , attach a
widget to it for action and then make a RPC call
to db , regarding how to attach to your servlet
is by including the object you have created in the header
section ,
Reply all
Reply to author
Forward
0 new messages