• Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts1 - Create Action and Form for a JSP used in Tiles  RSS feed

Geoff Prest
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm really new to Struts, so please excuse my ignorance if it's showing.

I have a JSP file that is used as a header tile.

New conditional functionality was added to this JSP to alter what it would display depending on specific criteria that can be found in the session context.

This functionality is implemented in Java code within Struts markup, and I've been tasked with separating the two.

It seems to me that it is a simple matter of creating an Action and Form that will handle my processing and data transfer needs and rewrite the Struts markup to use the Form. My problem is that I can't find the way to wire the Action and Form to the header page.

Thanks in advance for your advice,

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!