Beruflich Dokumente
Kultur Dokumente
htm#q5
cs506 today paper
why jsp is better to asp
four explem of expressin language
different between html and jsp
how java becomes javebeans requirement write.
expression language ka quiestion .mcqs old pape
Read more at
http://vustudents.ning.com/group/cs506webdesignanddevelopment/forum/topics/cs506-all-
current-final-term-papers-fall-2015-past-final-term-1?xg_source=activity#TzxtfJKm2yFVzFjj.99
Read more at
http://vustudents.ning.com/group/cs506webdesignanddevelopment/forum/topics/cs506-all-
current-final-term-papers-fall-2015-past-final-term-1?xg_source=activity#TzxtfJKm2yFVzFjj.99
Which of the following directory is the top level TOMCAT directory that contains all the
application deployed
on web server?
webapps (Page 260)
bin
lib
tags
Ref: - The webapps folder is the top-level Tomcat directory that contains all the web applications
deployed
on the server. Each application is deployed in a separate folder often referred as "context".
In which file do we define a servlet mapping?
Web.xml click here for detail rep
index.html
Servlet.xml
None of the given options
Ref :- The web.xml file defines each servlet and JSP page within a Web Application
Read more at
http://vustudents.ning.com/group/cs506webdesignanddevelopment/forum/topics/cs506-all-
current-final-term-papers-fall-2015-past-final-term-1?xg_source=activity#TzxtfJKm2yFVzFjj.99
Read more at
http://vustudents.ning.com/group/cs506webdesignanddevelopment/forum/topics/cs506-all-
current-final-term-papers-fall-2015-past-final-term-1?xg_source=activity#TzxtfJKm2yFVzFjj.99
Answer of that diagram question is on Page 240, 241 with diagram..
Answer:
Some Important states are
. New state
-When a thread is just created
. Ready state
-Threads start() method invoked -Thread can now execute -Put it into the Ready Queue of the
scheduler
. Running state
-Thread is assigned a processor and now is running
. Dead state
-Thread has completed or exited
-Eventually disposed off by system
Today's Paper...
Q . What is mean by $ and " pram " in Expression Language ?
Q . Write 2 disadvantages of JSP in ?
Q . write the Method name when GET and POST send request back ?
Q. Write the code which set the Highest Priority ? (3 marks)
Q. Write the steps to create a Thread by Inheritance ? (5 marks)
Q . A code was given to detect the mistake in code ? (5 marks)
Q . Write the diffidence between Web Page and Web service ? (5 mar
Q.1: write the following code using Interface.(5) // File Worker.java public class Worker extends
Thread{ private String job ; //Constructor of Worker class public Worker (String j ){ job = j; } //Override
run() method of Thread class public void run ( ) { for(int i=1; i<= 10; i++) System.out.println(job + " = " +
i); } } // end class // File ThreadTest.java public class ThreadTest{ public static void main (String args[ ])
{ //instantiate three objects of Worker (Worker class is now //becomes a Thread because it is inheriting
from it)class Worker first = new Worker (first job); Worker second = new Worker (second job);
Worker third = new Worker (third job); //start threads to execute first.start(); second.start();
third.start(); }//end main } // end class
Read more at http://vustudents.ning.com/forum/topics/cs506-all-current-final-term-papers-fall-2015-
past-final-term-1?
groupUrl=cs506webdesignanddevelopment&xg_source=activity&groupId=3783342%3AGroup
%3A59376&id=3783342%3ATopic%3A5453825&page=3#comments#CHr9ODE4tCPU5Pgz.99
Q.2: if a java developer wants to create a servlet in which folder he puts web application for
deployment?(3)
Q.3: write code for Request Dispatcher-forward.(5)
Q.4: Cookie c = new Cookie (visit,10); Above code is right or wrong. Also describe reason.(2)
Q.5: one question is about session id.
(2) Q.6: write JSP directive element.(2)
Q.7: write JavaBeans design convention.(3)
Q.8: format of writing EL.(2)
Q.9: why we partitioned an application into logical layers.(5)
Q.10: parts of http request.(5)
Q.(11) advantages of JSP.(3)