File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Struts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Struts?" Watch "Struts?" New topic


Jo���o Ronaldo

Joined: Sep 24, 2003
Posts: 6
Hi folks!
I'm starting a new web application development and I'm doubt about what to use to implement the Controller layer.
There are two sollutions that I know:
- Use the traditional servlet class implementation; and
- Use the struts framework.
Then, it has a new solution better than these ones? If no, which solution is recommended?
Jo�o Ronaldo
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Joao, I like Struts, but I think struts is more for a Form based web application. Meaning it really helps with Validation, seperation of MVC, and some others perks. If it is a simple web page, then Servlets approach is simpler and quicker for you.
p.s. You had posted this question three times. I deleted the other two. Be careful with your Back button or multiple clicks on the Post button.
Good Luck

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 364
Mark hit the nail on the head but don't stop with Struts. There are a ton of frameworks out there.

No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
You can also look into Tapestry. It might suit your needs.

SCJP, blog
bas duijzings
Ranch Hand

Joined: Apr 07, 2004
Posts: 83
Oh why should i agree with anyone.
I still think you should go with struts. It is widely accepted and will give you an option to learn something. I do agree that there may be better suited options for your particular web-application.
If you have one of the later IDE's like wsad5.1 or JDEV10g (maybe others as well) then making a struts applciation is not such a problem. To learn either of those, there is an added learning curve. But doing so (using struts and a good IDE) will help keeping your skills up to date.
take the little effort, and use struts

have a nice one
I agree. Here's the link:
subject: Struts?
It's not a secret anymore!