You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by So...@aol.com on 2000/11/16 18:46:13 UTC
jsp 1.0 include
Hi 2 quick questions, we just switched from jsp .91 to 1.0 believe it or not.
I am trying to take advantage of the include tag , using it to set the header
of our web pages. But I get strange behavior like the included jsp being
almost like the background of the page, with the actual jsp code (code
outside of the include) being on a top layer. Anyone know why? Are u supposed
to use html tr or td tags around the include to place it properly on the
page? Also I get errors when I try to include a servlet. The servlet does not
write html directly , but forwards to another jsp. Could this be why? Can you
only include a servlet that writes its own html, but not a servlet that then
forwards to another jsp? Any thoughts would be so helpful. Thanks
Re: jsp 1.0 include
Posted by Avatar Singh <Av...@Youngsoft.com>.
Make sure that .jsp is as it is used and not .Jsp. The extension is case
sensitive as far as Windows NT goes. Linux or Unix would give 404 but NT
returns the code to the browser.
Avatar
----- Original Message -----
From: <So...@aol.com>
To: <ge...@jakarta.apache.org>
Sent: Thursday, November 16, 2000 12:46 PM
Subject: jsp 1.0 include
> Hi 2 quick questions, we just switched from jsp .91 to 1.0 believe it or
not.
> I am trying to take advantage of the include tag , using it to set the
header
> of our web pages. But I get strange behavior like the included jsp being
> almost like the background of the page, with the actual jsp code (code
> outside of the include) being on a top layer. Anyone know why? Are u
supposed
> to use html tr or td tags around the include to place it properly on the
> page? Also I get errors when I try to include a servlet. The servlet does
not
> write html directly , but forwards to another jsp. Could this be why? Can
you
> only include a servlet that writes its own html, but not a servlet that
then
> forwards to another jsp? Any thoughts would be so helpful. Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>