aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts1 - Create Action and Form for a JSP used in Tiles
 
Similar Threads
Struts-Tiles problem
[TILES] How to include an action as body in a definition [SOLVED]
Configuring Tiles in Struts Error
Tiles in struts?
confusion on struts tile