|
Hi there,
I have a problem with gnujsp 1.0 (it is integrated in Jetty 2.3.4).
If I make a jsp-page -> starts the server -> modify the jsp-page
-> refreshes the browser -> the old jsp-page is shown.
By the way, the server is runned under Windows NT with a service pack
6.
In the log file I can see that the requested jsp-page has a timestamp =
0.
I can trace the problem to the file:
JSP10Servlet.java -> the method
needToRecompile (HttpServletRequest request).
if (deps[i].toString().startsWith("file:"))
{
l = new File(deps[i].toString().substring(5)).lastModified(); log("startsWith(file:)" + l); } else { l = deps[i].openConnection().getLastModified(); log("openConnection:" +
l); /*
---------------- This prints 0 to the log ----------------- */
}
It seems like it can't get the 'lastmodified' field on the file.
Anyway it works fine with gnujsp0.92 -> I know its not the same
implementation by anyway.
Has anybody seen this problem before and is there a solution for
it.
Thanks.
-- Christian. |