You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <ne...@husted.com> on 2001/01/09 14:20:59 UTC

Re: Help Me!!

Via Private Mail
>  I am a new user for this object oriented technology and trying to
create
my First simple application in java. I decided to use Struts but I  am
having lots of problem just in understanding Struts itself. This si way
too
complicated. I read all the user guides and material provided by
jakarta and
you including a walk thru of struts example. I don't get it in the
sense
what does ".tld", ".dtd" files do,  why and where they should be
located in
the containers. All example of struts are differnet then each other and
in
terms of layout and using the files.
> I just want to create a  simple form with the validation but its too
much
confusing! It would be great if you could help me out.

Struts is a very powerful and flexible framework, and so it is easy to
be overwhelmed. Struts is also designed to create advanced Web
applications, so it can seem like there is a lot of red tape involved.
Struts may not be the best place to get started with OOP and Web
applications.

Struts builds on the Servlet and JSP technologies, so it is important
that you are familare with those first. The JavaSoft web site offers a
wealth of tutorials. In print, the new Core Serlvets book by Prentice
Hall covers a lot of ground very quickly. This will help you understand
what problems Struts is trying to solve. Another good resource along
these lines is 

The Problem with JSP by Jason Hunter -
http://www.servlets.com/soapbox/problems-jsp.html

which, in retrospect, could be subtitled "Why we need Struts". 

In any event, I have setup a minimalist Web application (struts-logon),
which you can download from < http://husted.com/about/struts >. This is
meant to be a bare-bones example with absolutely no fluff. You might be
able to copy this, and extend it from there. Before doing that, though,
be sure you can build Struts itself from the source, to be sure you
have all the prerequisites installed. (Struts "stands on the shoulders
of giants", so we need to make sure everyone has been invited to the
party!) 

Perhaps after 1.0 is out, we can do a Struts Developer Toolkit, as the
Turbine gang has done.


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/