Questions tagged [http-request-parameters]

The parameters that are mapped to the servlet request when they are parsed from the http request.

The parameters that are mapped to the servlet request when they are parsed from the http request. These parameters represent a query string when a method GET is used and a body of the request if a method POST is used.

276 questions
0
votes
0 answers

how to use request.getparametervalues for update cart?

in my cart page i show my product using an enhance for loop and therefore all input fields have same name as example -
0
votes
1 answer

How to send two values in a jsp with this href code to another jsp?

I have one jsp called "first-jsp" containing this code: <%out.print(id);%> As you can see, first-jsp "sends" the id variable to another jsp page, called "second-jsp". From second-jsp I can…
NoobNe0
  • 385
  • 1
  • 6
  • 20
0
votes
0 answers

How to pass
  • value as request parameter
  • I would like to send value of a
  • to server side using jQuery $.get. HTML:
    hello
  • hiboss
    • 317
    • 6
    • 15
    0
    votes
    2 answers

    Get HTTP request parameters in Spring HTTPMessageConverter

    I am using Spring's AbstractHttpMessageConverter to allow me instantiate my own object. Converter public class PaypalIPNHttpMessageConverter extends AbstractHttpMessageConverter { public PaypalIPNHttpMessageConverter() { …
    tomaytotomato
    • 3,788
    • 16
    • 64
    • 119
    0
    votes
    1 answer

    How to access dot-seperated request parameters on JSP by using JSTL tag

    Below is an URL with a dot-separated request parameter pager.offset. http://localhost:8081/panelistsListing?panel=&pager.offset=10 In JSP Page I was using that to reflect values in form fields request.getParameter("pager.offset"); /…
    Zigri2612
    • 2,279
    • 21
    • 33
    0
    votes
    1 answer

    How to send canvas object to java using ajax

    I want to send a canvas image object to the server using ajax. After creating the canvas image var dataURL = canvas.toDataURL(); $.ajax({ type: "POST", url: "uploadProfPic", data: { userId: user, imgBase64: dataURL } }) in the…
    Subho
    • 921
    • 5
    • 25
    • 48
    0
    votes
    1 answer

    parameters are not passed in jsp

    I'm developing a breadcrumb on my website, I use following code in my jsp:
    KeinHappyAuer
    • 173
    • 1
    • 1
    • 9
    0
    votes
    1 answer

    handling the request parameters from id elements in server side

    In the server side we fetch the form parameters by the form element name. Similarly how to fetch the form parameters in case the input element does not have the name attribute and has the id attribute?
    zilcuanu
    • 3,451
    • 8
    • 52
    • 105
    0
    votes
    1 answer

    How to pass String array in @RequestParam in REST GET API call through POSTMAN or DHC REST application?

    I have following REST controller in Java Spring Application: @RequestMapping( value = "/api/getApplication/{me_userId}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) public Object getApplication( …
    Renat Gatin
    • 6,053
    • 5
    • 37
    • 58
    0
    votes
    1 answer

    How to pass request parameter via h:commandLink

    I have two forms in my xhtml page, the first includes a commandLink which calls a ManagedBean method :

    0
    votes
    0 answers

    GET parameter not present in request parameter map

    I have the following URL: /login.xhtml?tipo=ind I am trying to access the GET request parameter using the following code: Map parameterMap = (Map)…
    Erick
    • 823
    • 16
    • 37
    0
    votes
    1 answer

    Spring Same URL Different Request Parameter

    public String searchUserById(@RequestParam(value = "fileType", required = true) String fileType) { System.out.println(fileType); return "downloadexcel"; } public String searchUserByName(@RequestParam(value = "fileType", required = true)…
    Manikanta Reddy
    • 849
    • 9
    • 23
    0
    votes
    1 answer

    Access Request Parameters in invoked script of Python CGIHTTPServer

    A python script of mine is successfully invoked from CGIHTTPServer. How may we access the request parameters within that script? I have done a number of rounds of googling on this topic. I am not in a position to do mod-cgi on an Apache server for…
    WestCoastProjects
    • 58,982
    • 91
    • 316
    • 560
    0
    votes
    1 answer

    PrimeFaces Datatable filtering removed when sorting with o:form includeRequestParams="true"

    this is an issue following this one: PrimeFaces datatable.filter() and url parameter is use PrimeFaces-5.1 and omnifaces-2.1 to render a datatable with pagination, filtering and sorting while using request parameters. my datatable is constructed…
    0
    votes
    2 answers

    The method setRequestProperty(String, String) in the type URLConnection is not applicable for the arguments (String, ArrayList)

    I am trying to send multiple images to server but,so I am storing all the images in one arraylist,but after that when I need to send to server,it shows error near line ,,...................... conn.setRequestProperty("image", multimgss);…
    user4767117