The simplest way to get your struts app working in WebSphere is to use the
Convert War tool that is available with fixpack 2.
You can either run it from the command line or use it as a task in the
Admin Console. I would suggest using it from the Admin Console as alot of
the required information is figured out automatically.

Here is a step by step guide. It assumes you are familiar with WebSphere..

1. Startup the Admin Server.
2. Start your Admin Console.
3. Select the "Convert War Task" menu option from the Console-->Tasks menu.
4. You will be presented with a Wizard type window that takes you step by
step through the process.
5. Select  the servlet engine you want to add the web app to.
6. Select the virtual host that is running this servlet engine.
7. Select your war file via the file dialog
8. Select the directory you want to install the war file contents to.
9. Optionally select a Web App name and root path for the Web App.
10. Click finish and the war file should be converted into WebSphere
format.

The only additional thing you need to do is provide jaxp either in
WebSpheres classpath (admin.config or adminserver.bat/sh) or add the
relevant jar files to your WEB-INF/lib directory in your war file.

Sorry, I can't help you with your Visual Age questions.

Richard Backhouse

"Hines, Bill" <[EMAIL PROTECTED]> on 10/27/2000 08:55:54 AM

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
      [EMAIL PROTECTED]
cc:   Richard Bachouse/Raleigh/Contr/IBM@IBMUS
Subject:  RE: IBM WebSphere will now run struts based web apps



I see a lot of deployment info here on how to set Struts up with WebLogic,
for example, by putting struts.jar in the web-inf directory, etc. Are there
any deployment instructions for WebSphere so we know how to set it up?

It would be great if IBM could apply those fixpack 2 (servlet 2.2/JSP 1.1)
change to the WebSphere Test Environment of VisualAge Java!!

Bill Hines
Hershey Foods

-----Original Message-----
From: Richard Bachouse/Raleigh/Contr/IBM [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 9:07 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: IBM WebSphere will now run struts based web apps

FYI ,

With the release of FixPack 2 for Webphere 3.5, WebSphere now supports
struts based web applications.(it provides Servlet 2.2/JSP 1.1 support ). A
jaxp.jar and a relevant xml parser must be added to the web application for
struts to run. This is because WebSphere does not currently ship with jaxp.
It can be added to the web app itself or you can modify WebSpheres
classpath to include these jar files.

Richard Backhouse


Reply via email to