• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How do i automatically load a jsp tiles page when by default?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i create a JSP page with the help of struts tile framework.
Below is my tile-def.xml



This is a snippet of my struts xml file:



I have check that when my action class file calls the forward name:
return mapping.findForward("logger");

It is able to direct to the struts xml file, then to the tile xml file and finally display ythe relevant jsps on the client browser.

Right now, i want the log in page(which is the page which i mention above) to be display out as the welcome page, lets say when i type http://localhost:8080/content/DefaultLayout.jsp, it is able to display out the page just by entering the url.

How to i configure to allow the tiles to be display out the DefaultLayout.jsp

Thanks
 
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic