I know this method) But i want generic solution.
I have found some way:
(new
URL(req.getScheme(),req.getServerName(),req.getServerPort(),"/local/path")).toString();

2010/12/14 Didier Durand <[email protected]>

> Hi,
>
> it is appid.appspot.com/relative_url where appid is the apid that you
> selected when registering the app.
>
> regards
>
> didier
>
> On Dec 14, 2:38 am, Peter Savelyev <[email protected]> wrote:
> > I can't figure, how to get external absolute URL from internal relative
> > address. Can somebody help?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to