GTU WTAD Practical 33 : JSP Display Data in Table

GTU WTAD Practical 33 : Develop a  JSP Page to display the personal information and result information of the student in two different tabular formats.

GTU WTAD Practical 33

This example explains java server pages (jsp) to display student information in tabular form. Its simple jsp example with complete code and screenshots. If you like dont’ forget to comment it and share with your friends.

Jump to GTU WTAD Practical 34

File Name : index.jsp

File Location : Tomcat_Apache\webapps\gtu33\

<html>
	<head>
		<title>GTU WTAD Practical 33</title>
	</head>
	<body>
	
<h2 align="center"> GTU WTAD Practical 33 : Develop a  JSP Page to display the personal information and result information of the student in two different tabular formats. </h2>
	<br><br>
	
	<table border="1">
	<tr>
		<th colspan="2"> Student Personal Details </th>
	</tr>
	<tr>
		<td> Name: </td>
		<td> Abc </td>
	</tr>
	<tr>
		<td> Address: </td>
		<td> Baroda </td>
	</tr>
	</table>
	
	
	
	</body>
</html>

 

File Name : web.xml

File Location : Tomcat_Apache\webapps\gtu33\WEB-INF

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                      http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
  version="3.0"
  metadata-complete="true">  
  
  <display-name>GTU WTAD Practical 33  </display-name>
  <description>Develop a  JSP Page to display the personal information and result 
information of the student in two different tabular formats. </description>
  

</web-app>

 

Output

GTU WTAD Practical 33

Leave a Reply