path in my database and files stored in the server path "workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ex/userfiles" . I want to open the file in jsp page using the file path .Iam using eclipse juno in ubuntu I tried this code... please help me thanks in advance href="filepath"
Asked
Active
Viewed 902 times
0
-
You want what? Confuse question, what do you mean with "open"? Show it in the JSP Page, send it to the user, include it in the JSP? – Gyro Gearless Jul 16 '13 at 08:58
-
I want to download the file or when clicks on the link the file should be open – user2575422 Jul 16 '13 at 09:05
1 Answers
0
I think the .jsp files should be inside WebContent folder or one of its children. If the file, say index.jsp, is inside WebContent folder then the path is: /index.jsp If the file is in WebContent/SomeFolder then the path is: /SomeFolder/index.jsp

user1509803
- 186
- 1
- 9