Results 1 to 3 of 3
  1. #1
    shyameni is offline Member
    Join Date
    Jul 2009
    Location
    Kandy, Sri lanka
    Posts
    16
    Rep Power
    0

    Arrow get data from hyperlink

    hey,
    can any one help me with how to get data sent from hyperlink as follows from the target page
    <a href="ad.jsp?date=<%=todayDate%>">

    what is the function i should call to assign the sent data to String object?

  2. #2
    javanar is offline Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    0

    Default

    if you want to get the date you assigned, you can get it by request.getParameter("parameter_name"). This returns a string object. Than use it to build new Date with calendar class.

  3. #3
    shyameni is offline Member
    Join Date
    Jul 2009
    Location
    Kandy, Sri lanka
    Posts
    16
    Rep Power
    0

Similar Threads

  1. How to create a hyperlink from a text in Java
    By javanewbie in forum New To Java
    Replies: 2
    Last Post: 06-05-2009, 02:12 PM
  2. How to write a hyperlink in properties file?
    By MAGNUM in forum New To Java
    Replies: 1
    Last Post: 02-12-2009, 04:16 AM
  3. Hyperlink in swing
    By aneesahamedaa in forum AWT / Swing
    Replies: 1
    Last Post: 07-28-2008, 03:41 PM
  4. [SOLVED] Hyperlink
    By Mir in forum New To Java
    Replies: 91
    Last Post: 07-09-2008, 11:37 AM
  5. Hide hyperlink address on status bar
    By simon in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-24-2007, 10:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •