Struts2: Reading from database and populating JSP with results
- by teehoo
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.