Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

this help (urgent!!!)

Status
Not open for further replies.

GoSooJJ

Programmer
Feb 24, 2001
76
US
hi again, ^^

now i have problem with passing url values. this is some of my code:

String detail = "../main/metric.jsp?titleName=Space Vehicle Cost ($1M)&view=cost";
<jsp:include page=&quot;../wpMain/titleBar.jsp&quot; flush=&quot;true&quot;>
<jsp:param name=&quot;detail&quot; value=&quot;<%= detail %>&quot;/>
</jsp:include>

when i do above code, i can not get the 'view' part. it just ignored the after '&' sign. anybody has this problem?
please help me...

Thx again, JJ //
 
maybe you8 have to pass the ampersand as a special three character code (by parsing it) as you do when you send a post operation etc??
 
Hi
Please encode the string using urlencoder
and then try to access it in other jsp pages
Shyam Shyam
 
thx Pipk and Shyam.
Shyam, u r right, i used this method to fixed prob.
again, thx so much!!!

JJ //
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top