Struts2: Reading from database and populating JSP with results
Posted
by teehoo
on Stack Overflow
See other posts from Stack Overflow
or by teehoo
Published on 2010-04-09T20:48:27Z
Indexed on
2010/04/09
20:53 UTC
Read the original article
Hit count: 418
For a school project I am creating a simple search engine (using Struts2), where I read from a database, and redirect the user to a new page that shows the results.
my struts.xml file is as follows:
<action name="searchRooms" class="cz.vutbr.fit.Search" method="execute">
<result name="success">/pages/showSearchResults.jsp</result>
<result name="input">/pages/search.jsp</result>
</action>
I have no idea what to search on Google to achieve this. I'm looking for a simple answer or some keywords to use for searching on Google.
© Stack Overflow or respective owner