I am using JBoss 3.2 with embedded Jetty.  I pulled the Hangman example 
from the tutorial and am trying to deploy it stand alone in its own war 
file, called Hangman.war,  and if I set the 
<url-pattern>/Qwerty</url-pattern> like this, and use 
http://localhost:8080/Hangman/Qwerty, everything works as expected.   In 
this case, the action attribute of the <form> tag is /Hangman/Qwerty.

However, I want to do <url-pattern>/</url-pattern> in my war file, and 
use http://localhost:8080/Hangman as the url.  In this case, things 
don't work.  In this case, the action attribute is generated as 
/Hangman.  In this case, _request.getParameter(name); from inside of 
RequestContext.getParameter (name) always returns null or empty, thus 
making Tapestry always display the home page.

I looked at the code, and the action attribute is generated as 
request.getContextPath() + request.getServletPath().  

What am I missing?

Thanks

Greg







-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to