hi i am new to JAVA. What i want to do is i have a JSP page and in that =i have a click button. On the click event of the button i want to open a file which will be stored at a particular path. This file path will be stored in the database and i want to get that path at run time on the button click event , and show it in a new window.Can anybody please let me know how to do it . code sniipets will be always welcome
Hi Deepak thnx for your reply. The file path which i am redirecting to on the button click event is not in the app context. So when i click on button, container tries to find the file relative to application context. For example i am storing xml file in /jboss_home/server/default/deploy/Test.war folder. And my application context is http://localhost:8080/testApp/ . So when i try to redirect to the file it searches in http://localhost:8080/testApp/"file path". How can i solve this problem.