简体   繁体   中英

Google App Engine Java search form

I would like to create a form accompanied by a submit button that is redirected to a page in the format http://example.com/?search=Word+OtherWord (maybe through a GET request). How would I set up a java class that first of all enables the user to go to such a page, and secondly, processes the parameters and renders html on the page?

I strongly recommend learning Java Servlets / JSPs. They will help you accomplish this simple task.

Here is a Hello World example which can help you to kick-start this task:

Here is a Java Servlets / JSPs tutorial

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM