When you run struts 2 on Websphere 6.1, there are a few properties you need to add to your Server custom properties. Without these properties set, you will not be able to run struts2. IBM portal server is bacisally and enterprise file that runs on Websphere application server, and I think you need to set those properties.
--- On Mon, 4/19/10, Griffith, Michael * <michael.griff...@fda.hhs.gov> wrote: > From: Griffith, Michael * <michael.griff...@fda.hhs.gov> > Subject: RE: Struts2 on Websphere portal 6.1.0.0 > To: "Struts Users Mailing List" <user@struts.apache.org> > Received: Monday, April 19, 2010, 2:59 PM > The problem is the URI parameter in > your display tag table. This is how > DT invokes the action/HTTP request that originally got the > request for > the table in the table. It should be something like: > requestURI="search.action" where the value is the action of > the page. > > MG > > -----Original Message----- > From: Prabahar [mailto:prabahar.durais...@lntinfotech.com] > > Sent: Monday, April 19, 2010 3:17 AM > To: user@struts.apache.org > Subject: Re: Struts2 on Websphere portal 6.1.0.0 > > > I am facing an issue with Struts 2 portlet which uses > Display Tag. I > have implemented a code to display a list using Display > Table and also > implemented Sorting option. It is working fine with IBM WAS > 7.0 and the > same code is not working with IBM Portal Server 6.1 > > It is displaying the data, but when i click on the > pagination link > (First, Last, Next..) and the column header (to sort) then > i am getting > page can not be found. > > I have even mentioned page cotext, but still i am facing > this issue. I > have also added the display tag portlet support jar > (displaytag-portlet-1.2.jar) along with displaytag-1.2.jar > and its > supporting jars. > > <display:table name="searchResultList" id="user" > sort="list" > defaultsort="2" > pagesize="2" requestURI=""> > <display:column > sortable="true" > property="name"></display:column> > <display:column > property="address"></display:column> > </display:table> > > I have a doubt in the requestURI parameter... what exactly > i should give > to that parameter. I have also used requestURIContext as > well, but no > improvement. > > > > Nils-Helge Garli wrote: > > > > Thanks for the summary, although I disagree with your > conclusion ;) > > > > Nils-H > > > > On Fri, Aug 1, 2008 at 2:21 AM, Struts Two <struts...@yahoo.ca> > wrote: > >> I am running Struts2.0.11.1 on Websphere 6.1.0.17 > NOT THE WEBSPHERE > >> PORTAL. You need to keep the followings in mind: > >> 1- You need to have at least fixpack 13 or 15 ( I > am not sure which > >> one, otherwise you CAN NOT RUN STRUTS 2 ON WAS) > >> 2- Struts 2.0.11.2 has problems running on > Websphere 6.1 (it is > >> missing a patch), so you need to downgrade to > 2.0.11.1 till next > >> release (2.0.11.3 or 2.0.12) > >> 3- Once the above you are done with above steps, > you need to set the > >> following custom property for WAS server: > >> > com.ibm.ws.webcontainer.invokefilterscompatibility = > true > >> If you do not set the above property, you can not > run struts 2 on WAS > > >> as well. > >> However; I did a project using struts on Websphere > portal 6.0. IBM > >> provides its own customized struts that works with > portal (which is > >> based on struts1), and it is pretty good. I > recommend use the IBM's > >> struts that comes with Portal server as you would > have a hard time > >> using struts 2 with websphere portal. > >> Hope this helps, > >> > >> > >> > >> ----- Original Message ---- > >> From: Dinesh Narayanan <ndchan...@gmail.com> > >> To: user@struts.apache.org > >> Sent: Thursday, July 31, 2008 3:26:20 PM > >> Subject: Struts2 on Websphere portal 6.1.0.0 > >> > >> Has Anybody tried Struts2 (Struts-2.0.11.2) on > Websphere portal > 6.1.0..0? > >> I > >> am running into issues when I tried a very > simple JSR168 example. > >> Any help would be appreciated. Is there some > example of struts2 > >> sample in websphere portal 6.1? > >> > >> A) My portlet.xml contains the following entries > <init-param> > >> > <name>viewNamespace</name> > >> > <value>/view</value> > >> > </init-param> > >> > >> <!-- The default action to > invoke in view mode. --> > >> <init-param> > >> > <name>defaultViewAction</name> > >> > <value>index</value> > >> </init-param> > >> > >> > >> B) My struts.xml is > >> <struts> > >> <package name="view" > extends="struts-portlet-default" > namespace="/view"> > >> <action name="index" > class="com.myCompany.proj1.ExampleAction"> > >> <result > name="success">/WEB-INF/view/index.jsp</result> > >> </action> > >> </package> > >> </struts> > >> > >> > >> Thanks > >> Dinesh > >> > >> > >> > >> > >> > __________________________________________________________________ > >> Be smarter than spam. See how smart SpamGuard is > at giving junk email > > >> the boot with the All-new Yahoo! Mail. Click > on Options in Mail and > >> switch to New Mail today or register for free at > http://mail.yahoo.ca > >> > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > -- > View this message in context: > http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p282 > 87622.html > Sent from the Struts - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org