Live Free, Live Happy
I get an error saying that /<context>/nextpage.jsp is not available.
if you refer to the code above, I tried ${anObject_NotAString.field}
Originally posted by Bear Bibeault:
Why did you name the attribute "attr" is that's not how you wanted to refer to it? In other words, given the code you showed, the EL reference to the scoped variable would be ${attr}.
Live Free, Live Happy
Originally posted by Bear Bibeault:
As I said, the context shouldn't be there, so when you forward to "/appcontext/jstl/overview.jsp", the resource that it's trying to find is "/appcontext/appcontext/jstl/overview.jsp", which of course does not exist.
So in such an abstracted environment, why would you make one JSP know the URL of another? I would factor out the URL-ness of where the next target should be from the pages and put it in the controllers themselves.
Live Free, Live Happy
The name of the page may not be the same in French and in English.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |