File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Struts2 on WebSphere 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Struts2 on WebSphere 7" Watch "Struts2 on WebSphere 7" New topic

Struts2 on WebSphere 7

dennis zined
Ranch Hand

Joined: Mar 07, 2003
Posts: 330
I discovered that using Struts2 on WebSphere 6.1 require setting up this property for Struts 2 to work:

Now, we're moving to WebSphere 7 and finding some new issues. Is there a trick to getting Struts2/Spring to work with WebSphere 7?

Struts2 works if I remove the following:

1. This entry (below) in web.xml:

2. The following JARS:
- Spring.jar
- struts2-spring-plugin-2.1.6.jar

So if I need to use Spring in conjunction to Struts2 what do I need to do?

*** I'm using RAD7.5 and WebSphere 7.0 (yes, I've updated it with latest fixpacks)


SCJP 1.4<br />SCWCD 1.4
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29232

It might help if you share what the issues are. What error message do you get if you don't remove anything?

I've noticed RSA 7.5 is still buggy so it could be an issue that requires a PMR to resolve. Have you searched developerworks for the error message yet.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Struts2 on WebSphere 7
Similar Threads
Spring + struts2 DI problem
struts2 out of the box problem
Struts2-Spring annotation
Struts2 and Spring integration
Exception in Struts2