Don't compile header.jsp, as it's being included in all of the other pages. It's the same as including a .h file in C++. -- Len
On 11/14/05, Michael P. Soulier <[EMAIL PROTECTED]> wrote: > I'm taking care of a site that uses a common header and footer, with a > dynamic header title, like so > > <!-- set the page title --> > <%! String title = "Pawsitive Approach Pet Services"; %> > <!-- header here --> > <%@ include file="comps/header.jsp" %> > > In header.jsp, title is used to output the title. > > <head> > <title><%= title %></title> > > Now, this works just fine. I'm experimenting with precompiling the pages > using jasper, but this really broke compilation of the pages. When javac > tries to compile the precompiled header.jsp file, it says that "title" > is not defined. > > Doesn't that mean that jasper's precompilation is broken, or should I > just tell it to exclude compiling header.jsp, as it's being included in > all of the other pages? > > Thanks, > Mike > > -- > Michael P. Soulier <[EMAIL PROTECTED]>, 613-592-2122 x2522 > Linux applications development > "...the word HACK is used as a verb to indicate a massive amount of > nerd-like effort." -Harley Hahn, A Student's Guide to Unix --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]