I have found that URL encoding parameters to the JSP URL will hose up the
JSP mapping with IIS.  Basically IIS does not see the URL as a JSP URL and
will not pass the URL to JRun.  I haven't tested this extensively, but I hit
upon this yesterday myself.  Definitely something that needs to be
addressed.  If someone has some other information pertaining to URL encoded
query strings and making this work with JRun, please speak up.


-- chris --


> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Wine Vaughn
> Sent: Thursday, July 01, 1999 12:40 PM
> To: [EMAIL PROTECTED]
> Subject: JSP include question
>
>
> My question is about how <jsp:include...> works (with JSP 1.0).
> (I'm using
> JRun 2.3.2 on NT w/IIS.) Here's my scenario:  I've got three JSPs.
> Main.jsp includes either A.jsp or B.jsp, depending on some information
> retrieved from our back end.  So Main.jsp has some code in it that looks
> like this:
>
> <jsp:include page=<%= pageToInclude %> />
>
> Now, this works okay and as expected.  However, I want to do more
> than this.
> I want to send particular parameters to each include JSP, like this:
>
> <jsp:include page=<%= pageToInclude %> + "?param1=value1&param2=value2" %>
> />
>
> Unfortunately, this does work.  Everything compiles, but at runtime the
> included JSP cannot retrieve these parameters.  Is this because
> I'm reusing
> the original request?
>
> Is there some other way to accomplish this?  Basically, I need a
> way to pass
> dynamic information to an included JSP.
>
> Do you have some insight on this?  I couldn't figure out if this
> is illegal
> or not from reading the specs and JavaDocs....
>
>
> Vaughn Wine
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to