• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 knew that guy would be trouble! Thanks tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic