View Full Version : JSP and <%@ include file="/pages/

04-12-2008, 12:51 AM
In a parent JSP file: p.jsp there is a child jsp, c.jsp.

<%@ include file="/pages/.../c.jsp

Whenever I made a change to the c.jsp, I'll also need to change the time stamp for the p.jsp.

1) How many ways are there for changing the timestamp of the p.jsp?

2) In a team environment (CVS), I only checked in the c.jsp, but not the p.jsp (which I only added a blank space). How could the other developer run the app and see my changes, by only having the c.jsp updated?

(I mean, if I do not change the timestamp for p.jsp, I'll never see the changes in c.jsp. If the other developers only updated the c.jsp, which I checked in, but not the p.jsp (I never checked in), how can they see my changes in c.jsp?)



04-12-2008, 03:43 AM
i've not worked with cvs before but i believe you can set c.jsp as a dependency of p.jsp which would then be updated in version as its base dependency is