tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norbert Sándor (JIRA) <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-1533) servlet path is ignored when using friendly URLs
Date Wed, 06 Jun 2007 21:13:26 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502106
] 

Norbert Sándor commented on TAPESTRY-1533:
------------------------------------------

Yes, for example

	<servlet-mapping>
		<servlet-name>app</servlet-name>
		<url-pattern>/app1/*</url-pattern>
	</servlet-mapping>

did not work for me.
Maybe I miss something but while debugging the service encoders, they seemed to handle the
servlet path incorrectly.

> servlet path is ignored when using friendly URLs
> ------------------------------------------------
>
>                 Key: TAPESTRY-1533
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1533
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1.2
>         Environment: 4.1.2-SNAPSHOT
>            Reporter: Norbert Sándor
>
> Servlet path is ignored in case of friendly URLs, ugly URLs seems to work OK if "org.apache.tapestry.servlet-path"
is specified explicitly.
> I think that for example in PageServiceEncoder.encode()
>         encoding.setServletPath(buffer.toString());
> should be
>        encoding.setServletPath(encoding.getServletPath() + buffer.toString());
> What do you think?
> Regards:
> Norbi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message