How to store variables in the jsp page scope with the spring 2.5.x framework?
This has compile errors.
What is the proper way to initialize pageContext?
Description Resource Path Location Type
The local variable pageContext may not have been initialized HwController.java /com.mycompany.monitoring.war/src/com/mycompany/monitoring/war line 59 Java Problem
Why not just a request attribute? Or put it in the ModelAndView, which is probably more appropriate if you're using SpringMVC anyway.
posted 10 years ago
David Newton wrote:Why not just a request attribute? Or put it in the ModelAndView, which is probably more appropriate if you're using SpringMVC anyway.
I want to store some variables (e.g. number of rows per table) at page scope in Spring so that each page has its own group of variables. What is the proper way to do that? My approach of using the PageContext for that purpose may or may not be wrong.
What a stench! Central nervous system shutting down. Save yourself tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop