Wills
Wills

Reputation: 491

Running a webserver for JSP without running as windows service

Problem: I don't have administrative as to install services in my machine. so i am not able to use glass fish/tomcat . I want to know is there is any work around this ? why cannot it run just as process ? Stuck up on this all i need is a simple server on which i want to run a basic web page(jsp).

Upvotes: 0

Views: 123

Answers (2)

AlexR
AlexR

Reputation: 115378

Tomcat is a pure java application that indeed have windows service wrapper but it is absolutely optional. You can download ZIP file that contains tomcat distribution, open zip file where you want and run it using one of batch files you can find it its bin directory.

For example take a look on start.bat and catalina.bat

Upvotes: 1

Mubin
Mubin

Reputation: 4239

Jetty is your friend to do so. It doesn't require any installation. All it needs a jar file to be in your classpath. Check out this link: http://www.eclipse.org/jetty/documentation/current/advanced-jetty-start.html

Upvotes: 2

Related Questions