Here are the steps to start developing with WSAD.

1. Importing the struts-example.

   1.1 Creat a new WEB project using the web application view and
          the web project wizard. While in the wizard you can select your
          project name and the EAR name

          Skip the next screen on the wizard and go to the screen where
          you define the Java Build Settings. Accept the defaults here - 
           the source folder where all your source files will be kept and
the
          classes where all your compiled source will be put. Click
           on the libraries tab on this screen. Using the "Add external
Jars" 
          button, browse to the directory where you have the "struts.jar"
file
          is located and select that.

          Click on "Finish" when your project structure would have been
created for
          you.

    1.2 Select the new project created in your navigator and then
           Go to File->import and select the "WAR file" option and select
NEXT. 
           Browse to the location  where you have the downloaded 
           stuts-example.war file and select it. If by any chance, your
project
           is not automatically filled up, select the newly created project
to import
           this file into. Select the option "Overwrite existing resources
without warning"
           as this is the first time. This will overwrite your web.xml,
.classpaths and other 
            things based on the example war file. Hit FINISH and the war
file will be imported
            into your project. You are ready to go now...
    
   2. Creating the TOMCAT server instance and configuration for testing. You
need to have
        TOMCAT installed before moving forward.

         2.1 Select the Server view and create a new server project.

         2.2 In the Server Configuration window, right click the "Server
Instances" node and
                select  new -> server instance and confguration.

                A configuration wizard will pop up. Fill in the server name
as anything you want 
                it to be refered by.

                For the server instance type, select the Apache Tomcat 3.2
local server (if using tomcat 3.2)
                 or Tomcat v4.0 Local Server (if using 4.0)

        Click next. Here you will have to select the Tomcat Server instance
by locating
        the directory where you installed tomcat. Hit the FINISH button.

         2.3  In your Server Configuration window, you will see the newly
created server
                instance under both the instances and the configurations
nodes. Right click
        the Tomcat Server sub-node under the Server Configurations node and
select
        the project you just created. This will register the project with
the server.

         2.4 On the servers window next to the server configuration window,
you can start the
        server by clicking on the start icon.

          2.5 Open a web browser by clicking on the web browser icon at the
top. Typ in 
        http://localhost:8080/struts-example/index.jsp
        
        
Hope this helps. I spent considerable amount of time figuring this out so
thought would
help other people doing the same thing.

Good luck..
           

Muki Soomar
Solutions Architect
Ford Motor Co.


-----Original Message-----
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 2:26 PM
To: 'Struts Users Mailing List'
Subject: RE: Installing of Struts on WSAD and also on Websphere App
Server 4.02


Hi,
I'm using struts on WSAD.  I didn't download the struts package myself, but
I believe the download includes a few war files.  You can go to "File" and
select "Import" and choose "WAR file".  Import the struts-blank.war if you
want to create a new application with the struts framework.  Import the
other ones if you want to look through the projects to pick them apart and
see how they work.  Is this helpful at all?

Keith Kamholz
Moog 
East Aurora, NY
(716) 687-7282
[EMAIL PROTECTED]


-----Original Message-----
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 2:10 PM
To: [EMAIL PROTECTED]
Subject: Installing of Struts on WSAD and also on Websphere App Server
4.02


Subject: Installing of Struts on WSAD and also on Websphere App Server 4.02
From: "SJC" <[EMAIL PROTECTED]>
 ===
I am new to Struts and would like to get familiar with this framework by
installing examples on WebSphere Application Developer Studio. If anybody
has tried installing on WSAD I would appreciate if u could please let me
know the steps to do this.

Thanks.

SJC



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to