TechnoBuzz

A Techno Blog, mainly about Java

Using Struts

I started looking at struts recently.
I started off by downlaoding jdk1.4 and tomcat.
Make sure for some reason that your classpath has not only the location of the jdk bins, but also the tools jar file:
C:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\lib\tools.jar;
After extracting the tomcat zip file, I went to the the bin folder withinn the tomcat directory (c:/apache/jakarta-tomcat-5.0.27), clicked the startup bat file, and then in my web browser invoked the default url: http://localhost:8080/ and the tomcat home page is presented.
Next, it is on to the Apache Struts page. I went to the same apache downloads page and got the Struts 1.1 zip file.
The Struts zip file was extracted to c:/apache/jakarta-struts-1.1. In that folder there is a webapps folder with several war files. I will place the war files in the webapps folder in the tomcat folder. After placing the war files in the tomcat webapps folder, i noticed that new folders corresponding to the war files are created in the webapps folder. Also, you can grab the (war files) examples from Struts in action.

Advertisements

August 8, 2004 - Posted by | Struts

1 Comment »

  1. I am extremely impressed with your writing skills as well
    as with the layout on your blog. Is this a paid theme or did you modify it yourself?

    Anyway keep up the excellent quality writing, it’s rare to see a great blog like this one nowadays.

    Comment by images.oigle.com | November 29, 2012 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: