wood burning stoves*
The moose likes Struts and the fly likes Struts1 - Create Action and Form for a JSP used in Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts1 - Create Action and Form for a JSP used in Tiles" Watch "Struts1 - Create Action and Form for a JSP used in Tiles" New topic
Author

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

Geoff Prest
Greenhorn

Joined: Feb 20, 2007
Posts: 17
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,


SCJP 6, SCJA, SCJD in progress
 
jQuery in Action, 2nd edition
 
subject: Struts1 - Create Action and Form for a JSP used in Tiles
 
Similar Threads
confusion on struts tile
Tiles in struts?
Struts-Tiles problem
Configuring Tiles in Struts Error
[TILES] How to include an action as body in a definition [SOLVED]