Request GetParameter does not get the values of the text

Updated on society 2024-06-04
8 answers
  1. Anonymous users2024-02-11

    When there is a form attribute enctype="multipart/form-data", the encoding format has changed, servlet"username") is not able to get the value of the property.

    You can do this: for(fileitem item :list) {if (!.)

    File streams. else{

    Non-file streams. string value=;

    If you need to convert the code.

    value = new string("iso-8859-1"),"utf-8");

    And then there are some plugins that can be used to upload files to solve these problems, so be yourself!

    Useful, thanks).

  2. Anonymous users2024-02-10

    GetParameter is used to get the parameters in the URL, and you use the Post method.

  3. Anonymous users2024-02-09

    "marc_no")

    count")

    to get the corresponding value.

    session:1.It represents a session between the client and the server, which will become invalid when the browser is closed, and will also expire when the user does not operate for a long time, 2

    Each user has their own seassion, and seassion is used for the sharing of multiple pages.

    The main thing is to store data that you want to share across multiple pages.

    void setattribute(string key, object value): Stores the value of an object in the application as a key.

  4. Anonymous users2024-02-08

    Look at your ** do you want to submit the value of the foreground page to the backend, and the backend obtains it through request, right?

    Then you have to put the value of the EntityNumber in the submitted JS into the passed arguments, so that you can get it in the background.

    The most common is to put it in? entitynumber=aaa, so the background"entitynumber"You can get "aaa".

  5. Anonymous users2024-02-07

    Your ** can only get sign=6"sign");But the classname cannot be obtained.

    Because the A tag you're using isn't a form. However, you can change the following to use js for example: Query.

    Query function xs().

    That's okay.

    Pop-ups. function openwin(f,n,w,h,s)

  6. Anonymous users2024-02-06

    Check the request parameters to see if there is a searchtext parameter.

  7. Anonymous users2024-02-05

    Check whether the parameter name is correct.

  8. Anonymous users2024-02-04

    Is this problem solved?

Related questions