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: [email protected]
For additional commands, e-mail: [email protected]