Home Tutorialhelp Comment difference between jsp and servlet

 
 

Comment

shaker
difference between jsp and servlet,
April 30, 2007 at 12:32 AM

servlet is wriiten in java lang, where as jsp contains both jsp tags and html tags

servlet has to be compiled every time if code changes, where as jsp is automatically compiled if code changes
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
JSP Interview Questions

JSP - JSP-Interview Questions
JSP  The HttpServletRequest and Session object are both available within a JSP page and Java Servlet. What is the difference between these objects.... http://www.roseindia.net/jsp/ http://www.roseindia.net/servlets 

JSP Interview Questions

Jsp - JSP-Interview Questions
, then can anybody please tell me what is the difference between these two??, why... in the scriptlet, it is gone to the service method when jsp converted into servlet...://www.roseindia.net/jsp/jspdeclaratives.shtml http://www.roseindia.net/jsp/jspscriptlets.shtml 

JSP Interview Questions

Difference between JSP and Servlets
Difference between JSP and Servlets  What is the difference between JSP and Servlets ?   JSP is used mainly for presentation only. A JSP can only be HttpServlet that means the only supported protocol in JSP is HTTP 

JSP Interview Questions

what is difference between jdk1.5 and jdk1.6 - JSP-Interview Questions
what is difference between jdk1.5 and jdk1.6  what is difference between the jdk1.5 and jdk1.6 in java  Hi Friend, 1)Java 1.6 runs faster than Java 1.5. 2)Java 1.6 makes programming easier by implementing various 

JSP Interview Questions

java - JSP-Interview Questions
java  what is the difference between response.sendRedirect() and forward() methods?  Hi JSP forward action transfers the control... file, another JSP file, or a servlet. It should be noted that the target file 

Servlets-Tutorials

Difference Between Servlet and JSP
Difference Between Servlet and JSP In this section we will describe the Servlet and JSP. We will compare the both technologies. We will discuss the differences between Servlet and JSP. Servlet Servlet is a Java class that is usually 

Java Beginners

What is the difference between JSF, Servlet and JSP?
What is the difference between JSF, Servlet and JSP?  What is the difference between JSF, Servlet and JSP 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp   hi, What is the difference between page and pageContext in jsp.If any body know this answer please tell me thank u 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp   hi, What is the difference between page and pageContext in jsp.If any body know this answer please tell me thank u 

JSP Interview Questions

JSP - JSP-Interview Questions
JSP  what is the difference between implicit objects and implicit variables 

Servlet Interview Questions

interview question - Servlet Interview Questions
interview question  What is Servlet? Need interview questions on Java... experience. An interviewer can ask you for anything either it's a difference between... according to your experience.And for collection of Java Servlet Interview Question you 

JSP Servlet Questions

jsp interview questions
jsp interview questions  what is difference betwen and ?   Difference between jsp:include and jsp:forward jsp:include , includes the page... have added the jsp command inside the current page.Whereas,jsp:forward will forward 

Java Interview Questions

difference between marker and tag interface - Java Interview Questions
difference between marker and tag interface  what is the difference between marker interface and tag interface?  Hi friend, nterface... The Tag interface defines the basic protocol between a Tag handler and JSP page 

Servlet Interview Questions

difference between the APp server and the web server in detail - Servlet Interview Questions
difference between the APp server and the web server in detail  Can just explain the difference between the web server and the app server. thanks for the help dude.  Hi Please Follow this link to found your query 

JSP Interview Questions

java - JSP-Interview Questions
java  hi.. snd some JSP interview Q&A and i wnt the JNI(Java Native Interface) concepts matrial thanks krishna  Hi friend, Read more information. http://www.roseindia.net/interviewquestions/jsp-interview 

Servlet Interview Questions

Jsp/Servlet - Servlet Interview Questions
Jsp/Servlet  How can we prvent duplicate transaction in web using servlet or jsp 

JSP Interview Questions

j2ee - JSP-Interview Questions
is the difference between them.Which scope will provide better advantage. ... request. if request is forwarded to another jsp action or if another jsp... application scope: Object will available in any jsp page with in the same web 

Servlet Interview Questions

Servlet and Jsp - Servlet Interview Questions
Servlet and Jsp  Hi Friends, What Servlet can do that jsp cannot(can u understand , everything done in servlet --- also possible in jsp) Thanks Prakash  hi friend, but in case of jsp we need not compile 

JSP Interview Questions

JSP - JSP-Interview Questions
JSP  When we change JSP code , how the Servlet is reloaded reflecting the changes without restarting the server 

Java Interview Questions

Diff b/w servlet n jsp - Java Interview Questions
Diff b/w servlet n jsp  hii i want to know the difference between servlet and jsp. please give me the details to understand them in correct... is Servlet is pure Java and JSP is mixture of html or php code. servlet is static 

JSP Interview Questions

java, - JSP-Interview Questions
over the URL (Uniform Resource Locator). Difference Between Url and URI... keyword. Difference between throw and throws 1)we want to force...java,  hi.. define URI? wht is difference b/w URL and URI wht 

JSP Interview Questions

JSP - JSP-Interview Questions
JSP  Hai this is jagadhish. My doubt is,What is the difference..., jsp:include tag includes the jsp during runtime, whereas the <%@ include> includes the specified jsp during compilation time. If you modify a jsp 

JSP Interview Questions

About tld files - JSP-Interview Questions
is the difference between tld files and java beans?  Hi Friend, The .tld..._Tag_Library.shtml Difference between tags of .tld files and java beans: 1... and used in a different servlet or JSP page. 3)Tags are available only in JSP 1.1 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp   how can i write a java script inside a jsp.i have a form in jsp... write the java script code by placing ur java script code between the **** Here is ur Java script Code ******* tags, you can access the ur jsp form 

JSP Servlet Questions

What is the difference between JSP expression language and scriptlets? - JSP-Servlet
What is the difference between JSP expression language and scriptlets?  Hi, I just want to ask what is the difference between JSP Expression Langauge and JSP scriptlets? Pls help me.   Hi friend 

JSP Interview Questions

Difference between forward and sendRedirect
Difference between forward and sendRedirect  What's the difference between forward and sendRedirect?   RequestDispatcher.forward... to another jsp or servlet. sendRedirect() is more flexible than forward 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp  i have installes tomcat server 5.0.how can i run a jsp or servlet file on this server. please give me detailed procedure.help me soon. ...) CATALINA_HOME = C:\apache-tomcat-5.0; 2) Put the servlet-api.jar into lib folder 

JSP Interview Questions

jsp - JSP-Interview Questions
EE Web application development platform. It extends the JSP specification by adding a tag library of JSP tags for common tasks, such as XML data processing... was released.JSTL provides an effective way to embed logic within a JSP page without using 

JSP Interview Questions

Difference between GET and POST
Difference between GET and POST   Difference between GET and POST ?   The difference between a GET and a POST is the way data is transferred to a servlet. With a GET, the URL will show each name/value pair on the query 

JSP Interview Questions

difference between <%@ include ...> and <jsp:include>
difference between <%@ include ...> and   What is the difference between <%@ include ...> (directive include) and <jsp:include> 

JSP Interview Questions

jsp - JSP-Interview Questions
between the user and the back-end.In client/server applications, the client part 

Java Interview Questions

Servlet & Jsp - Java Interview Questions
Servlet & Jsp   is it possible of communicating from SERVLET to JSP... servlet to jsp. Servlet2.java: import java.io.*; import javax.servlet...."))){ String jsp = "./jsp/loginSuccess.jsp"; RequestDispatcher dispatcher 

Java Interview Questions

java - Java Interview Questions
, It is a class that access request from the container. Difference between... control is transferred to the new servlet or jsp. The method include() processed the new jsp or servlet but control will come back to the jsp/servlet 

Java Interview Questions

Servlet & Jsp - Java Interview Questions
Servlet & Jsp  how to forward or redirect the client request from servlet to jsp? how a thread or request pass from one servlet prog to one jsp prog? is it possible of communicating from servlet to jsp prog? please explain 

JSP Tutorials

JSP Interview : JSP Interview Questions -2
JSP Interview : JSP Interview Questions -2       Page of the JSP Interview Questions. Question: What is JSP Custom tags? Answer: JSP Custom tags are user defined 

JSP Interview Questions

java - JSP-Interview Questions
java  1. why implicit object "Exception" is difference from other implicit objects? 2. what is the meaning of exception page & exception in jsp directive 

Servlet Interview Questions

java - Servlet Interview Questions
java  servlet interview questions  Hi friend, For Servlet interview Questions visit to : http://www.roseindia.net/interviewquestions/servlet/ Thanks 

Servlet Interview Questions

Servlet Interview questions - Servlet Interview Questions
Servlet Interview questions  what is RequestDispatcher in servlets... back to the client. A resource can be another servlet, or an HTML file, or a JSP... site or any resourse like another servlet, html file or a jsp file,etc 

Servlet Interview Questions

servlet - Servlet Interview Questions
servlet  what is the difference between servletconfig and servletcontext objects in servlet.If any body knows please tell me 

Servlet Interview Questions

servlet - Servlet Interview Questions
servlet  what is the difference between servletconfig and servletcontext objects in servlet.If any body knows please tell me 

JSP Interview Questions

ArrayList - JSP-Interview Questions
or not. It seems that values are not getting from jsp to servlet. Thanks...ArrayList  i used arraylist in servlet as shown ArrayList total...); when I code this like in my jsp <%ArrayList<Integer> data= new 

Java Interview Questions

Difference between C++ and Java - Java Interview Questions
Difference between C++ and Java  Basic difference between C... was derived from C++ but still there is big difference between these two languages.You can see the actual difference once you start programming on it.But here i 

JSP Interview Questions

BACKEND - JSP-Interview Questions
BACKEND  Is oracle or mysql as database makes the difference in jsp programming? I mean, I want to know whether the jsp with my Sql backend can also run with oracle without making any changes in the jsp programming? Thanks 

Java Interview Questions

jsp - Java Interview Questions
What is Java JSP and Java Servlet  What is JSP? and ..What is Servlet in Java?  jsp: separate the prsentation and business logic.(custom.... If you hava a jsp file while you acccesing it will be TRANSLATED into servlet 

JSP Interview Questions

question - JSP-Interview Questions
Certifications  JavaServer Pages (JSP) is a Java technology that allows... directives, a portion of JSP directives control how the JSP compiler generates the servletJava Servlet API provides opportunity to a software developer in adding 

JSP Servlet Questions

Servlets - JSP-Servlet
Servlets  How can we differentiate the doGet() and doPost() methods in Servlets  Hi friend, Difference between doGet() and doPost() http://www.roseindia.net/interviewquestions/servlet/ Thanks 

Servlet Interview Questions

Servlet - Servlet Interview Questions
Servlet  What is the difference between javax.servlet and javax.servlet.http package?  Hi friend, difference between javax.servlet.... 3)It is an abstract class which extends Object. 4)It implements Servlet 

Servlet Interview Questions

Servlet - Servlet Interview Questions
Servlet  difference between javax.servlet and javax.servlet.http?  In Java javax.servlet is for all servlets irrespective of the protocol... can be implemented. They are RequestDispatcher Servlet ServletConfig 

JSP Interview Questions

Computer - JSP-Interview Questions
the image button through my servlet with out using the anchor tag kindly give solution... ForwardServlet extends HttpServlet{ private static final String forwardTo = "/jsp/ResultServlets"; private static final String includeIn = "/jsp/ResultServlets 

JSP Interview Questions

counter - JSP-Interview Questions
using java technology,i explained we can do that by using jsp and servlets... is there to implement the above scenario?   In servlet technology.. we can know 

JSP Tutorials

JSP Interview Questions
JSP Interview Questions     ...: What is the difference between <jsp:include page = ... > and ... is the difference between <jsp:forward page = ... > and response.sendRedirect 

General

Collection of Large Number of Java Interview Questions!
Interview Question Page 10 What is the difference between... Java Interview Question Page 19 What is the difference between... Questions JSP - Java Server Pages Interview Questions Jsp 

Servlet Interview Questions

Servlet - Servlet Interview Questions
Servlet  What is the difference between ServletRequest and HttpServletRequest? What is the difference between ServletResponse and HttpServletResponse?  Servlet Request 1.public abstract interface ServletRequest 

Java Interview Questions

difference - Java Interview Questions
difference  what is the difference between instance and object?  Hi Friend, Instance refers to the reference of the object at a particular time whereas object refers to the memory address of the class. For ex 

Java Interview Questions

jsp and servlet
jsp and servlet  what is the difference between jsp and servlet ? what is the advantages and disadvantages of jsp and servlet 

Servlet Interview Questions

servlet - Servlet Interview Questions
Servlet page to refresh the page every 3 mibutes  How can i refresh my Java Servlet page at time interval of three minutes?  Hi,You can use the following attribute on your html(jsp or servlet generated ) page to refresh 

JSP Interview Questions

jsp - JSP-Interview Questions
JSP directives list  What is JSP directives? Can anyone list the JSP directives 

Java Interview Questions

Jsp - Java Interview Questions
Need JSP Interview Questions  Hi, I need JSP interview questions.Thanks 

Servlet Interview Questions

Servlet - Servlet Interview Questions
Servlet  how to validate a servlet program using Javascript Or How to validate html using Javascript or Can i link a jsp file that is validated by using javascript to a servlet   Hi Friend, Validate html 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp  what are the life cycles of jsp and give a brief description  Hi friend, The lifecycle of jsp page life cycle of jsp... ----------------------------------------- Read for more information. http://www.roseindia.net/jsp/ Thanks 

JSP Servlet Questions

JSP
JSP  relevant difference between servlet and jsp in 1 line 

JSP Servlet Questions

calculate difference between two time in jsp
calculate difference between two time in jsp  How to calculate difference between two dates 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp  hi, we have a jsp page and when we send a request the jsp file will going to execute but the server is crashed, at that time we need to stop the execution of jsp file. how can we stop the jsp file 

JSP Interview Questions

JSP - JSP-Interview Questions
are the comments in JSP(java server pages)and how many types and what are they.Thanks inadvance.  Hi friend, JSP Syntax XML Syntax... A comment marks text or lines that the JSP container 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp  what are the thinks in el (jsp) nesseay to take care wel... expressions in JSP. EL provides the ability to use run-time expressions outside JSP scripting elements. Scripting elements are those elements which is used 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp  hai this is jagadhish my questuion is in my p.c,When ever i open my jsp page in IE, it will not open related form.It will open only the code... information on JSP visit to : http://www.roseindia.net/jsp/ Thanks 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp  i want to know how to take value from user in jsp and not with javascript.help me.  Hi Friend, Try it: Enter Name: Thanks 

Servlet Interview Questions

servlets - Servlet Interview Questions
is,what is the difference between servletcex and servletconfig(full flezed... is a interface which helps us to communicate with the servlet container. There is only one... to all the components. Remember that each servlet will have its own ServletConfig 

JSP Interview Questions

jsp - JSP-Interview Questions
,Thank u.Can u plz tell me what r all the advantages of choosing jsp for developing webapplication?Actually i m developing a jsp project,ur ans for my quest is very useful for my viva presentation.  Hi JavaServer Pages (JSP 

Java Interview Questions

Servlet - Java Interview Questions
Servlet  Diffrence between forward and sendRedirect method in servlet?  Hi Friend, Difference between Redirect and Forward..., the URI is changed. * Forward will not work in a different servlet context 

JSP Interview Questions

Interview question - JSP-Interview Questions
Interview question   Hi Friend, Can we inherit interface in JSP. Thank u in advance 

Servlet Interview Questions

Java - Servlet Interview Questions
Difference between server and application server for Java  What is the difference between server and application server for Java?  Hello,Here is the differenceWeb server:* Servers Static contents* Directly receives 

JSP Interview Questions

java interview - JSP-Interview Questions
java interview  what type of questions would be asked to a 3 years experience person in java? can anyone please provide list of topics or interview questions for 3 years experience in java 

Servlet Interview Questions

Servlets - Servlet Interview Questions
be deployed on the any servlet/jsp container. The .war file contains jsp, html 

JSP Interview Questions

JSP - JSP-Interview Questions
.... this code will develop using jsp only .. And another button i will create 

JSP Interview Questions

JSP - JSP-Interview Questions
: 'pagination.jsp' Pagination of JSP page Roll No Name Marks 

Servlet Interview Questions

servlets - Servlet Interview Questions
technologies . LIke asp jsp,html, servlet etc... Please explain in details what 

Servlet Interview Questions

Servlet v/s Applets - Servlet Interview Questions
Servlet v/s Applets  what is difference between servlets & applets 

Servlet Interview Questions

servlet doubt - Servlet Interview Questions
servlet doubt  How do I read and output a text file from a Servlet? How can I invoke a servlet from JavaScript?  Hi Friend, Invoke servlet from javascript: 1) create jsp file and put the following code 

Java Interview Questions

java - Java Interview Questions
can find the difference between these two.. http://www.roseindia.net...java  what is the differnce between acess specifiers and acess modifiers  Hi Just to let you know, you can find these difference anywhere 

Java Interview Questions

difference between main thread and child thread?
difference between main thread and child thread?  any one give correct exact difference.   in jsp 7 implicit objects are available those... information regarding the Servlet configuration, stored in the Config object 6 

Servlet Interview Questions

servlets - Servlet Interview Questions
servlets  Please consider the following form,which is part of the JSP... you access the values in the form from the servlet?Try to write this in java or pseudo code.  Hi registration form in jsp 

JSP Interview Questions

jsp - JSP-Interview Questions
 

JSP Interview Questions

jsp - JSP-Interview Questions
 

Java Interview Questions

Diff ways to call a EJB from Servlet, JSP - Java Interview Questions
Diff ways to call a EJB from Servlet, JSP  How can I call EJB from Servlet or JSP 

Servlet Interview Questions

servlets - Servlet Interview Questions
://www.roseindia.net/jsp/paging.shtml Thanks 

Servlet Interview Questions

java - Servlet Interview Questions
java  can u tell me how to connect the database to the servlet in the general java file. let me know the steps for configuring the tomcat server... /jsp/ConnectToDatabase 

JSP Servlet Questions

JSP - JSP-Servlet
JSP  Hi Friends, What is the difference between doget() and dopost() in JSP? Thanks in Advance 

Java Interview Questions

servlet prog - Java Interview Questions
servlet prog  how to forward or redirect the client request from servlet to jsp? how a thread or request pass from one servlet prog to one jsp prog? is it possible of communicating from servlet to jsp prog? please explain briefly 

Servlet Interview Questions

servlet problem - Servlet Interview Questions
servlet problem   when i have perform action on submit button then there is no call servlet in my action i have done every effort in this programe plz give me solution .  Hi Friend, Put your jsp file in web 

JSP Interview Questions

jsp interview Question - JSP-Interview Questions
jsp interview Question  What are taglibraries in jsp  Hi Friend, Please visit the following link: http://www.roseindia.net/jsp/Tag_Library.shtml Hope that it will be helpful for you. Thanks 

Java Interview Questions

java - Java Interview Questions
/interviewquestions/ Here you will get lot of interview questions... question..lik for ex What is the difference between Assignment and Initialization...java  hello sir this is suraj .i wanna ask u regarding interview 

JSP Servlet Questions

Example questions of JSP & Servlet
Example questions of JSP & Servlet  Give me some JSP & Servlet Question and their answers 

JSP Servlet Questions

autentication & authorisation - JSP-Servlet
autentication & authorisation  wt is the diffarence between authentication and authorisation ?  Hi friend, Difference between.../interviewquestions/corejava/null-marker-interfaces-in-java.shtml Thanks 

Servlet Interview Questions

Problem in Servlet - Servlet Interview Questions
class path etc.. empController is my main servlet program and I called in form.... then some exception ..Servlet Exception: empContrller is not a servlet pgm... web.xml file carefully. there are two tags. 1)servlet 2)servlet-mapping 

JSP Interview Questions

Debugging in jsp? - JSP-Interview Questions
Debugging in jsp?  Hi Friends, am newbie to jsp.How to debug error in jsp 

JSP Servlet Questions

JSP - JSP-Servlet
Difference between jsp forward and sendRedirect  What is difference between jsp forward and send Redirect?  Difference between jsp forward... forward the control to an HTML file, another JSP file, or a servlet. It should 

Java Beginners

Difference between class,name,id attributes in each JSP tag
Difference between class,name,id attributes in each JSP tag  Can i know the difference between class,name,id attributes in each JSP tags.................. These 3 are only used for reference ..... And what are the differernces 

JSP Interview Questions

JSF - JSP-Interview Questions
JSF  How to embedded PDF in JSF page(jsp file created 

JSP Interview Questions

bean - JSP-Interview Questions
bean  what is use bean in jsp?  Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/using-bean-counter.shtml http://www.roseindia.net/jsp/java-bean-example-jsp.shtml Hope 

Advertisements Advertisements
 

 

 

DMCA.com