• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Question on Struts Portlet framework WebSphere

 
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
 
On my planet I'm considered quite beautiful. Thanks to the poetry in this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic