Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Would like to send hyperlink text value to another jsp

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Would like to send hyperlink text value to another jsp

    Hi,

    Would like to send hyperlink text value to another jsp, The same value checked in mysql query and retrieve the relevent data from table displayed in jsp page.
    Pls give code snippest on this asap.

    Thanks in advance.
    Last edited by Rajiv; July 28th, 2011 at 04:38 AM.


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 286 Times in 225 Posts
    Blog Entries
    4

    Default Re: Would like to send hyperlink text value to another jsp

    I am a bit confused..

    Do you want to be able to add a URL to a mySQL database? Then this URL displayed on a JSP page?
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  3. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Would like to send hyperlink text value to another jsp

    No My Dear Friend ,

    I have one.jsp page in which i have an hyperlink like 2007.15.06 after clicking on this link same value get passed to another jsp. database table values are fetched with this value by writing select query.
    Last edited by Rajiv; July 28th, 2011 at 06:58 AM.

  4. #4
    Junior Member
    Join Date
    Jul 2011
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Would like to send hyperlink text value to another jsp

    awaiting for reply.................

  5. #5
    Junior Member
    Join Date
    Apr 2011
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Would like to send hyperlink text value to another jsp

    in hyper link display it in below format
    <a href="anotherpage.jsp?date=2007.15.06">2007.15.06</a>
    And in anotherpage.jsp get the argument using resquest.getParameter("date");

Similar Threads

  1. send image (logo) and text & barcode to the Zebra Printer
    By ehsanlinux in forum What's Wrong With My Code?
    Replies: 3
    Last Post: June 11th, 2011, 05:41 AM
  2. Button Text into Label text
    By bluewhale in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 6th, 2011, 10:15 AM
  3. Text file to text area and Radiobuttons?
    By donaldmax in forum What's Wrong With My Code?
    Replies: 9
    Last Post: May 27th, 2011, 04:45 AM
  4. [SOLVED] Send a F5 command
    By mds1256 in forum Object Oriented Programming
    Replies: 2
    Last Post: March 18th, 2011, 03:23 AM
  5. Embedding a hyperlink within a JFrame
    By KiwiProg in forum AWT / Java Swing
    Replies: 1
    Last Post: January 2nd, 2011, 11:19 PM