way of setting and retrieving a Page object via request attribute
Hi,
It looks like setting and retrieving a request attribute is a good way to pass data between several .jsp files in a component. I am trying to pass a Page object and keep getting a "type mismatch". I'm sure its something simple, but I couldn't find that exact use case googling around a bit.
So in jsp 1 the setting code is:
request.setAttribute("page", page);in jsp 2 the getting code is:
Page myPage = request.getAttribute("page");Thanks!
- Dmitry