J
joseph.berthe
Hi,
I want to create a Custom Tags which display a login page.
I have created a file with all graphical stuffs. Inside that file I
want to put on some JSP functions such as using variables or other
tags.
Furthermore I want to create a custom tags which able to include that
graphical file.
My problem is my graphical file is included like only text, so all JSP
stuff are not used.
I have already tested :
-- pageContext.include(myFile.jsp);
-- pageContext.include(myFile.jsp, true);
In doAfterBody
-- BodyContent body = getBodyContent();
JspWriter wout = body.getEnclosingWriter();
wout.println("<%@ include file=\"formlogin.jsp\" ");
body.clearBody();
Obviouly the problem comes from the compilation schedule. I mean when I
want to write down JSP stuff inside my page, it is to late, the
compiler has already compile the files and it think it is just text.
Thanks
I want to create a Custom Tags which display a login page.
I have created a file with all graphical stuffs. Inside that file I
want to put on some JSP functions such as using variables or other
tags.
Furthermore I want to create a custom tags which able to include that
graphical file.
My problem is my graphical file is included like only text, so all JSP
stuff are not used.
I have already tested :
-- pageContext.include(myFile.jsp);
-- pageContext.include(myFile.jsp, true);
In doAfterBody
-- BodyContent body = getBodyContent();
JspWriter wout = body.getEnclosingWriter();
wout.println("<%@ include file=\"formlogin.jsp\" ");
body.clearBody();
Obviouly the problem comes from the compilation schedule. I mean when I
want to write down JSP stuff inside my page, it is to late, the
compiler has already compile the files and it think it is just text.
Thanks