Hello there,
I have a quick question..
I know you can access a JSP implicit object inside the JSP page using scriplets...such as
now my question is, can this request object be accessed from somewhere else outsite the JSP page. Specifically, I am developing custom tags (i am new to this but have some fundamentals), ie from inside the doTag() in my TagHandler.java class (which extends SimpleSupport)...from withing that method, i want to access the JSP implicit objects, precisely the request and session ones.
Is this possible? if yes, how? (a code snippet will be helpful)
if impossible, what's the logic behind blocking access to these objects specially from within tag handlers? I mean custom tag handlers do tasks on behalf of custom tags inside the JSP page, so it would be logical for these handlers to have access to these implicit object (this is simply my speculation on the matter)
thanks in advance
I have a quick question..
I know you can access a JSP implicit object inside the JSP page using scriplets...such as
now my question is, can this request object be accessed from somewhere else outsite the JSP page. Specifically, I am developing custom tags (i am new to this but have some fundamentals), ie from inside the doTag() in my TagHandler.java class (which extends SimpleSupport)...from withing that method, i want to access the JSP implicit objects, precisely the request and session ones.
Is this possible? if yes, how? (a code snippet will be helpful)
if impossible, what's the logic behind blocking access to these objects specially from within tag handlers? I mean custom tag handlers do tasks on behalf of custom tags inside the JSP page, so it would be logical for these handlers to have access to these implicit object (this is simply my speculation on the matter)
thanks in advance