Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
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,

 
Maybe he went home and went to bed. And took this tiny ad with him:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic