Bypass TMHMail's first deck

Hi!

TheMailProvider.getContent method generates a page, that is not neccessary. I want this first page of the TMHMail portal server channel be automatically bypassed.

I created a customURLScraperProvider which returns the url of the second page generated by the MailProvider (this something like /portal/ma... instead of /portal/dt).

I think this URLScraperProvider descendant forward the request to the MailProvider, but I got an another login page as the result of the forwarding. I think that the MailProvider doesn't get the session created by the initial login, however I set thecookiesToForwardAll provider property to true.

What did I wrong? What is the recommended method to do this bypass?

Thank You for your help ...

[795 byte] By [PedroLeev] at [2007-11-25 19:22:33]
# 1

I modified my getURL() method to add the iPlanetDirectoryPro parameter to the returning URL, and it works!

Unfortunatelly, there is an another problem:

the JSPRenderingContainer wraps the xHTML content into an AML document, but the renderer throws an exception even if I put the content between an <AmlContainer> and <

/AmlContainer>.

I guess I should make the desktop servlet to use an another Container, maybe the JSPNativeContainer.

I don't know how to do this ...

PedroLeev at 2007-7-3 23:40:46 > top of Java-index,Web & Directory Servers,Portal Servers...