Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Tiles - Struts - Blank Page

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that is the same problem...

https://coderanch.com/t/576066
[originally posted on jforum.net by glauco.todesco]
 
reply
    Bookmark Topic Watch Topic
  • New Topic