Results 1 to 4 of 4
Thread: How to reterive string from URL
- 10-05-2009, 01:32 PM #1
Member
- Join Date
- Sep 2009
- Posts
- 32
- Rep Power
- 0
- 10-05-2009, 02:00 PM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Using what?
Is this a URL used to access your JSP, or something, or is this just some wild text that may be a url that you are feeding in as a String to some parsing program, etc., etc, etc.
What is the context we are talking about here?
- 10-05-2009, 02:07 PM #3
Member
- Join Date
- Sep 2009
- Posts
- 32
- Rep Power
- 0
Yes Sir this URL is used to access a jsp with viewConfirmedSubscriber.action action in struts 2.0 I want a part from this URL that is confirmtab how can i get it.
function viewConfirmedSubscriber(url){
url = url + "&confirmtab=true";
location.href=url;
}
<li><input class="subcriberbutton" type="button"
onclick="viewConfirmedSubscriber('viewConfirmedSub scriber.action?mailingListId=<c:out value="${mailingListId}" />');"
value="Confirmed Subscribers" id="confirm" /></li>
- 10-05-2009, 02:58 PM #4
Similar Threads
-
combine string[] into string like perl's join function
By tekberg in forum Advanced JavaReplies: 9Last Post: 02-23-2009, 01:05 PM -
Let eclipse warn about a semicolon after an if statement and string == string?
By foobar.fighter in forum EclipseReplies: 5Last Post: 01-11-2009, 10:12 AM -
Using java.util.Scanner to search for a String in a String
By Java Tip in forum Java TipReplies: 0Last Post: 11-20-2007, 04:59 PM -
Help with insertName(String name) and deleteName(String name)
By trill in forum New To JavaReplies: 1Last Post: 08-07-2007, 07:29 AM -
I can't seem to pass the value of a string variable into a string array
By mathias in forum Java AppletsReplies: 1Last Post: 08-03-2007, 10:52 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks