• 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

JSWDK SERVER INFO

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using jswdk1.0.1 server, i want to stop(avoid) the directory listing in jswdk server

kindly let me know how to config the same in webserver.xml or any other way to stop listing
 
Rancher
Posts: 1337
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow, that's seriously old software. JSWDK must have come out 10 years ago or so, meaning it's obsolete for about 8 years. Any particular reason you're not using a current version of Tomcat (which is well-documented)?
 
srinu dodda
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply.
Yes this is already in production, at this moment i cannot change to some other server.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's 11 years old, actually, which means it's probably vulnerable to all kinds of security problems. Which isn't too bad, because the docs clearly mention that it's meant for "developing and testing", not production use. So it's very different from Tomcat in that regard. Seriously - run, don't walk, to replace it. That shouldn't even be hard, due to the standardization of Servlets and JSPs.

As to the question at hand, why don't you configure a welcome file? I think those were supported in Servlet API 2.1.
 
Water! People swim in water! Even tiny ads swim in water:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic