Depending on how you are running Velocity, if you have the
ServletRequest object available you can do something like:
$request.setAttribute("param1", $obj1)
$request.setAttribute("param2", $obj2)
$import.read("jsp/add_valorations.jsp")
On Nov 8, 2008, at 9:56 , andyandy wrote:
That's great, thank you. I forgot to say that I need to pass objects
as
parameters, not strings. Is that completely impossible? Thanks! :)
Nathan Bubna wrote:
If you use VelocityTools, you can use the ImportTool:
http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/ImportTool.html
$import.read("jsp/add_valorations.jsp?param=this")
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]