Skip to main content

[jmp~svn:28] MessageTemplate now use forward instead of include in order to make the r

  • From: rogersuen@...
  • To: commits@...
  • Subject: [jmp~svn:28] MessageTemplate now use forward instead of include in order to make the r
  • Date: Fri, 11 Mar 2011 03:56:00 +0000

Project:    jmp
Repository: svn
Revision:   28
Author:     rogersuen
Date:       2011-03-11 03:55:57 UTC
Link:       

Log Message:
------------
MessageTemplate now use forward instead of include in order to make the 
relative url in bodyPart work well


Revisions:
----------
28


Modified Paths:
---------------
trunk/impl/taglib/src/org/javaplus/jmp/MessageTemplate.java


Diffs:
------
Index: trunk/impl/taglib/src/org/javaplus/jmp/MessageTemplate.java
===================================================================
--- trunk/impl/taglib/src/org/javaplus/jmp/MessageTemplate.java (revision 27)
+++ trunk/impl/taglib/src/org/javaplus/jmp/MessageTemplate.java (revision 28)
@@ -84,7 +84,7 @@
         }
 
         // invoke the template
-        dispatcher.include(request, new MessagingResponse(response));
+        dispatcher.forward(request, new MessagingResponse(response));
         Message message = (Message) request.getAttribute(
                 MessagingTagSupport.ATTR_MESSAGE_ROOT);
 





[jmp~svn:28] MessageTemplate now use forward instead of include in order to make the r

rogersuen 03/11/2011
 
 
Close
loading
Please Confirm
Close