- Online & Classroom Training Courses and Certification
No tags found for this post.

Last updated on 19th Feb 2024| 365

Ratings

1. Describe JSP.

Ans:

The page directive in JSP uses the isThreadSafe attribute to indicate whether the created servlet class that corresponds to the JSP page is thread-safe or not. Set to ‘true,’ the servlet container guarantees that executing the servlet on several threads securely at the same time without resulting in data corruption or other synchronization problems. The application’s requirements and concurrency model should be taken into consideration when weighing the trade-offs associated with enabling thread safety, as it may result in a performance overhead.

2. What is the purpose of JSP standard actions?

Ans:

  • jsp:include: Includes content from another resource.
  • jsp:forward: Forwards the request to another resource.
  • jsp:useBean: Instantiates a JavaBean component.
  • jsp:setProperty: Sets properties of a JavaBean component.

Name Date Details

28-Oct-2024

(Mon-Fri) Weekdays Regular

23-Oct-2024

(Mon-Fri) Weekdays Regular

26-Oct-2024

(Sat,Sun) Weekend Regular

27-Oct-2024

(Sat,Sun) Weekend Fasttrack