Why do I get HTTP Status 404 - Not Found after http://localhost:8080/struts2_maven/User/Login.action?

2017-06-17 Thread ssmtpmailtesting ssmtpmailtesting
http://localhost:8080/struts2_maven/User/Login.action

HTTP Status 404 - Not Found

type Status report

messageNot Found

descriptionThe requested resource is not available.
GlassFish Server Open Source Edition 4.0

tree .
.
├── pom.xml
├── src
│   ├── main
│   │   ├── java
│   │   │   └── com
│   │   │   └── mkyong
│   │   │   └── user
│   │   │   └── action
│   │   │   └── WelcomeUserAction.java
│   │   ├── resources
│   │   │   ├── struts.xml
│   │   │   └── struts.xml~
│   │   └── webapp
│   │   ├── index.jsp
│   │   ├── struts2-core-2.5.10.1.jar
│   │   ├── User
│   │   │   └── pages
│   │   │   ├── login.jsp
│   │   │   └── welcome_user.jsp
│   │   └── WEB-INF
│   │   ├── lib
│   │   ├── struts2-core-2.5.10.1.jar
│   │   └── web.xml
│   └── test
│   └── java
└── target
├── classes
│   ├── com
│   │   └── mkyong
│   │   └── user
│   │   └── action
│   │   └── WelcomeUserAction.class
│   └── struts.xml
├── m2e-wtp
│   └── web-resources
│   └── META-INF
│   ├── MANIFEST.MF
│   └── maven
│   └── com.training
│   └── struts2_maven
│   ├── pom.properties
│   └── pom.xml
├── maven-archiver
│   └── pom.properties
├── maven-status
│   └── maven-compiler-plugin
│   ├── compile
│   │   └── default-compile
│   │   ├── createdFiles.lst
│   │   └── inputFiles.lst
│   └── testCompile
│   └── default-testCompile
│   └── inputFiles.lst
├── struts2_maven
│   ├── index.jsp
│   ├── login.jsp
│   ├── META-INF
│   ├── struts2-core-2.5.10.1.jar
│   ├── User
│   │   └── pages
│   │   ├── login.jsp
│   │   └── welcome_user.jsp
│   ├── WEB-INF
│   │   ├── classes
│   │   │   ├── com
│   │   │   │   └── mkyong
│   │   │   │   └── user
│   │   │   │   └── action
│   │   │   │   └── WelcomeUserAction.class
│   │   │   └── struts.xml
│   │   ├── lib
│   │   │   ├── commons-fileupload-1.3.2.jar
│   │   │   ├── commons-io-2.4.jar
│   │   │   ├── commons-lang3-3.4.jar
│   │   │   ├── freemarker-2.3.23.jar
│   │   │   ├── javassist-3.20.0-GA.jar
│   │   │   ├── log4j-api-2.7.jar
│   │   │   ├── ognl-3.1.12.jar
│   │   │   ├── servlet-api-2.5.jar
│   │   │   └── struts2-core-2.5.10.1.jar
│   │   ├── struts2-core-2.5.10.1.jar
│   │   └── web.xml
│   └── welcome_user.jsp
├── struts2_maven.war
└── test-classes

46 directories, 39 files


Followed this: https://www.mkyong.com/struts2/struts-2-hello-world-example/

struts.xml


http://struts.apache.org/dtds/struts-2.0.dtd";>





pages/login.jsp


pages/welcome_user.jsp





web.xml

http://java.sun.com/dtd/web-app_2_3.dtd"; >


Struts 2 Web Application


struts2


org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter




struts2
/*




pom.xml

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  com.training
  struts2_maven
  war
  0.0.1-SNAPSHOT
  struts2_maven Maven Webapp
  http://maven.apache.org
  

  junit
  junit
  3.8.1
  test


  org.apache.struts
  struts2-core
  2.5.10.1


  javax.servlet
  servlet-api
  2.5

  
  
struts2_maven


  org.eclipse.jetty
  jetty-maven-plugin
  9.4.6
  

  


.classpath


































-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Is it the mailing list for struts2?

2017-06-17 Thread Ken McWilliams
Yes

On Sat, Jun 17, 2017 at 9:22 AM, ssmtpmailtesting ssmtpmailtesting <
ssmtpmailtest...@gmail.com> wrote:

> Can I ask question about struts2 here?
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Sent from my C64 using a 300 baud modem


Integrate Apache Shiro with Struts2

2017-06-17 Thread Ken McWilliams
Looking to Integrate Apache Shiro with Struts2.

If anyone on the list has done this I would love to hear about it.

If not I hope to follow up with a solution.

-- 
Sent from my C64 using a 300 baud modem


Is it the mailing list for struts2?

2017-06-17 Thread ssmtpmailtesting ssmtpmailtesting
Can I ask question about struts2 here?

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org