This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Spring portlets running in weblogic server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Spring portlets running in weblogic server" Watch "Spring portlets running in weblogic server" New topic

Spring portlets running in weblogic server

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

One of the problems I found with JSR 168 portlets running in weblogic is that after a call to sendRedirect() in the processAction() method, the render method is still invoked, which doesn't make sense. I am using Spring Portlet MVC in BEA Weblogic Server 8.1.5.

I was thinking only to allow the render service to execute in the case that no redirect was issued by introducing following dispatcher servlet for extending from Spring Framework's dispatcher portlet implementation.

But it causes a side-effect to me. Whenever I use sendRedirect, for example from a JSP page, it invokes my next page's (SimpleFormController's) onSubmitAction(). I dont understand why onSubmitAction is being called when I use this new dispatcher and why not when I use Spring framework's dispatcher. Aparently it seems to me that as long as I am using Weblogic server for deploying my portal there should be no side-effect for the above mentioned code other than saving the extra render request.

May be I am with the portlet's work flow and hence need some thaughts from you.

Thanks in advance.

Ashik Uzzaman
Senior Member of Technical Staff,, San Francisco, CA, USA.
I agree. Here's the link:
subject: Spring portlets running in weblogic server
Similar Threads
Test 399: IBM WebSphere Portal V5.1, Application Development
Websphere Portal - Test 399
Redirecting to an outside URL from HandlerInterceptor
Jahia - Multiple portlets on a single page - MESS