File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes to display perticular file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

to display perticular file

jazy smith
Ranch Hand

Joined: Nov 18, 2009
Posts: 101
hi all, please help me out clearing this doubt.

suppose I have a file hello.jsp in folder hierarchy like " project_name/1/2/3/4/hello.jsp " Now if I want to display hello.jsp manually by typing in URL, (1)
"http://localhost:8080/project_name/hello.jsp " (2) "http://localhost:8080/project_name/1/2/3/4/hello.jsp" which one is correct ?
Ankit Garg

Joined: Aug 03, 2008
Posts: 9452

Why don't you try typing it in the browser??

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
I agree. Here's the link:
subject: to display perticular file
It's not a secret anymore!