This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Servlet question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet question" Watch "Servlet question" New topic
Author

Servlet question

krishna kuchi
Greenhorn

Joined: Jan 17, 2004
Posts: 2
Hello,
I am developing a secured file server with tomcat web server.
With no index.jsp or index.html tomcat shows the files inside the servlet and using tomcat-users.xml and memory realm i am implementing access control
In this i got a problem:-
user clicks on any file name that desplays in the browser and the request is handled by the servlet. In that i am not able to get the file name in the servler.
request.getPathInfo or request.queryString not returning the file name.
please help me ,
thanks
maruthi sri krishna
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Servlet question