Results 1 to 2 of 2
  1. #1
    Felissa is offline Member
    Join Date
    Jun 2007
    Posts
    95
    Rep Power
    0

    Default Servlet that receive n parameters

    My doubt is the following one:
    How can I do that servlet receive n parameters?

    Because I have jsp that generates input txt from one query to the data base and the names of input are generated from a name for example t_(variable_that_increases), and these data I have them to send to servlet, but the only form in which I have used servlets is when they receive an amount of fixed parameters.

    Felissa:o

  2. #2
    Daniel is offline Member
    Join Date
    Jun 2007
    Posts
    91
    Rep Power
    0

    Default

    You can use a single parameter using one collection, and there you send what you need. Perhaps a Hashmap is to you useful because you could use constants for the key.
    Greetings

    Daniel

Similar Threads

  1. Replies: 1
    Last Post: 01-28-2008, 10:49 AM
  2. Replies: 0
    Last Post: 01-27-2008, 08:17 PM
  3. PC receive data via Bluetooth using JAVA
    By toncoolx in forum New To Java
    Replies: 0
    Last Post: 11-27-2007, 04:50 AM
  4. Replies: 1
    Last Post: 08-07-2007, 03:47 PM
  5. get parameters in jsp
    By cecily in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-05-2007, 04:29 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
  •