This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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:

 
Have you checked out Aspose?
 
subject: portalURLWriter throws string ClassCastException
 
It's not a secret anymore!