Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on Struts Portlet framework WebSphere

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

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

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..
Anita
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic