answersLogoWhite

0

if you want to know any of the software related quries the please contact directly on Mr Yogesh Vaidya :- 9223501992

User Avatar

Wiki User

17y ago

What else can I help you with?

Continue Learning about Information Science

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

You can retrieve an image file from a database in JSP by writing a servlet that fetches the image from the database and streams it to the JSP page. The servlet will set the content type to "image/jpeg" or the appropriate image format and write the image data to the response output stream. In the JSP page, you can then display the image by setting the source attribute of the img tag to the servlet URL.


What is the difference between table of context and index?

A table of contents provides a list of main headings and subheadings in a document or book in the order they appear, helping readers navigate the content. An index, on the other hand, lists specific topics, names, and terms alphabetically with page numbers where they can be found, aiding readers in locating specific information within the document.


What is a session What are the different ways of session tracking in servlet programming?

Why do we need a Session?When one page needs to share information with another, the scope of the data broadens beyond processing a single request. This is because, when a response gets committed, all the data that was held in the request that generated that response is destroyed. So, if you want that data in another page, you will be looking at a blank request object with no data in it. When such a need arises, you must send the data from one page to the server and from the server to the next requested page, whether it be the same page or another page altogether. There are several ways to share state information between requests. However, the primary or the easiest way is to use sessions.How Do Sessions Work?The container generates a session ID. When you create a session, the server saves the session ID on the client's machine as a cookie. If cookies are turned off then it appends the ID in the URL. On the server, whatever you add to the session object gets placed in server memory-very resource intensive. The server associates that object in memory with the session ID. When the user sends a new request, the session ID is sent too. The server can then match the objects in its memory with that session ID. This is how we maintain client state.


What information goes in the header along with the page number?

In addition to the page number, headers often include the document title, chapter or section titles, author's name, date, or any pertinent identifiers for the document's context. This information helps readers quickly identify the content of the page while navigating through the document.


What is the difference between species?

Species are groups of organisms that can interbreed and produce fertile offspring. They share similar physical and genetic characteristics. Different species cannot interbreed or produce fertile offspring due to genetic barriers.

Related Questions

What is the difference between requestgetattribute and requestgetParameter in JSP?

request.getAttribute() is used on the Server side Java code to get values submitted from the form onto the Servlet or other java classes request.getParameter() is used on the JSP page to get values sent by the servlet and display it in the jsp page


How to run servlet page in tomcat5.5 server?

How to run servlet page in tomcat5.5 server?"


How do you give connection between HTML and java servlet?

You cannot. HTML is a static file and it cannot interact with a Java Servlet. A Servlet can always redirect to a HTML page but the other way round cannot happen.


Difference between home page and effective home page?

difference between home page and effective home page


What is doGet method in servlet?

The doGet() method is the method inside a servlet that gets called every time a request from a jsp page is submitted. The control first reaches the doGet() method of the servlet and then the servlet decides what functionality to invoke based on the submit request. The get method called when the type of page submission is "GET" There is another way of submitting requests from a jsp page is "POST" and when that happens it calls the doPost() method inside the servlet.


What is the difference between asp and servlet?

ASP is a server side technology which enables a developer to combine both HTML & scripting language in the same page. servlets are server side programs written in java.It is platform independent


What is difference between requestprocessor and request dispatcher?

Request processor is a class which is responsible for handling request and response it is provided by struts framework if we want to customize our controller we can make in this class. Request Dispatcher is an interface which supports for dispatching request from one page to another page in a application(page may be a servlet file,JSP


How do you Retrieve data from drop down box in one servlet and pass to another servlet?

The data that is present in a web page is available in the Form object of the page which can be accessed from the HTTP Request. If the request object gets passed from one servlet to another the data also would get passed.


What is the difference between page and pageContext in jps?

pageThe implicit variable page is of class java.lang.Object and it refers to instance of generated servlet. It is declared asObject page=thisConsider will give ErrorgetServletInfo() is not a method of java.lang.Object is validpageContextpageContext variable is of type javax.servlet.jsp.PageContext. The PageContext class is the abstract class and JSP engine vendor provides its concrete subclass.·Store reference to implicit objects,·Provide method to get and set attributes in different scopes.·Provide convenience methods for transferring request to other resources in web application.PageContext.forward("other.jsp");


What is a java servlet?

A Servlet is a Java class that is the heart & brain of web applications. Web applications are applications that are viewed via the browser. Let me explain with an example. You are now in wikianswers website. You have a bunch of links on the left side of this page. When you click on any of them you can see that the page goes somewhere and then reloads with fresh content. Once you click the system goes to the servlet. Based on the link you clicked the servlet would decide which page to open and then it will fetch the necessary information that would be needed for the page.


Where is the Walgreens employee home page?

https://webapp2.walgreens.com/Walnet2/servlet/walgreens.portalframework.runtime.servletproxy.PortalFrameworkServletProxy/GatewayRH


How you can display servlet page in jsp page?

You cannot. You display JSP Pages using the help of Servlets. Servlets are of the background classes and you cannot display them