What is the difference between JSP and JSF?
JSP simply provides a Page which may contain markup, embedded Java code, and “tags” which encapsulate more complicated logic /html. JSF may use JSP as... Read more »
JSP simply provides a Page which may contain markup, embedded Java code, and “tags” which encapsulate more complicated logic /html. JSF may use JSP as... Read more »
JavaServer Faces (JSF) is a new standard Java framework for building Web applications. It simplifies development by providing a component-centric approach to developing... Read more »
When you invoke a forward request, the request is sent to another resource on the server, without the client being informed that a different resource is going to... Read more »
JSP pages preferred API for creating a web-based client program because no plug-ins or security policy files are needed on the client systems(applet does). Also,... Read more »
Custom JSP tag is a tag you defined. You define how a tag, its attributes and its body are interpreted, and then group your tags into collections called tag libraries... Read more »
Yes, it is. JSP technology is extensible through the development of custom actions, or tags, which are encapsulated in tag libraries. Read more »
JSP is a technology that combines HTML/XML markup languages and elements of Java programming Language to return dynamic content to the Web client, It is normally... Read more »
boolean hasFoo = !(request.getParameter(”foo”) == null || request.getParameter(”foo”).equals(”")); or boolean hasParameter = request.getParameterMap().contains(theParameter);... Read more »
RequestDispatcher: server-side redirect with request and response objects. sendRedirect : Client-side redirect with new request and response objects. Read more »
: Used to include static resources during translation time. JSP include: Used to include dynamic content or static content during runtime. Read more »
request.getRequestDispatcher(path): In order to create it we need to give the relative path of the resource, context.getRequestDispatcher(path): In order to create... Read more »
There are 4 types of JDBC Drivers JDBC-ODBC Bridge Driver Native API Partly Java Driver Network protocol Driver JDBC Net pure Java Driver Read more »
select * from information_schema.tables Read more »
JSP page can include the contents of other HTML pages or other JSP files. This is done by using the include directive. When the JSP engine is presented with such... Read more »
JSP page looks like a HTML page but is a servlet. When presented with JSP page the JSP engine does the following 7 phases. 1. Page translation: -page is parsed,... Read more »