Java 2 Old Paper Answer
SAQ 2016 2017 2018 2022 2016 Batch 2017 Batch
Continue ReadingSAQ 2016 2017 2018 2022 2016 Batch 2017 Batch
Continue Reading[NOTE: The Short answers are from Google so please check all the answers again.The correctness of answer is on your own risk.] ASIAN 1. The function of transport layer are as follows: Communication with session layer and above. Reassemble transport protocol data units into data stream. Recover lost data. it is use for message error […]
Continue Reading1.Write a JSP program to display the current server time. Jsp program: <HTML> <BODY> <% java.util.Calendar now = java.util.Calendar.getInstance(); int hour = now.get( java.util.Calendar.HOUR_OF_DAY); int minute = now.get( java.util.Calendar.MINUTE); int second=now.get( java.util.Calendar.SECOND); %> <h1>Current Server Time</h1> <% out.println(hour +”:”+minute+”:”+second); %> </BODY> </HTML> 2.JSP Implicit Object Crete a HTML form with two textfied for […]
Continue Readingjava servlet write a servlet program to display the current system date time. 1. Servlet Program import javax.servlet.*; import java.io.*; import java.util.*; public class ServletDemo extends GenericServlet { public void service(ServletRequest rq, ServletResponse rsp) throws ServletException, IOException { PrintWriter pw=rsp.getWriter(); rsp.setContentType(“text/html”); Date dt=new Date(); pw.println(“<html>”); pw.println(“<body>”); pw.println(“Current date time=”+dt); pw.println(“</body>”); pw.println(“</html>”); pw.close(); } } 2. […]
Continue ReadingQuestion paper Solution Pre- board Paper
Continue Reading