You are here:   HomeJava Server Pages
by Dinesh Thakur Category: Session

HttpSession object allocates memory on the server and remembers client data across the multiple requests in the form of session attribute values. HttpSession object is one per browser window (client) so each HttpSession object can be used to remember client data during a session.



 
by Dinesh Thakur Category: Session

The form page prepared using .html file is called source form page (fixed content).The form page that comes as response generated by servlet or JSP program is called dynamic form page (dynamic content). Instead of asking all the details of end user in a single form page, it is recommended to ask those details in multiple form pages.



 
by Dinesh Thakur Category: Session

• The limitation with third technique is, if cookies are restricted from coming to browser then third technique fails to perform session tracking because it uses in memory cookie to send session id to browser from web application along with response and to bring session id to web application from browser window along with request.



 
by Dinesh Thakur Category: Session

This example will explain that the HttpServletResponse setDateHeader() method is used to set date with header name.in the example we use util package that will allow us to access the mandatory library for date initializing on the web browser as output.

 
by Dinesh Thakur Category: Session

Header Request is a request information that the user make request to the server. This will display the header information like local host name, request path, query generation. Here we made a program that will demonstrate the header information with as output on the web browser. Some packages like enumeration also declared for coding.



 
by Dinesh Thakur Category: Directive tags

Directive tags are placed inside the JSP page to provide message to the JSP container.

 
by Dinesh Thakur Category: Directive tags

In this example we will explain about ElAttribute EL(Expression Language). As jsp used all the Expressions that are linked with EL attributes by default. Bt if user need to ignore them manually user has to change page directive ‘true’.

 
by Dinesh Thakur Category: JSP Action Tags

This example will explain that how we get the property from the beans components with getter method using. It will display the value on output destination. To implify this program we just got the java file and will fetch the property from java class file.



 
by Dinesh Thakur Category: JSP Action Tags

Jsp Beans known as a property attribute that is been used for the accessing the user of object the content may be java class or package that is been used to access the class field of object.



 
by Dinesh Thakur Category: JSP Action Tags

In this Example we will learn how to forward the client request or content on another web page. That requested content may be like HTML page, JSP or Servlet etc. The Main criteria of this example is to show how the content forward on another web page.



 


About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to contact us.



What's New and Popular