File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Jetty --> giving a context a name... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Jetty --> giving a context a name..." Watch "Jetty --> giving a context a name..." New topic
Author

Jetty --> giving a context a name...

S. Schaefer
Greenhorn

Joined: Feb 06, 2011
Posts: 7

Hi.

I tried to build my own xml-file to start jetty.
It seems to work (...at least the starting itself), but i got two issues...but at first, here's the important part of the xml-file:


The server starts up without any errors or warnings, thats good :P But the URL to access the app is localhost:8080/WEB-INF/page.jspx ... i'm not quite sure if there's a way to change that to ... say "test123". That my first question; is there a way to do this?
Secondly, when i browse to the site localhost:8080/WEB-INF/page.jspx, i get "Error 500 - JSP support not configured". How can i configure this? ;) I guess it's just a line of code to add, but i don't know which line and where to add it ;)

Hope someone can help me ...

Greetz
gilaras

P.S.: My english sucks today (more than usual )
S. Schaefer
Greenhorn

Joined: Feb 06, 2011
Posts: 7

Okay, i managed to solve the second problem, now the resource can't be found.
So i guess there is an error in when i try to tell jetty which file to load and where it can be found...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jetty --> giving a context a name...
 
Similar Threads
Tomcat on Linux tutorial
XsdBasedSoap11Wsdl4jDefinitionBuilder error while generaing wsdl
Unable to use the WS
Hello world not working on Jetty server
Integrating Jett6 with Jboss