Re: T5 getApplicationName

2008-08-05 Thread Toby Hobson
You don't actually need the underlying HttpServletRequest, you can use Tapestry's abstraction org.apache.tapestry5.services.Request e.g. @Inject private Request request; void method() { String context = request.getContextPath(); } There's nothing wrong with using the HttpServletRequest, but ke

Re: T5 getApplicationName

2008-08-04 Thread Lutz Hühnken
Hi Argo, if I understand you correctly, what you call application name is usually (or, in "java servlet speak") referred to as the "context". It is a property of the HttpServletRequest, which provides that information to you by the method "getContextPath()". Check the following pages: http://java

T5 getApplicationName

2008-08-04 Thread Argo Vilberg
hi, How to get Application Name in tapestry framework. http://localost:8080/appname/start appname?? Argo