Re: jsp:include problem

2004-05-17 Thread Tim Funk
You are doing a runtime include of a file that doesn't have jsp extensions. (Hint - do view source on your result page) I thought jspf were meant for compile time includes. (As a naming convention, but not dicated, but then again ... I didn't have my morning coffee yet) Anyhoo, add jspf as a

jsp:include problem

2004-05-16 Thread Sng Wee Jim
Hi, I am using Jakarta tomcat 5.0.24 on Windows 2000. I have 2 files, 1.jsp which includes 2.jspf Content of 1.jsp <% pageContext.setAttribute("aaa", "111"); System.out.println("in 1.jsp: " + pageContext.getAttribute("aaa")); %> <% Syst

Re: jsp:include Problem with Internet Explorer

2004-02-03 Thread sergio ulloa
Try this! - Original Message - From: "Daniel Scholnick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 03, 2004 1:17 PM Subject: jsp:include Problem with Internet Explorer > Hi, > > I seem to have a problem with Tomcat 4.

jsp:include Problem with Internet Explorer

2004-02-03 Thread Daniel Scholnick
Hi, I seem to have a problem with Tomcat 4.1.18, IE 6, and jsp:include. I have a jsp, lets call is source.jsp, that looks something like this: When I access source.jsp using Mozilla, everything shows up just fine. But when I access it from IE, none of the html generated by included.jsp

jsp:include Problem With Internet Explorer

2004-02-03 Thread Daniel Scholnick
Hi, I seem to have a problem with Tomcat 4.1.18, IE 6, and jsp:include. I have a jsp, lets call is source.jsp, that looks something like this: When I access source.jsp using Mozilla, everything shows up just fine. But when I access it from IE, none of the html generated by included.jsp

jsp:include problem when using WAR

2003-12-15 Thread Robert L. Brueckmann
I cannot for the life of me find if this is a known issue or not but I'm using Tomcat 4.0.3 and I have a web application that, throughout the software, uses a single header.jsp file on every JSP page. There are multiple subdirectories that call that header.jsp file like so: Because header.jsp e

Re: upgrade into a jsp:include problem

2002-09-26 Thread Brad Plies
The lack of existing out.write() calls suggests to me that the JspRuntimeLibrary.include() is supposed to do it. Probably why 'out' is given to .include() as an argument. But why is a runtime library needed if the content is static? Should be compiled once and that's it. API of the JspRuntim

Re: upgrade into a jsp:include problem

2002-09-26 Thread Tom Sherrod
Don't stop now...I think we're onto something that I hope others can benefit from. I may have misspoke about the java file looking correct. Here's what I see: JspRuntimeLibrary.include(request, response, _welcomeIntro, out, true); No out.blahblah...or nothing around it even similiar to wha

Re: upgrade into a jsp:include problem

2002-09-26 Thread Brad Plies
My last stab would be to ask if inside the resulting .java file, how the included .html file looks? Has it been correctly broken down into all the out.blahblah(...) statements? Is that block of java inside a /* block comment? Is the first line of the converted HTML an HTML comment angle-bang-da

Re: upgrade into a jsp:include problem

2002-09-26 Thread Tom Sherrod
String _welcomeIntro ="../includes/intro.html"; Just a snippet from the jsp, but that's how it's used. As for recompiled, that's one thing I've learned with jrun and tomcat, wipe out work to get a clean slate going. Yes, java and class had the same datestamp, after starting tomcat. Thanks fo

Re: upgrade into a jsp:include problem

2002-09-26 Thread Brad Plies
What is the type of content you are including? .jsp, .html, .java? Mine still work after the upgrade, but they are all .jsp includes. Still, you are right, includes shouldn't stop working unless of course, how they were being used was a bug :). Have you had the 'parent' jsp (the one with the i

upgrade into a jsp:include problem

2002-09-26 Thread Tom Sherrod
Just started putting some applications in tomcat 4.0.4. Things are working nicely. I see the notice about upgrading, and since things are just jsp, nothing complicated, I decide to give 4.1.12 a try. Same configs, same machine, same applications, etc... jsp:include calls stop working across the