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
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
hi,
How to get Application Name in tapestry framework.
http://localost:8080/appname/start
appname??
Argo