help me in war file urgent
hello all
i have created a MyRoot.war file having following structure :
MyRoot // main directory
|-- WEB-INF
||--classes
||--MyPackage // package MyPackage
| |--Login.class // this class extends HttpSerlvet
||--lib
||--jar files
||--web.xml
|-- js // java script folder
||--validate.js
|-- template // template folder
|--login.stm
in my Login.class file i want to read login.stm (template folder) file , so how to give relative path
in Login.java file ?
I tried "template/login.stm" and "/MyRoot/template/login.stm", but failed.
i tried much but it gives error : FileNotFoundException .(systen can not find path)
i m using bea weblogic server.
please help me
thanking you
Darshan Gajjar

