Thanks.
I will build my client server by grizzly and embedd http engine for web
administration.
so my question is:
how to call my webapps (struts / jsp) in grizzly http engine?
Jeanfrancois Arcand-2 wrote:
>
> 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
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>
--
View this message in context: http://www.nabble.com/How-to-run-my-webapps-by-Grizzly-Servlet-Launcher-HTTP-Engine--tp17398515p17408393.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.