| Author |
Trying to tile. html does not display on screen but when viewing source it is there.
|
howard franklin
Greenhorn
Joined: Sep 09, 2012
Posts: 16
|
|
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
Joined: Jan 30, 2011
Posts: 329
|
|
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
|
Have Fun with Java
little,little.. little by little makes a lot..
|
 |
Yogesh Lonkar
Ranch Hand
Joined: Jul 17, 2012
Posts: 82
|
|
|
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
|
Learning some thing New Every Day
|
 |
 |
|
|
subject: Trying to tile. html does not display on screen but when viewing source it is there.
|
|
|