This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes JSWDK SERVER INFO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "JSWDK SERVER INFO" Watch "JSWDK SERVER INFO" New topic
Author

JSWDK SERVER INFO

srinu dodda
Greenhorn

Joined: Nov 29, 2010
Posts: 3
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
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
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

Joined: Nov 29, 2010
Posts: 3
Thanks for the reply.
Yes this is already in production, at this moment i cannot change to some other server.
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSWDK SERVER INFO
 
Similar Threads
Having trouble setting up JSP engine
Problem in Creating WAR file
Need servlet help
XML and servlets
How can I retrieve the server path from inside the servlet?