Using Turbine 2.2b1

If I use this in the post action of my form I get a HTTP 400 Bad Request
from Tomcat:

<form action="$link.setAction("my.action").setPage("foo,bar.vm")"
method="post">

which renders to:

<form
action="http://localhost:8080/app/action/my.action/template/foo%2Fbar.vm";
method="post">

As soon as I remove setPage("foo,bar") or change it to another top-level
template, setPage("foo"), everything works fine. 

I think it has something to do with the %2F (comma).

My work around is just to:

<input type="hidden" name="template" value="foo,bar">

This is probably more of a Tomcat issue, but I thought I would bring to the
group's attention and see if anybody had experienced it and may have a
different solution.

Scott

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to