This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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

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