getAbsoluteURL problems

Simon Robins <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hi,

I have a Tapestry app running under JBoss which is behind Apache HTTPD 
using ProxyPass etc.

The problem I have is that as part of the registration to this site I 
want to send an email containing a URL back into the site so that I can 
validate the email address I have been given. The code I have is as 
follows:

IEngineService service = 
cycle.getEngine().getService(IEngineService.PAGE_SERVICE);

Gesture gesture = service.buildGesture(cycle, null, new String[] { 
getName() } );

String path = gesture.getAbsoluteURL();

The path to the site is http://localhost/bl/ mapped to 
http://localhost:8080/bl/ in httpd.conf.

The 'path' variable comes back as 
'http://localhost:8080/bl?service=page&context=Register'

Is there a way of getting the 'correct' path from tapestry?

Cheers,

Simon



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.