• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stream Closed Error

 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have a web application where most of pages are using both JSF and Tiles 2.0 technologies.

Although all pages and templates are working properly right now, I could see that my Tomcat 5.5.17 server is generating a strange error message when the first page (index.jsp) is loaded.

I'm listing below a simplified version of my web.xml, tiles-defs.xml, index.jsp and template.jsp in order to give you a good understanding about what kind of things could be happening.

Please, can you give me some light on this problem ?

Any help would be immensely appreciated.

Thanks in advance,
Edisandro Bessa.


 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I think you would like to know the solution for the problem above. I've just found it !

Well,
The stream closed error ocurred becaused I inserted in a common JSP page a template which was designed for JSF as follows :



In order to solve the problem, instead of including my JSF template from within my simple JSP index.jsp page, I changed my index page to become a JSF page as well :

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!