• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

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

 
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
 
Ranch Hand
Posts: 329
Eclipse IDE Oracle Java
  • 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

 
Ranch Hand
Posts: 94
Hibernate Eclipse IDE 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
 
Something must be done about this. Let's start by reading this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic