Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Rep Power

    Default Question regarding JSP, JSF and Struts

    Hello people,
    I have read about the basics of JSP, but I haven't understood when to use pure JSP and when to use a JSP-based framework like JSF or struts. Is it possible to understand struts and JSF without being a JSP professional or is deep JSP knowledge a prerequisite to understand those frameworks?

  2. #2
    nicephotog is offline Member
    Join Date
    Mar 2012
    Sydney NSW Australia
    Rep Power

    Default Re: Question regarding JSP, JSF and Struts

    JSF and struts require proper understanding of JSP and Java web servlets first, and also "bean writing rules".

    JSP is used alike PHP or ASP , internally coded into an html page with the server recognised extension.
    In essence JSP is a servlet that is integrated to the J2EE container(server).

    JSF (Java Server Faces) is a "framework" for "GUI in web pages in basis" but does much more with special integration classes incorporated to the JSF framework that can talk with the server container and interact its running instance with other server frameworks in the J2ee container such as the servlets and JSP or SOA web services(WSDL services and registries), that uses the "faces servlet" configured with a special web.xml called faces-config.xml

Similar Threads

  1. Replies: 1
    Last Post: 12-06-2011, 03:30 PM
  2. Replies: 1
    Last Post: 12-06-2011, 11:53 AM
  3. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 05:33 AM
  4. question about struts-config.xml
    By christina in forum Web Frameworks
    Replies: 2
    Last Post: 02-15-2008, 10:45 AM
  5. struts question
    By Alan in forum Web Frameworks
    Replies: 2
    Last Post: 05-17-2007, 04:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts