• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tiles - Struts - Blank Page

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to use JForum with Struts Tiles.

In the tiles-def.xml file I typed

<definition name="aj.portal.index" path="/padrao.jsp">
<put name="conteudo" value="/home.jsp" />
<put name="topo" value="/topo.jsp" />
<put name="menu" value="/menu.jsp" />
<put name="rodape" value="/rodape.jsp" />
</definition>

<definition extends="aj.portal.index" name="aj.portal.forum">
<put name="conteudo" value="/forums/list.page" />
</definition>

In the strusts-config.xml file I typed

<action forward="aj.portal.forum" path="/pageForum" />


The JForum is working, if I access it from myapp/forums/list.page, but if call myapp/pageForum.do, a blank page appears in the jforum tile place.
What is wrong?



[originally posted on jforum.net by glauco.todesco]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I, personally, have no idea, given my inexperience with Tiles.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a new jsp file, without tile, and I have the same problem. Any Sugestion?

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<div align="left">
<% pageContext.include("topo.jsp"); %>
<% pageContext.include("menu.jsp"); %> <% pageContext.include("/forums/list.page"); %>
<% pageContext.include("rodape.jsp"); %>

</div>
</body>
</html:html>
[originally posted on jforum.net by glauco.todesco]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that is the same problem...

http://www.coderanch.com/t/576066
[originally posted on jforum.net by glauco.todesco]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!