struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Black <jeffblack...@gmail.com>
Subject Re: convention plugin does not seem to include the WEB-INF/lib dir
Date Wed, 07 Mar 2012 12:22:48 GMT
https://cwiki.apache.org/confluence/display/WW/Convention+Plugin#ConventionPlugin-Actionsinjarfiles

On Wed, Mar 7, 2012 at 5:07 AM, Shinobi <harlander3000@yahoo.com> wrote:

> I am using struts 2.2.3 with the convention plugin
>
> I have a class HelloWorld which is located in hello.jar which is located in
> WEB-INF/lib. I get a blank page when i go to
> http://localhost:8080/hello-world because it seems that the convention
> plugin has not scanned the jars in the WEB-INF/lib directory. Am I correct?
> I can understand the convention plugin not wanting to include most of the
> jars in WEB-INF/lib but there is definitely reason to include 1 or more
> jars
> from this directory. Is there a way to specifiy jars to include in
> WEB-INF/lib for scanning please?
>
> public class HelloWorld extends ActionSupport {
>  private String message;
>
>  public String getMessage() {
>    return message;
>  }
>
>  public String execute() {
>    message = "Hello World!";
>    return SUCCESS;
>  }
> }
>
> jsp WEB-INF/content/hello-world.jsp
>
> <html>
> <body>
> The message is ${message}
> </body>
> </html>
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/convention-plugin-does-not-seem-to-include-the-WEB-INF-lib-dir-tp5543609p5543814.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message