Does anyone have a simple maven sample Struts/JSP application to login/logout and navigate over a couple of pages to share? Thanks.
I could not find an answer on the net/googling, so I created the project myself as following:
/StrutsHelloWord/WebContent/
folder in the /Web Pages
folder of my NetBeans projects. index.jsp
page from my project. struts.xml
file. The <action name="login" method="authenticate"...
line should be corrected to <action name="login" method="execute"...
Then, the project compiled and ran fine.
This project does not include a logout page, but it is a start.
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.