CrazyEngineers
  • Jsp struts

    Manish Goyal

    Manish Goyal

    @manish-r2Hoep
    Updated: Oct 26, 2024
    Views: 994
    What are jsp struts?If anyone give me some easy to understand introduction..then it will be easy for me to understand it and learn
    waiting for replies😀
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • sookie

    MemberJan 9, 2010

    @goyal420 I guess you forgot reading a ',' in between the two terms "JSP, STRUTS" somewhere

    Anyway both have no relation at all. Both are two entirely different terms

    In simple terms,
    JSP is a kind of servlet.
    STRUTS is a framework for building JSP/Servelts based applications by using MVC Architecture(model-View-Controller)

    Let's be bit practical

    Talking about JSP/Servlet - what all it provides to me ?
    Nothing but a simple Java class that extends HttpServlet and used to keep coding part in it and a html type JSP page for UI.

    The basic thing that it lacks is architectural stuff. For e.g, you want to make your application more controlled.

    For e.g. You want to make a page(say BasicAddition.jsp) showing two fields-Number1 and Number2. User enters value into it and you want to make it like that if it is negative then it navigates to some Negative.jsp otherwise navigate to some Positive.jsp. I mean conditional controlling of pages display. Even you also want to keep only one Servlet Java class for your entire application. Moreover you want tomake your JSP UI more good in looks by using tag libraries provided by struts. In that case, you need to go for that framework. [For more clarification, I would recommend to better know what exactly is this MVC? ]

    Hope it helped you some. If still any queries(or flaws), feel free to ask(or correct). 😀
    Are you sure? This action cannot be undone.
    Cancel
  • Manish Goyal

    MemberJan 9, 2010

    sookie
    The basic thing that it lacks is architectural stuff. For e.g, you want to make your application more controlled.
    That is what i want..thanks for providing this information
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register