The aim of this project is to build a web application that collects the user's name and displays "Hello World" followed by the user name. Now, let us proceed for building our first Hello World Struts2 project. The resource is generally a JSP, but it can also be a PDF file, an Excel spreadsheet, or a Java applet window.Īssuming that you already have built your development environment. After the Action is executed, a result selects a resource to render the response. As you have already learnt from the Struts 2 architecture, when you click on a hyperlink or submit an HTML form in a Struts 2 web-application, the input is collected by the Controller which is sent to a Java class called Actions.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |