Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] jetty 7 documentation and examples

Ok, I must be missing the whole picture. I feel like I'm going around and around in the "wiki.eclipse.org/Jetty" site. What I'm looking for is some examples on how to setup and serve two separate webapps on two different ports.

For example ...

webapp 1 -- $JETTY_HOME/webapps/webapp1 = http://127.0.0.1:3000/
webapp 2 -- $JETTY_HOME/webapps/webapp2 = http://127.0.0.1:3001/

I'm assuming I would need to create two server webapp xml files (webapp1.xml , webapp2.xml), then I would start them like this java -jar start.jar webapp1.xml webapp2.xml.

Thanks,
Charles



Back to the top