File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Struts?" Watch "Struts?" New topic
Author

Struts?

Jo���o Ronaldo
Greenhorn

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?
Thanks!
Jo�o Ronaldo
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17258
    
    6

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
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
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.


Kishore
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
baz


have a nice one
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts?