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

Linking to pages

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am working on a Portal code (I am doing this to practice struts in a practical project).

The administration section and some parts of the user section have lots of forms but most of the portal consists of normal pages linking to each other (no forms at all).

Is there a specific way of navigating between these pages in Struts? (as there is no form, there is no FormBean etc.)

Can someone please help or forward me to a reference ?

Regards,
Mac
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
you can use static link to other files or use a simple action without any ActionForm that just forward your request to another jsp.

regards
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use html:link.
http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-html.html#link

Typically, you should link to an action, not a .jsp or .html page.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic