Tiles - retrofit existing struts based wars

2004-05-17 Thread Kravchenko, Vyacheslav
We have multiple wars deployed on WebSpehere server. All of our applications are using 
on Struts 1.1. 
I was hoping to find a way and retrofit tiles framework in our existing environment. 
Can we develop a separate tiles application that can integrate with existing apps in 
following ways:
Use tiles framework to display jsp files from other wars?
Use ActionMappings in my existing wars to point to templates defined in tiles 
application.

Thanks in advance, 
Steve


Tiles - Including file from different server

2004-05-11 Thread Kravchenko, Vyacheslav

 Is there a way to include html pages that are residing on a different server using 
tiles framework?

I am declaring my definitions in xml configuration file:
 definition name=.template1 page=/tiles/layouts/Base.jsp
   put name=title value=Template1/put
   put name=header value=/tiles/header.jsp/put
   put name=menu value=/pages/template1.jsp/put
   put name=footer value=/tiles/footer.html/put
   put name=content value=http://localhost/test.html;/put
  /definition

I get following error when I execute this page:
 [ServletException in:http://localhost/test.html] Response already committed.' 
 

If this is not something that tiles is capable of handling. Can someone suggest an 
alternative way of getting this done.

Thanks in advance!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]