struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli Hegvik" <nil...@gmail.com>
Subject Re: Struts2 on Websphere portal 6.1.0.0
Date Fri, 01 Aug 2008 04:56:21 GMT
Thanks for the summary, although I disagree with your conclusion ;)

Nils-H

On Fri, Aug 1, 2008 at 2:21 AM, Struts Two <strutstwo@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 <ndchandar@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message