How to make a Registration Page using Struts 2.3

后端 未结 2 1626
别那么骄傲
别那么骄傲 2021-01-15 11:54

I have been trying to make a registration page which will take 3 values ID,NAME,Password. I have some ideas in mind but I was unable t

相关标签:
2条回答
  • 2021-01-15 12:33

    The registration page is made using Struts UI tags. These tags allows you to generate HTML content required for the user to enter registration details such as user name, password, gender, date of birth into the page and save it in the user details.

    You can foolow the tutorial that is using code for registration page: Struts 2 UI Tags Tutorial.

    If you want more examples there's another one: Building a User Registration Application Struts, but it's written on old Struts, and it should be rewritten using Struts2 framework.

    Struts example brings you into this page. There you can find a tutorial from examples project.

    Struts2 team has created examples project to help you with code examples and tutorials.

    0 讨论(0)
  • 2021-01-15 12:35

    Apparently I have made the project by learning struts2 framework from tutorials point, it was quite easy I just needed to build an action class with an execute method and database linked to that execute method. And jus 1 jsp page to take entries from user and action to the action class. Thanx again.

    0 讨论(0)
提交回复
热议问题