Hello peeps,
Could anyone tell me if it is possible to call the include() method (of RequestDispatcher) from inside a
JSP, please?
I have found it useful in the past, but cannot seem to get it to work properly at the moment. Only include() from a
servlet appears to work, rather than throw an (unhelpful) exception.
My main aim is to have a piece of
Java being executed within a JSP which decides at that time which JSP should be included.
I understand this (or something similar) is possible with the jsp:forward tag, but with jsp:include?
Thanks for any help,
Matt.