Hi;

I have a situation where I need to have the jsp files with my html files. (I have just 
2 of them and they use the same templates as the 100+ html files and they are a simple 
part of the website.) My J2EE server is configured to look in both the server's web 
application directory and c:/Inetpub/wwwroot so that part works ok.

Here's the problem:
IIS looks at the http request header to determine which website to go to. When that is 
set (which it is 99% of the time), it goes to c:/Inetpub/wwwroot/windwardreports and 
gets the file and everything works fine.

But if there is no header info, then it goes to c:/Inetpub/wwwroot and now the jsp 
file is /windwardreports/demo.jsp instead of /demo.jsp. And now the J2EE server can't 
find it because struts is looking for /demo.jsp.

Is there a way in struts to tell it to look for a relative path? In other words, if I 
start with windwardreports/form.jsp, then go to windwardreports/demo.jsp?

thanks - dave

Reply via email to