This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to tile. html does not display on screen but when viewing source it is there.

 
howard franklin
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to learn how to tile. The following displays in html

me testing
Some new stuff

When I view source I see the following. I do not understand what I am doing wrong?


I have supplied the following:

mainTemplate.jsp
login.jsp
header.jsp
loginBody.jsp
footer.jsp
struts-config.xml
tileDefinitions.xml



Howard
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Howard,
If above lines from 1-78 is from view source then, problem is almost known. If you observe the body part of it - fmt:message, html:text tags are as is and are not properly compiled [which no normal HTML browser can understand]. May be necessary tag-libs are not included in the body jsp or so. Please verify that, it should be the root cause. And i also do not understand why you need to do tile insert in login.jsp when your template does that for you. Anyways that should not be an issue.

And congratulations!! seems like your tiles setup is working fine [header and footer are already displayed]. So no tiles problem

 
Yogesh Lonkar
Ranch Hand
Posts: 94
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think problem is at 1st line it self shouldn't this be just because </html> this closing tag at line 78 does not have starting tag
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic