Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

standard action

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
i checked the following code and it works

code :
-----

<jsp:include page="sample.txt"/>

but according to HFSJ page 402, the <jsp:include> standard action include the response of included file at runtime, but while including the sample.txt there is no response generated since it is a simple txt file.

pls explain the contradiction.

thanks in advance
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By response they mean the container's translation of the file included.
Not a response in the sense of HttpResponse.
 
Connie Ky Leung
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp:include> standard action can be used to include static content and dynamic content.

The content of the text file is evaluated before being written to the response.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic