Notes on JSP page Parameters

Source: Internet
Author: User
  1. In many cases, a parameter on the current page is passed to the next page for convenience. Note that the parameter name cannot contain ".". The following is correct:

    < Input Type = "Hidden" Name = "VO. prdlstid" Value = '<C: Choose > < C: When Test = "$ {Empty Param. pkid }" > </ C: When > < C: otherwise > < C: Out Value = "$ {Param. pkid }" /> </ C: otherwise > </ C: Choose > '>

You cannot use parameters such as VO. prdlstid.

2. If you need to use a format similar to VO. prdlstid, you can refer to the following example:

Its jump to the List page is: http: // 127.0.0.1: 9081/techtask/missionInfo-result.do? Method = missioninfolist4samplemanagement4zl4area & VO. gtrefusenotfinishnum = 1

The VO. gtrefusenotfinishnum parameter is passed here as 1. Then, on the List page of missioninfolist4samplemanagement4zl4area, you can use the following method to display the value of this parameter:

 

Code

< Input Type = "Hidden" Name = "VO. gtrefusenotfinishnum" Value = '<Logic: notequal Name = "Missioninfoform" Property = "VO. gtrefusenotfinishnum" Value = "-1" > < BEAN: Write Name = "Missioninfoform" Property = "VO. gtrefusenotfinishnum" /> </ Logic: notequal > '>

 

 

The above link has already passed VO. gtrefusenotfinishnum to VO. (Note: selectlist links on the list page are usually not qualified by default. If you want to open the list, you must use VO. gtrefusenotfinishnum as the default value, which must be written as follows:

 

Code

< IFRAME Name = "Result" ID = "Result" Scrolling = "Yes" Width = "100%" Height = "100%" SRC = '/Techtask/missionInfo-result.do? Method = missioninfoselectlist4samplemanagement4zl4area <logic: notequal Name = "Missioninfoform" Property = "VO. gtrefusenotfinishnum" Value = "-1" > & Vo . Gtrefusenotfinishnum = < BEAN: Write Name = "Missioninfoform" Property = "VO. gtrefusenotfinishnum" /> </ Logic: notequal > 'Frameborder = 0> </ IFRAME >

 

 

) Otherwise, Vo. gtrefusenotfinishnum in the list page will not be passed as a condition to the search result when the list is opened for the first time.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.