Browse by Tags

All Tags » JSTL (RSS)

<c:import url=""/> just so darn powerful

I was doing a small project last night. Youm wouldn't believe how much the ol <jsp:include page=""/> tag has given me problems. First of all, what I was doing was include a JSP page. That included JSP page has a <c:import page=""/> call in...
Posted by lamia | with no comments
Filed under: ,

java.lang.IllegalStateException: Cannot forward after response has been committed

I encountered this error while working on the final module of my project earlier. The error was obvious to me though that it occured in one of my included JSP's. <center> <jsp:include page="/WEB-INF/templates/usermenutemplate.jsp"/> </center>...
Posted by lamia | 3 comment(s)
Filed under: , , ,

The power of JSTL's <c:import/> tag

Since yesterday, I was having trouble with JSP's <jsp:include/> tag. I had to include a page which has a dynamic content in it. I was strict into following the model 2 approach so I wasn't even a little tempted to include scriptlets in my page....
Posted by lamia | with no comments
Filed under: ,