• 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
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

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: 4116
72
Mac TypeScript Chrome Java Linux
  • 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
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic