Hi Ken,
> Usage: com.sun.grizzly.standalone.servlet.ServletLauncher [options] Servlet_Classname
>
> -p, --port=port Runs Servlet on the specified port.
> Default: 8080
> -a, --apps=application path The Servlet folder or jar or war location.
> Default: .
> -h, --help Show this help message.
So you need to do something like:
java -jar grizzly-servlet-webserver-1.7-SNAPSHOT.jar -p 8080 -a
myServlet.war com.sun.test.myServlet
Since this module doesn't (yet) have full deployment support, you need
to tell Grizzly which Servlet class it needs to instantiate. From above,
my Servlet class name is com.sun.test.myServlet.
Try it and let us know.
Thanks
-- Jeanfrancois
Ken--_at_newsgroupstats.hk wrote:
> java -jar grizzly-servlet-webserver-1.7.3.3.jar -p 8080 -a
> d:\jakarta-tomcat\webapps\mywebapps
>
> it show class not found exception
>
>