• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Question on Struts Portlet framework WebSphere

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic