jsp: separate the prsentation and business logic.(custom tags) more easy to learn,easy to write
servlet: presentaion and business logic in same place. everything should embedd in out.println("") it is too complex to write is it?
February 24, 2008 at 6:16 PM
*This is the first concept in java to create web oriented programs. *This requires all objects should be created manually and for user input we must use swing or awt concepts to add text box or any other controls. *Another major thing is all calculations and databse conection codings should be written in a single file. *If we get an error we have seach for the whole file to find the error. *And we have to recompile after every corrections.
* In case of JSP there are some built in objects available. * Abbreviation for JSP is Java Server Pages. That is java code can be associated with HTML pages . * So, fixing controls like text box and other controls can be easily fixed. This will become as a presentation logic. No involvement of AWT or SWING. * processing can be added in JSP file or seperate java file. So error will become easy one.
*In case of jsp there is no compilation process. If you hava a jsp file while you acccesing it will be TRANSLATED into servlet file and then only the result page will be generated. If there is any error it will be shown in the result page.
JAVA JSP and Servlet - JSP-Servlet JAVAJSP and Servlet for sending mail through lan without intenet and also chatting facility for online users using JavaJSP & SERVLET code. Hi Friend,
Please visit the following links:
JSP with java/servlet - JSP-Servlet
(java bean or servlet) to fecth the database. Jsp would get the data from...JSP with java/servlet Thanks Deepak for your answere to my previous.../servlet-jsp-data-list.shtml
Hope that it will be helpful for you.
java servlet - JSP-Servlet java servlet hi friends,
Thanks in advance. Am poornima am created new servlet in eclipse its open but without including any code am getting... and request. what to do? Is any plugins required ? plz tell me . Hi Friend
java - JSP-Servlet
java why is required to write both jsp and servlet in a application of java
JAVA SERVLET - JSP-Servlet JAVASERVLET Log Hi, A servlet file which create the log files ,then writing values to the list & log, we should have a thousand separator and no decimal values. This means instead of writing 986300.0 in the Log file
Java Servlet - JSP-Servlet JavaServlet Hello Sir
Could you help me in understanding directory Structure for servlet page in eclipse (IDE).
I save my Sevlet in WEB-INF but it is not displaying, it is displaying code of servlet.
java charts - JSP-Servlet java charts Hi,can any one tell me how to create dyanamic charts wrt database contents by using jsp-servlet
java,servlet,jsp - JSP-Servlet java,servlet,jsp i am doing a project on online examination system and in that there are problems that--
1.i want to disable the back,forward and refresh button.Please give me the code for google crome browser.
java jsp - JSP-Servlet java jsp i have a jsp file, in that i am uploading a file, after uploading the file had to display in the screen. it is displaying if only i refresh the page.
but i want to display the uploaded file without refreshing the page
Java Problem - JSP-Servlet Java Problem What are the steps to run a javaServlet program.with examples Hi Friend,
Please visit the following link:
java - JSP-Servlet JavaServlet Config means What is Servlet Config means ?  ...://www.roseindia.net/servlets/ServletContext.shtml Servlet Config means configurion of servlet it is used to cofigure any properties in web.xml and Context
java - JSP-Servlet
java what is the difference between jsp and servlet?
Main difference between Jsp and ServletJsp is better for view web pages, while servlet is good for request processing.
Jsp has also all
java servlets - JSP-Servlet java servlets how to get the parameter value of input type file using java servlets Hi,
You can use request.getParameter().
JAVA - JSP-Servlet Java servlets sessions session tracking How to track the session in Servlet
Java - JSP-Servlet
Java What a the steps to compile a Servlet Programe. Hi... cmd + (Enter Key)
2. Change the directory to the Servlet file(i.e .java) and
3... to configure tomcat for running servlet.
java - JSP-Servlet What is java spring framework What is java spring framework? Is there any tutorials for Java String in RoseIndia website
Java - JSP-Servlet
.. This is a general question. How to compile a servlet program? I need step by step explaination..
MoreOver,I know JAVA to some extent.. But I need to improve my programming skill.. What Can I do for that?
I am in need of answers for these two
Java Servlet Problem - JSP-Servlet JavaServlet Problem I have a servlet class that implemets the ServletContextAttributeListener interface. I am overriding all three methods, but in the attributeReplaced() method, i want to perform a redirect to another servlet
Java Mail - JSP-Servlet Java Mail hi,
i refer ur J2EE Tutorial - Send Email From JSP & Servlet to send emails from my application.but when i run the jsp it will throw thhese exceptions.
ERROR.....javax.mail.SendFailedException: Sending failed
multiuser in java/jsp? - JSP-Servlet
multiuser in java/jsp? Hi!!! Rose India Team,
Kindly let me know what is exact meaning of multiuser in java?
I made an web application using jsp... friend,
Multi User in Jsp : More then one User can access in Web appication
java servlet programming - JSP-Servlet javaservlet programming when i m inserting an image file into the sql table in a column of data type binary using prepared statement ps.setBinaryStream, instead of filename it's displaying
java - JSP-Servlet
difference between Jsp and ServletJsp is better for view web pages, while servlet is good for request processing.
Jsp has also all implicit objects... is done then
servlet destroy() : that's the end of servlet.
Jsp life cycle
Java Problem - JSP-Servlet Java Problem How to run a Simple JSP program ? what steps... the webapps folder of apache tomcat.
5)Create a jsp file 'hello.jsp'.You can put your jsp file either inside the web application folder along with WEB-INF or you
JAVA - JSP-Servlet
JAVA i browsed a picture in a html page then i want to use the path in the jsp then what i to do ?
in java the the path of a file takes the two slashes instead of one
example for c:\vinay\ghaf.gif we must use c:\\vinay
java Servlets - JSP-Servlet java Servlets Hi
i am having a doubt regarding servlets as i am... here i am not using any jsp's. i got up to retriving data from data base but i am... in servlet through "out.println()" if yes then try this
My servlet code//
java - JSP-Servlet java can anyone help me with an idea to develop whiteboard using jsp.
it is very important for me.