1. Single string

@RequestMapping(value = "list", method = RequestMethod.GET)
public ModelAndView list(Integer investorApplyId) {
ModelAndView model = new ModelAndView(
"daybusiness/InvestorApplyDetail/list");
model.addObject("investorApplyId", investorApplyId);
return model;

}

This sentence  model.addObject("investorApplyId", investorApplyId);   Is the value received

Foreground page How to write it : ${investorApplyId }

Example :

<input type="hidden" style="float: left" value="${investorApplyId }" id="investorApplyId"
name="investorApplyId"></input>

java More articles about the way the controller transmits values to the page

  1. iOS Page value transfer mode

    The common way of value transmission is as follows : 1. entrust delegate The way : 2. notice notification The way : 3.block The way : 4.UserDefault Or file mode : 5. Singleton mode : 6. By setting properties , Implementation page ...

  2. MVC Summarize the way to pass values to the page (2)

    MVC Summarize the way to pass values to the page Summary findings ASP.NET MVC in Controller towards View There are many ways to transfer values 6 Kind of , Namely : ViewBag ViewData TempData To the ordinary View The page sends a Mo ...

  3. ios Common page value transfer methods

    iOS There are many kinds of value segmentation between pages , There are three basic ways to transfer values : entrust Delegate Pass value . notice NSNotification Pass value .Block Pass value , Other things you might encounter in a project are :UserDefault Or file mode ...

  4. MVC Summarize the way to pass values to the page (1)

    ViewData Pass value . HomeController.cs Co de: public ActionResult Index() {       ViewData["Title"  ...

  5. MVC Summary of page value transfer methods

    MVC Page values in , Usually refers to Controller and view Data transfer between , There are several ways that are often used , Summarized below : One .Controller----------->View( Controller to view ) 1.View ...

  6. MVC Summarize the way to pass values to the page

    Summary findings ASP.NET MVC in Controller towards View There are many ways to transfer values 6 Kind of , Namely : ViewBag ViewData TempData To the ordinary View The page sends a Model object Pass to strongly typed pages ...

  7. iOS Single instance of multi page value transfer mode singleton

    // To achieve single instance value passing , You have to create a new class as a singleton Provides class methods for creating objects of this class ( Because it's going to be alloc After opening up memory space, assign a value ). All in .h The method is declared in the file + (instancetype)defaultUII ...

  8. Java How to transfer parameter values in

    Reprinted from  https://blog.csdn.net/SEU_Calvin/article/details/70089977 1.   What do you think the following program will output public static void  ...

  9. ASP.NET Page value transfer mode

    http://www.cnblogs.com/zhangkai2237/archive/2012/05/06/2486462.html http://www.cnblogs.com/xiaoyusmi ...

Random recommendation

  1. blog Move

    For some personal reasons ,2 Continue to write after five years blog, however blog Moved to github On ! The specific address is : http://www.94geek.com Content to linux Of c Development , Distributed storage and distributed computing , And architecture .

  2. Three asynchronous programming methods you must master callbacks,listeners,promise

    Catalog : Preface Callbacks Listeners Promise Preface coder We all know ,javascript The language runtime environment is single threaded , This means that no two lines of code can run at the same time . When multitasking is going on at the same time , In essence ...

  3. About Java Threads

    1 Concept Generally speaking , We wrote Java The code is run as a process , The code is “ Program ”, And the program in execution is “ process ”. Process is an independent unit of resource allocation and scheduling . Threads are at the next level of the process , It's the smallest in the system ...

  4. eclipse add to jar Package mode

    Reference address :http://blog.csdn.net/mazhaojuan/article/details/21403717

  5. hdu1754 Base line tree

    I Hate It Time Limit: 9000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total S ...

  6. OR1200 data Cache Introduce

    The following excerpt < The steps scared me to the core -- soft -core Interior design and analysis of processor > A book The last chapter analyzed ICache modular . This chapter will analyze DCache modular . First point out DCache Module comparison ICache What's special about . Because of this ...

  7. svn Local directory structure for window

    The content of the demonstration : Use svn Directory structure for backup, official version and repair version , Final merge fix version . The version on the trunk . Using tools : visualSVN server Server software tools TortoiseSVN Client tools 1. Server's ...

  8. 201521123084 《Java Programming 》 The first 11 Weekly learning summary

    1. This week's learning summary 1.1 In the way you like ( Mind mapping or something ) Summarize the related content of multithreading . 2. Written work This time PTA The problem set is multithreaded 1. Exclusive access and synchronous access Complete the problem set 4-4( Exclusive access ) And 4-5( Synchronous access ) ...

  9. shell Script recursive compression practice

    #!/bin/bash Src_Path=/data/www/logs Dst_Path=/data/www/logs_bak for rfile in `find $Src_Path/ -depth ...

  10. HDU 5835 Danganronpa greedy

    Danganronpa Topic linking : http://acm.hdu.edu.cn/showproblem.php?pid=5835 Description Chisa Yukizome works as ...