File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes extra blank lines appearing on page on using tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply Bookmark "extra blank lines appearing on page on using tiles" Watch "extra blank lines appearing on page on using tiles" New topic
Author

extra blank lines appearing on page on using tiles

wonderprat shah
Greenhorn

Joined: May 30, 2004
Posts: 6
Hi,
I m facing a situation in which i have 4 different tiles on my page. Now all the tiles need to be populated with data dynamically from database. Hence i need different actions to populate them. All these actions i have mapped in my struts-defs.xml and tilesDefs.xml.

Now on one click(on the left navigation bar), i am not able to invoke all the actions. Only the first action gets invoked and then the control is lost.

Looking 4 help!!!
Sree Jag
Ranch Hand

Joined: Oct 14, 2003
Posts: 77
From the first Action Servlet you can call the second servlet. and from the second call the third and so on...

and the parameters you want to be accessible in the tiles files, just put them in the HttpServletRequest i.e. request.setParameter().

hope this helps, pls lemme know

Seshu


Sree Jag<br />SCJP 1.4
 
 
subject: extra blank lines appearing on page on using tiles
 
Threads others viewed
Suggestion on templated page
Struts html:link
Tiles vs Frames
JMeter: Calling 1 Test Plan From Another
Need your help on tiles urgently ~~
developer file tools