SoFunction
Updated on 2025-03-08

Solution to null

() Solution to null value

Updated: June 15, 2014 16:20:02 Submission: whsnow
In the background, the value is null by Request, because only the id attribute is set, and the value is called the name attribute. The problem occurs here
The reason is: I only set the id attribute

When using javascript on JSP page, use the ID attribute, but when using the Request value in the background, use the name attribute. The problem is here.
  • request
  • getParameter

Related Articles

  • A preliminary study on JSP security

    A preliminary study on JSP security...
    2006-10-10
  • java SOAPHEADER's web service

    In the client request that requires java code in the business, I noticed that I need to send SOAPHEADER, and write the solution here.
    2008-12-12
  • Detailed explanation of nine built-in objects in Java's JSP tutorial (Part 2)

    This article mainly introduces the detailed explanation of nine built-in objects in Java JSP tutorial (part one piece). The content of this article is detailed, and you can better understand the relevant knowledge of built-in objects through cases. This module is divided into three parts. This is a middle class and explains three contents. Friends who need it can refer to it.
    2023-01-01
  • A simple solution to JSP report printing

    A simple implementation method for JSP report printing. If you have a better way, you can post and explain it.
    2009-09-09
  • Detailed explanation of custom taglib in jsp

    Below, the editor will bring you a detailed explanation of custom Taglib in jsp. The editor thinks it is quite good, so I will share it with you now and give you a reference. Let's take a look with the editor
    2016-06-06
  • Five JSP page jump methods detailed explanation

    There are five methods for implementing page jumps by jsp. You can choose according to your needs.
    2009-04-04
  • JSP * Code

    JSP * code...
    2007-03-03
  • Solution to not loading the page with src path in frameset layout

    When using frameset layout, the page with the src path in the frame is not loaded. I believe everyone has any feelings. The following is the specific solution. Interested friends can refer to it.
    2013-10-10
  • Example of using JDBC to access SQL Server 2008 database in JSP

    This article mainly introduces the example of using JDBC to access SQL Server 2008 database in JSP. This article focuses on JSP code examples. Friends who need it can refer to it.
    2014-09-09
  • jsp development using s:select tag in structs2

    This article mainly introduces the relevant information on the use of the s:select tag in jsp development. Friends who need it can refer to it
    2017-08-08

Latest Comments