Jaikiran,
I have tried your thing, but I am getting fullpath like this see the bolded one:
eg:
abc/jsp/openhyperlink.jsp?fileName=/u03/app/Learning/
http://localhost:8080/abc/jsp/TC1011018C.html I must get like this "
abc/jsp/openhyperlink.jsp?fileName=/u03/app/Learning/TC1011018C.html
Please let me know the solution for this.
To answer Eric question, Here my requirement is we need to dump lot of elearning courses in a separate content server. The elearning courses will have many html, swf, img files etc. I calling this html files via server side script ie from
Jsp. But I cannot write any Jsp code in the content server folder and call it in Jsp or
servlet. Did I answer your question.