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

[835 byte] By [darshangajjar] at [2007-9-30 13:11:15]
# 1
/login.stm should be correct.see http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletContext.html#getResource(java.lang.String)
sreekav at 2007-7-4 18:39:42 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2
sorry /template/login..stm
sreekav at 2007-7-4 18:39:42 > top of Java-index,Enterprise & Remote Computing,AVK Portability...