JSP and Servlets

JSP (JavaServer Pages) are Java programs encoded within webpages that research and generate pertinent results. Servlets, on the other hand, are objects (programs) that handle requests from users and provide results based on these requests.

859 Questions
JSP and Servlets

What are the advantages and disadvantages of JSP?

Advantages of JSP

1. HTML friendly simple and easy language and tags.

2. Supports Java Code.

3. Supports standard Web site development tools.

Disadvantages of JSP

1. As JSP pages are translated to servlets and compiled, it is difficult to trace

errors occurred in JSP pages.

2. JSP pages require double the disk space to hold the JSP page.

3. JSP pages require more time when accessed for the first time as they are to be

compiled on the server.

192021
JSP and Servlets

What is the use of PostDataLoadInit ()?

This is the first function called while loading the JSP Page & Manipulate CDOs when the page loads

012
JSP and Servlets

When jsp executed which is sent to client?

012
JSP and Servlets

ExcelFile Upload into Database in JSP?

012
Java Programming
Windows XP
JSP and Servlets

How do you set PATH for Java in Windows and Linux?

012
Java Programming
Database Design
JSP and Servlets

Trying to create a web application where users in different time zones will access it. How do I set up the DB and application to handle this I am using Oracle 11g and Java EE?

All access is relative to the local time zone of the server, so you simply record the local time. Knowing the server's time zone allows you determine how many hours behind or in front of UTC you are and knowing the user's time zone allows you to do the same for the user, thus you can calculate the time difference by subtracting one from the other.

For example, suppose the server is in Los Angeles, USA and the user is in Rome, Italy. Los Angeles is UTC -8 while Rome is UTC +1, so the time difference is 9 hours in total, such that Rome is 9 hours ahead of Los Angeles. So if a user accesses the server at 10:00 Los Angeles time, it would have been 19:00 in Rome.

As another example, suppose the server is in Helsinki, Finland (UTC +2), and the user is in Toronto, Canada (UTC -5). The time difference is 7 hours, such that Toronto is 7 hours behind Helsinki. So an access at 10:00 in Helsinki occurred at 03:00 in Toronto.

012
Cheat Codes
HTML
JSP and Servlets

How do i code jsp?

012
JSP and Servlets

What is a JSP implicit object?

012
Java Programming
JSP and Servlets

What does the programming term JSP mean?

JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases.

012
Database Programming
JSP and Servlets

How do you get the image file from the database with JSP?

Follow the steps of this article: codejava.net/coding/upload-files-to-database-servlet-jsp-mysql.

012
JSP and Servlets

How do you deploy war file in tomcat server?

012
JSP and Servlets

Why should we use maps?

012
JSP and Servlets

How do you execute jsp in spring?

012
JSP and Servlets

How do you run jsp in spring?

012
Java Programming
JSP and Servlets

A complete java code in jsp?

012
JSP and Servlets

How do you retrieve records from database and store in a list ans display in jsp using struts2?

012
JSP and Servlets

What is jsp and how is it different from normal web page?

012
JSP and Servlets

How do you delete a column in jsp page?

012
JSP and Servlets

Why to use servlet?

012
JSP and Servlets

How do you accepet multiple items with there quqntity and rate in jsp?

012
JSP and Servlets

How do you save session state information to http session for a given web client use in jsp?

012
JSP and Servlets

What is meant by servelet?

012
JSP and Servlets

What are the different jsp tags?

012
JSP and Servlets

What is the use of servlet tag?

012
JSP and Servlets

What are jsp directives?

012

Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.