200k views
5 votes
Write a simple Bean to display the current Date and invoke it from the Java Server Page.

User Gregghz
by
5.7k points

1 Answer

5 votes

Answer:

Step-by-step explanation:

In fact, we shall see later that a JSP page is internally translated into a Java servlet. ..... Set the value of a property (variable) of a bean, by invoking its setter. ..... Use a bean with "page" scope to display the current date/time (using Calendar ... Step 2: Write the Tag Handler Class: Create a simple tag handler class called

User ThiagoAlves
by
5.5k points