开发者

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&param2=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}.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜