JSP Include Issues  
Author Message
thehuby





PostPosted: 2005-8-25 5:46:00 Top

java-programmer, JSP Include Issues I have a web page using an include file. I am passing params to the
include page using jsp:param but am having some difficulty.

Locally (Windows PC/Tomcat Server, JBuilder) I can include ™ in
the heading1 param - when I put this live (Linux/Tomcat Server) the
heading1 text is cut off after the &. There is no error message from
Java (unless it is a System.out.print type error).

Does anyone have any suggestions as to why this is not working and how
I can resolve it?

<jsp:include flush="true" page="/inc/nav.jsp">
<jsp:param name="heading1" value="Business Web Design:
<em>Functional, Findable, Accessible ™</em>" />
<jsp:param name="pageTitle" value="Home" />
</jsp:include>

Regards,

Rick
www.e-connected.com

 
Andrew Thompson





PostPosted: 2005-8-25 14:57:00 Top

java-programmer >> JSP Include Issues On 24 Aug 2005 14:46:18 -0700, thehuby wrote:

> I have a web page using an include file. I am passing params to the
> include page using jsp:param but am having some difficulty.
>
> Locally (Windows PC/Tomcat Server, JBuilder) I can include ™

Do you mean this character?
<http://www.physci.org/codes/char.jsp?char=8482>
Do you have success with the alternate character?

--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"If you don't love me baby, you better act like you do.."
Screamin' Jay Hawkins 'I Need You'
 
thehuby





PostPosted: 2005-8-25 15:54:00 Top

java-programmer >> JSP Include Issues Hmmm.

Similarly it works locally but online gives me the output ?,?!

Very confused....

Rick

 
 
Andrew Thompson





PostPosted: 2005-8-25 16:15:00 Top

java-programmer >> JSP Include Issues On 25 Aug 2005 00:54:19 -0700, thehuby wrote:

> Similarly it works locally but online gives me the output ?,?!

OK.. random shot.. Try this one..

<jsp:include flush="true" page="/inc/nav.jsp">
<jsp:param name="heading1" value="Business Web Design:
<em>Functional, Findable, Accessible &trade;</em>" />
<jsp:param name="pageTitle" value="Home" />
</jsp:include>

(Note, it *is* different to your first example..)

--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"If I could find the reason, I'd know the answer why"
Status Quo 'Gerdundula'
 
 
thehuby





PostPosted: 2005-8-25 17:32:00 Top

java-programmer >> JSP Include Issues Won't work - whatever the issue is it seems to drop everything after
(and including) the &.

I thought Java was a lot more portable - these are the sorts of issues
I usually come up against with PHP!