CS506 final term past papers

For Past Papers Just Follow The Download Buttons, We have a large data for revision of Virtual University courses. You can also join following groups for study discussion . The best is We Recommend you to study your handouts and lectures, then revise the past papers for your good grades.

Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development
Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development
Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development
Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development
Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development Download cs506 mid term 1.pdf CS506 final term past papers CS506 - Web Design and Development

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.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)

custom tag, yield, web server application server,javaBean, upcasting sy questions thy. . 2 program likhny thy.

1. How web services communicate each other?
2. If you want to write your own servlent then you should extend /subclass from servlent . Write the name of the servlent.
3. Suppose a java developer want to send response to local host URL and also want to encode this URl. Being a java developer which encoding method recommended for URl encoding.
4. If u want to declare a new method or varables outside of to get() / do post() method for servlat, in jsp at class level which JSP tag will be used.
5. Suppose two program t1 and t2. Want to stop t1 to t2 complete . write the method and code.
6. Six EL(expression language)relational operation.
7. Purpose of hash mapping in session taking through cookies.
8. Purpose JSP declare tags . code example of class attribute and method
9. Java full fill some requirement to become java bans those write.
10. Write the code of following output.(sleep k code the simple)
11. Write logical layers
12. Arrange classes in package. Suitable package name 
• Dbconn.java
• Input.jsp
• Home.html
• Insertdb.
• Adduser.html

1. What information can be appended to urL?
2. What is difference between web server and Application Server?
3. single line to include a page “vu home .java” you can use any name for tags but mention which have chosen for which tag element
4. Write a script that validate the phone number field in the form such a way if user leaves it empty it receives a message “ phone number is required. It can’t be left empty……..5
5. which class we used for request and response in our java code?
6. Write the code for “IncludeServlet” in the processRequest() method given below.In such a way that user enter “name” and “accountAmount” and submit the form to NewServlet. NewServlet show the username and amount with message “ please wait your amount is send” and IncludeServlet that display user’” Thank you”.
7. Write output:
Code was given: on page no 217 on handsout.
8. Aik question login sy related tha

Ans:
String id=request.getParameter(“userid”);
String password=request.getParameter(“pwd”);
if(id.equals(“vulms” && password.equals(“admin”)){
response.sendRedirect(“welcome.jsp”);
}
else{
response.sendRedirect(“error.jsp”);
}catch (Exception e){
system.out.println(e.getMessage());
}
Mostly mcqs were from past papers. Remember me in yours prayers

1.write statemet use TAG library Studentinfo.tld with prefix student 
2.single line to include a page “vu home .java” you can use any name for tags but mention which have chosen for which tag element
3.servlet named as “myservlet ” where we provide or name “myservlet “call response send redirect output.html will our name be accessible on the outpuut .html 
4.define and use error pages in JSP
5. identity tag 
6.display welcom to virtual university 
7.JSP into equivalent xml format 
8.Tag library student info .tld

 

 

My today’s paper.

Q1. Identify the type of following tag? (2)
          <studenttagstudy>
          </studenttagstudy>

Q2. The data we send to server can be categorized into two types. Write the names of these two types. (2)

Q3. Write a code statement to remove the value associated with “amazonSession” of object “Session”. (2)

Q4. Which java code is equivalent to “jsp.useBean”? (2)

Q5. Write a statement to use tag library “StudentInfo.tld” with prefix “student”. (3)

Q6. What impact a JavaBeans object can produce when it is stored in an Application scope? (3)

Q7. Explain the “Forward” method of “RequestDispatcher” with the help of diagram.(3)

Q8. Implicit objects are provided to simplify JSP expression and scriptlet, write the names of three most important implicit objects? (3)

Q9. What happens if :
i. We set True as requestgetSession(true)
ii. We set False as requestgetSession(false) (5)

Q10. Write HTTP based servlet which displays a message “Welcome to java servlets”?(5)

Q11. Write complete code for building “custom tag” shows output “Welcome to virtual university”? (5)

Q12. Complete the code. It was related to custom tag coding including dotted lines.I forgot. (5)

My paper of cs506 23 august 2014

Q 1.Display the this statement “I am student of vu university”

Using the Servlet ?   5marks

Q2.D/b   MVC1 and MVC2

Q3.Features of JSF?

Q4.D/B  EJBs and Beans

Q5.How we can overcome starvation in Priorities?

Q6.EL version and RT version

Q 6. One q in servlet 

Q7. Hidden form field

Responses