• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

add my own context

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to have as hypertext link for my server, http://localhost:8080/mydir/servlet/myServlet
I added a context called mydir, but it doesn't work!
can you helpme!
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For us to help, I think you'll need to tell us a bit more about what you are using, and what you have done so far.
  • Which servlet container?
  • Have you checked that it is installed and running right for other web applications? (does it have a "demo", for example?)
  • How have you "added a context", and where have you put it?
  • Did you know that the .../servlet/... style of mapping is not a good idea and has a lot of problems?
  • How have you arranged your files and directories in your new "context"
  • Do you have a WEB-INF/web.xml file, and if so, what does it contain?
  • anything else which might be of interest?


  • Thanks.
    reply
      Bookmark Topic Watch Topic
    • New Topic