• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Regarding Jsp Include

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,
I have the requirement that i have to include the file contents from the action path of the struts... is it possible..

<jsp: include page=".......action path "/>

This is not working.

Please let me know if any other solution is there.. thanks
Regards,
Kiran
 
Bartender
Posts: 4109
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For what that "action path" is mapped to? And you may need to explain little more about your settings/things involved etc..
 
Ranch Hand
Posts: 952
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

sarma kiran wrote:
Hi,
I have the requirement that i have to include the file contents from the action path of the struts... is it possible..

<jsp: include page=".......action path "/>

This is not working.

Please let me know if any other solution is there.. thanks
Regards,
Kiran



You have to modify your action mapping, change its type to include action
<action path=”/actionpath” parameter="/whatever" type=”org.apache.struts.actions.IncludeAction” />

http://www.java-samples.com/showtutorial.php?tutorialid=580
 
Their achilles heel is the noogie! Give them noogies tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic