This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Greenhorn
Posts: 7
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!