Context « Folder « JSP-Servlet Q&A





1. context root. accessing directory from browser    coderanch.com

Though this is not jsp, but jhtml the problem is somewhat similar. Scenario: 1. jhtmls are inside this: KDCATG/modules/b2b/htdocs/global/en/b2b/private/admin/esrvtool/ 2. I access these jhtmls in this way: :/dyn/dyn/global/en/b2b/private/admin/esrvtool/ .jhtml 3. /dyn is the context root. 4. Now I'm creating text file under a directory: KDCATG/modules/b2b/htdocs/global/numberfile/ 5. I want to download these text files after redirection from a servlet: :/dyn/dyn/global/numberfile/.txt Problem: If ...

3. Open word doc in folder which is not in weblogic server 10.3 context path and IE 7.0 Browser    coderanch.com

Hi All, I am developing jsp page which has hyperlink and on click on it should open word doc and code is deployed on sun os. when i click on hyperlink it says page can not displayed. I am reading path using properties file : HELP_FOLDER=download my code on jsp is as follows: <%! String helpFileName = System.getProperty("user.dir") + java.io.File.separator + ...