Skip to main content

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

Hi Charles,

We're still working on getting the jetty 7 eclipse wiki updated with documentation - its a slow process!

You can look at the jetty-6 documentation on Codehaus, as in
many cases all you need to do is substitute the package
names on the classes.

Here's the jetty-6 page on multiple webapps with virtual hosts:
http://docs.codehaus.org/display/JETTY/Virtual+hosts

cheers
Jan

Charles E. Heizer wrote:
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

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Jan Bartel, Webtide LLC | janb@xxxxxxxxxxx | http://www.webtide.com


Back to the top