• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Struts Portlet framework WebSphere  RSS feed

Anita Ganga
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Struts application which I am trying to migrate to WebSphere Portal.
In my jsp I have this

<html:form action="xyz.do">
<html:select property="divisionCode" onchange="document.forms[0].submit()" tabindex="1">
<option value=""></option>
<option value="All">All</option>
On change of the select list the form submits and I get a page that i am not authorized to view.

Where as I expect the last part of the URL (xyz.do)to be portal URL now as I have applied all the steps that are needed for migrating struts to portal.

This worked fine with another application. I have followe dthe same steps as I did earlier..

(1)Added <controller processorClass="com.ibm.wps.portlets.struts.WpsRequestProcessor">
</controller> to struts-config
(2)Created portlet.xml and updated web.xml
(3) Made the necessary changes in jsp's
(4)Updated the required jar files in the classpath.

appreciate if any one else has faced the same issue and if they can share that here..

Thanks in Advance..
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!