| Author |
Question - build URL using escape characters
|
Melinda Savoy
Ranch Hand
Joined: Jun 21, 2005
Posts: 375
|
|
I am using a product called displaytag to create tables in my jsp. It is working fine but now I have to create a link in one of the columns that display a requisition number. My problem is that I am having syntax problems trying to use escape characters to properly create my URL for this link. Here is what I have in my java code: What I get when I hover over the link in my JSP is: http://thr00188b1bb85c:8080/reqs This is half right but I do can't seem to get the rest of it. If anyone has any experience with escape characters and can tell me what I'm doing wrong it would be greatly appreciated. Regards.
|
 |
Bill Shirley
Ranch Hand
Joined: Nov 08, 2007
Posts: 457
|
|
|
I suspect you're looking for the HTML & JavaScript forum.
|
Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
What's that \" doing after regs? That closes the href attribute! It should probably be something like this: The entire URL must be part of the href, so you can't put the closing quote until after entity.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Melinda Savoy
Ranch Hand
Joined: Jun 21, 2005
Posts: 375
|
|
Thanks so much for the help. Here is how I made my fix in the event it helps someone else: Thanks again for all the help. Regards.
|
 |
 |
|
|
subject: Question - build URL using escape characters
|
|
|