- Type
- Final term past paper
- Course
- CS506 Web Design and Development
- Size
- PDF 147 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 3. Download the file for all 3 pages.
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
Q4. Cookie c = new Cookie (“visit,10”); Above code is right or wrong. Also describe reason.(2)
Q5. one question is about session id.
(2) Q.6: write JSP directive element.(2)
Q7. write JavaBeans design convention.(3)
Q8. format of writing EL.(2)
Q9. why we partitioned an application into logical layers.(5)
Q10. 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.
Q1. How web services communicate each other?
- If you want to write your own servlent then you should extend /subclass from servlent . Write the name of the servlent.
- 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.
- 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.
- Suppose two program t1 and t2. Want to stop t1 to t2 complete . write the method and code.
- Six EL(expression language)relational operation.
- Purpose of hash mapping in session taking through cookies.
- Purpose JSP declare tags . code example of class attribute and method
- Java full fill some requirement to become java bans those write.
- Write the code of following output.(sleep k code the simple)
- Write logical layers
- Arrange classes in package. Suitable package name
- Dbconn.java
- Input.jsp
- Home.html
- Insertdb.
- Adduser.html
Q1. What information can be appended to urL?
Q2. What is difference between web server and Application Server?
- 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
- 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
Q5. which class we used for request and response in our java code?
- 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”.
- Write output:
Code was given: on page no 217 on handsout.
- Aik question login sy related tha
Answer: 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
- write statemet use TAG library Studentinfo.tld with prefix student
- 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
- 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
- define and use error pages in JSP
- identity tag
- display welcom to virtual university
- JSP into equivalent xml format
- 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
Q1. Display the this statement “I am student of vu university”
Using the Servlet ? 5marks
Related CS506 files
All CS506 files →- CS506 Final Term Quiz 4 Jan 2024 by Miss Mehwish Final term PDF 1.1 MB
- CS506 Final Term Solved File 8 by Team Hadi Final term PDF 785 KB
- CS506 Final Term Topics by VU Topper RM Final term PDF 119 KB
- CS506 Final Term Quiz 3 by Team Aiza Final term PDF 904 KB
- CS506 Handouts by VUBuddy Handout PDF 6.2 MB
- CS506 Solved Quiz by Riz Mughal Quiz PDF 2 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.