get http request params in java appengine
I want to make simple web page with google appengine with gwt in eclipse.
All I want is getting params from the URL and printing it in the screen itself
what should I do?
URL looks like https://myapp.appspot.com/mytest.html?param1=hello¶m2=world
and in the web page it would display
param1=hello param2=world
something like that... I don't know how to start...
Getting parameters in app engine is the same as in any java servlet application: using request.getParameter("param1")
.
Displaying the value on the page is a different thing. If your view is .jsp, then (with jstl): ${param.param1}
.
精彩评论