My instructions were for installing struts 0.5. If you are using Struts
1.0 then I understand there are some complications with the change to using
struts-config.xml instead of action.xml. Specifically struts-config.xml now
uses a dtd and the websphere classloader has problems finding the dtd. I
haven't actually tried struts 1.0 with websphere so I can't tell you definitely
that that is the only problem. I think some other people have worked around this
issue so I would continue to seach through the archives.
On the issue of the convert war tool the reason you don't see the same directory
structure as in the war file is because the convert tool converts to websphere
format which is different. The tool should set up the correct classpaths and
document paths that websphere understands.
FYI WebSphere 4.0 will support wars (ears, ejb-jars etc) natively as it will be
j2ee compliant. Hopefully it will be out in the summer.
Richard
Quoting Wayland Chan <[EMAIL PROTECTED]>:
>
> Hello,
>
> I've been trying to get Struts to work in Websphere
> and am running into problems.
>
> I've been following Richard Backhouse's instructions
> (http://archive.covalent.net/jakarta/struts-user/2000/10/0392.xml)
> and I'm getting the infamous missing resources
> error....
>
> Missing resources attribute
> org.apache.struts.action.MESSAGE
> error.
>
> I've noticed that Websphere's 'Convert a War File'
> task, it doesn't seem to create the webapp as you'd
> expect. ie. I have no WEB-INF/lib or WEB-INF/classes
> directories as I'd expect within the webapp. I can
> assume this is because WAS' doesn't support WAR files.
>
> One thing I couldn't do according to Richard's
> instructions was changing WAS' classpath in
> admin.config or adminserver.bat/sh. admin.config
> didn't seem to have a general classpath to modify and
> I don't have the adminserver.bat/sh files in my 3.5
> installation. I do have setenv.bat which I've modified
> to add the jaxp.jar, crimson.jar, xalan.jar to the
> classpath.
>
> Anyone tackle this problem yet?
>
> Thanks,
>
> Wayland Chan
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices!
> http://auctions.yahoo.com/
>