tapestry-user

[Prev] Thread [Next]  |  [Prev] Date [Next]

T5: Trying to create a dynamic url to embed in a email Jabbar Tue Jul 15 05:21:27 2008

Hello all,

I'm trying to create a url I can embed in an email using the following

                List<String> p = new ArrayList<String>();
                p.add(emailAddress);
                p.add(password);
                Link link = resources.createPageLink("Register", false, 
p.toArray());
                //emailVerifier.sendVerification(user,
requestGlobals.getHTTPServletRequest().getPathInfo() +link.toURI());
                System.out.println("url is
"+requestGlobals.getHTTPServletRequest().getPathInfo()
+"/"+link.toURI());

the value of the System.out.println is
"url is null/register/username/password"

How do I get the name and port of the web server?

-- 
Thanks

 A Jabbar Azam

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]