xtim
Tuesday, August 24, 2004
 
Right then: the news section on the corporate site.

This is a huge collection of includes and content which works on jserv but fails on Tomcat with "code too large" errors.

We can use the new jsp:include directive instead of the old <%@ include file="" %> . This works as a run-time include, rather than at compile-time, and the net result is that we get lots of smaller and more manageble jsp fragments which are assembled when the page is delivered. I've tested it with my local copies and it seems to work fine; things to watch out for include:

1. common sub-includes should be pulled out the main page where possible (eg 1col.inc framework).
2. some pages will need to declare their own imports (GregorianCalendar for brainteaser).
3. "inc"s referenced in this way need to become "jsp"s if they require dynamic processing.
4. brainteaser submission will require work (skip redirect).

So - this is the biggie. The first (and only) change which simply won't work on jserv. We'll need to agree a date for changeover, hold off on changes to the news area for the burn-in period and update it to the new system. Once all machines are running the sites in tomcat we can resume news updates.

Last thing to look at: MARC records. A's been doing some work on this so I'll test with the new files.

T
Comments: Post a Comment

<< Home

Powered by Blogger