Results 1 to 2 of 2

Thread: What does this means?

  1. #1
    Join Date
    Jun 2005
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What does this means?

    String id = request.getParameter("itemID");
    String buttonPressed = request.getParameter("Submit");
    String updatePressed = request.getParameter("input");
    String quantity = request.getParameter("Sum");
    Can anyone tell me wat does getParameter means??? Thank you....

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What's with this sudden influx of JSP related questions? It's scary!

    Anyway, I'll do the obligatory and point you here:
    http://www.google.co.uk/search?hs=DR...G=Search&meta=

    I believe that the request.getParameter simply looks at the URL and extracts a passed parameter - for example

    URL = www.cr3ation.co.uk/index.jsp?itemID=539
    String id = request.getParameter(itemID");

    Result : id becomes 539.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

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