aspose file tools*
The moose likes Portals and Portlets and the fly likes portalURLWriter throws string ClassCastException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "portalURLWriter throws string ClassCastException" Watch "portalURLWriter throws string ClassCastException" New topic
Author

portalURLWriter throws string ClassCastException

E Paisley
Greenhorn

Joined: Sep 22, 2008
Posts: 14



Has anyone ever used the portalURLWriter to generate a portal link to another portlet? I'm attempting to do so and I keep getting a
java.lang.ClassCastException: java.lang.String on the code below where I call the portalURLWriter.writePortletRenderURL. How can I fix this?






Here is the stack trace:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: portalURLWriter throws string ClassCastException