[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: "page extends" problem


> We stick with one very strange problem, running gnujsp 1.0 on both our
> WinNT and Linux boxes. Simple JSP pages works just great, no problem
> at all, but when we start to use <%@ page extends=""%> tag we found
> that that pages does not autorealod by server.

I have found the same behavior. I have implemented the following class
hierarchy:

--------------------------------------------------

HttpServlet
 |
 |
 |
 --- myCustomServlet 
	extends HttpServlet
		|
		|
		|
		--- myCustomJspPage 
			extends myCustomServlet 
			implements javax.servlet.jsp.HttpJspPage

--------------------------------------------------

Which works great (now, that is - see the previous thread in which i was
involved,)  except for the autoreload problem. I noticed it wasn't
reloading anything - i have checkdependencies=true and checkclass=false
but i have to restart apache on each update. I didn't realise it was only
in conjunction with <%@ page extends = "..." %>, but i have since
confirmed this. All of my jsp pages extend myCustomJspPage.

I'm using jdk1.1, jserv 1.1b2, and gnujsp1.0.0, with apache 1.3.6 on
RedHat 5.2 (2.0.x kernel.) I can send more specific info or source, if it 
would be helpful.

::ja