Java 2 old Papers Solution 2018 || BIM STUDY NOTES

5th Semester

year 2018





 

  1. Create a HTML document that contains header information of a page and include this HTML as a header file in header.html

include.jsp
<html>
<body>
<%@include file = “header.html” %>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

</p></body>
</html>



3.  Create a servlet to find out factorial of a positive integer value.

Q.no 4  Write a program to insert 5 records into the table “Book” that contains (id, title, author, price) inside the database “Library”.



(adsbygoogle = window.adsbygoogle || []).push({});

5.Create an applet that reads the parameter supplied from the <param> tag and display the parameter value. Also create a suitable HTML file.





Q.no 6   Create a swing GUI that contains a text field and two buttons (ok and clear). When ok button is clicked, “welcome” should be displayed in the text field and clear button should clear the text field content.



(adsbygoogle = window.adsbygoogle || []).push({});

 




Leave a Reply

Your email address will not be published. Required fields are marked *