Category: J2EE Category

Which web servers support JSP technology? 0

Which web servers support JSP technology?

There are a number of JSP technology implementations for different web servers. – Glassfish : GlassFish is an open-source application server project originally started by Sun Microsystems for the Java EE platform and now...

How do I use JavaBeans components (beans) from a JSP page? 0

How do I use JavaBeans components (beans) from a JSP page?

The JSP specification includes standard tags for bean use and manipulation. The useBean tag creates an instance of a specific JavaBeans class. If the instance already exists, it is retrieved. Otherwise, it is created....

Can I generate and manipulate JSP pages using XML tools? 0

Can I generate and manipulate JSP pages using XML tools?

The JSP 2.0 specification describes a mapping between JSP pages and XML documents. The mapping enables the creation and manipulation of JSP pages using XML tools.

Can I create XML pages using JSP technology? 0

Can I create XML pages using JSP technology?

Yes, the JSP specification does support creation of XML documents. For simple XML generation, the XML tags may be included as static template portions of the JSP page. Dynamic generation of XML tags occurs...

How is a JSP page invoked and compiled? 0

How is a JSP page invoked and compiled?

Pages built using JSP technology are typically implemented using a translation phase that is performed once, the first time the page is called. The page is compiled into a Java Servlet class and remains...

How do JSP pages work? 0

How do JSP pages work?

JSP engine interprets tags, and generates the content required – for example, by calling a bean, accessing a database with the JDBC API or including a file. It then sends the results back in...

Difference between JSP include directive and JSP include action? 0

Difference between JSP include directive and JSP include action?

include directive and include action tag both are used for including a file to the current JSP page. However there is a difference in the way they include file. – include Directive: Static include...

Session tracking methods in Servlet? 0

Session tracking methods in Servlet?

What is Session? What is Session Management? Why Use Session Management? Different ways to maintain Session. Hidden form field URL rewriting Cookies Servlet session API [ HttpSession ] Session Management Examples What is Session?...

Difference between forward and Redirect 0

Difference between forward and Redirect

forward Control can be forward to resources available within the server from where the call is made. This transfer of control is done by the container internally and browser / client is not involved....

What is the difference between variable declared inside a declaration part and variable declared in scriplet part? 0

What is the difference between variable declared inside a declaration part and variable declared in scriplet part?

Variable declared inside declaration part is treated as a global variable.that means after convertion jsp file into servlet that variable will be in outside of service method or it will be declared as instance...