Results 1 to 2 of 2
  1. #1
    hisouka is offline Member
    Join Date
    Aug 2008
    Posts
    13
    Rep Power
    0

    Default Retrieving a parameter through URL.

    hi. how can i retrieve a parameter variable on URL and save it to a string?

    how can i retrieve username variable and save it to a string variable.

  2. #2
    sagarbirari is offline Member
    Join Date
    Sep 2008
    Posts
    17
    Rep Power
    0

    Default

    hello
    i assume that you have URL with name variable
    just you need to use request object...
    like this
    String name = request.getParameter("name");

Similar Threads

  1. Passing short value as parameter
    By javanewbie83 in forum New To Java
    Replies: 16
    Last Post: 07-16-2008, 06:27 AM
  2. JDO - Retrieving a persisted object
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-17-2008, 08:46 AM
  3. retrieving Properties
    By bugger in forum New To Java
    Replies: 1
    Last Post: 01-13-2008, 10:44 PM
  4. arugment/parameter
    By ravian in forum New To Java
    Replies: 5
    Last Post: 01-04-2008, 10:43 AM
  5. Retrieving data from the DB
    By yuchuang in forum JDBC
    Replies: 2
    Last Post: 11-27-2007, 09:59 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
  •