Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
04-11-2008, 11:51 PM #1
- Join Date
- Apr 2007
- Thanked 0 Times in 0 Posts
JSP and <%@ include file="/pages/
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, 02:43 AM #2
- Join Date
- Jan 2008
- Milwaukee, WI
- Thanked 96 Times in 95 Posts
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
"Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender