tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiongfei Wang <wan...@arches.uga.edu>
Subject can servlet interact with html file in someplace other than current servlet context?
Date Tue, 25 Feb 2003 03:45:43 GMT
My current servlet context is in
/home/jp/reg
I have a login(login.java) servlet in this context
In login.java i have code like 
------------------------------------------------------------
 private static final String TARGET_FILE="/var/www/index.html";
 if(  )
{
 (req.getRequestDispatcher(target)).forward(req,res);
        return;
}
----------------------------------------------------------------
t
his code does not work because index.html is outside /home/jp/reg

Is there a way i can let login servlet interact with index.html?

Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message