reset password
Author Message
kknaur
Posts: 540
Posted 15:48 Nov 02, 2010 |

I know you can you bind objects to the request using the new ModelAndView().addObject(), but is there a way to set objects on the application level so that they can be accessed by other JSP pages?

cysun
Posts: 2935
Posted 15:57 Nov 02, 2010 |

You shouldn't do that in the first place. Application scope is pretty useless in real world applications - the database is effectively your application scope.