struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: StrutsTestCase issues with basic jsp via convention plugin
Date Tue, 25 Feb 2014 10:19:43 GMT
Can you publish the whole project at GitHub instead of the gist?

2014-02-23 18:35 GMT+01:00 John Patrick <nhoj.patrick@gmail.com>:
> Hi,
>
> Having some issues around automated testing using struts2-junit-plugin
> accessing a jsp via struts2-convention-plugin.
>
> Basically the following two url's;
> http://struts.apache.org/release/2.3.x/docs/convention-plugin.html
> http://struts.apache.org/release/2.3.x/docs/struts-2-junit-plugin-tutorial.html
>
>
> ./pom.xml
> ./src/main/resources/struts.xml
> ./src/main/webapp/WEB-INF/content/hello-world.jsp
> ./src/main/webapp/WEB-INF/web.xml
> ./src/test/java/tld/example/HelloWorldTest.java
>
> files at; https://gist.github.com/nhojpatrick/9174445
>
> When checking the web app using jetty it works correctly, i.e.
> $ mvn clean install ;
> $ mvn jetty:run ;
> $ curl http://localhost:8080/hello-world
>
> Any ideas, or is this a potential issue/bug with struts2-junit-plugin?
>
> Cheers,
> John

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


Mime
View raw message