Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

What is strut

  Asked By: Oscar    Date: Mar 04    Category: Java    Views: 640
  

Can anyone tell me what exactly is Struts,wht for it
is used n where can it be applied.
Hope someone will respond.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Russell Burns     Answered On: Mar 04

a couple of months ago the same question has been asked, so please
search the archive, there you'll find the answers. I'm too lazy to
do this right now

 
Answer #2    Answered By: Louis Mason     Answered On: Mar 04

I dont have much knowledge about struct, but what i know about struct is that
its a Controller in MVC framework. Controller in the sense that there exist one
servelet which is registered in default_app.xml file used for registering
servelets and with that there exist a configuration file which have request name
to java class mappings. With each request a request name is appended and then
this servelet using the request name maps and passes the request object to that
class. The java class then processes the request and returns a page name which
is nothing but the name of the JSP page which will be loaded.

Therefore Struct acts as a Controller where it passes the request object to
appropriate class.

This is just a introduction to Structs and there are plenty of other features of
Structs.

I am a fresher so i dont know weather i answered your question properly or not.

 
Answer #3    Answered By: Hehet Chalthoum     Answered On: Mar 04

Actually struts  is a framwork ,tells where to place the following
files view ,controller,model.Separating the file helps the developer to fix
the bug easily in future.
For example , if the user wants to change the view then simply change
the view file only.No need to touch the functionality code atall.

 
Didn't find what you were looking for? Find more on What is strut Or get search suggestion and latest updates.




Tagged: