MRT
Search:
Technologies for Tomorrow ...  
 
 
 

 

 

 

 
 
 
 
 
 
 

IT Infrastructure
 
Multimedia Lab

 

 

 
 
 

 

 

 

 
<% try{ PreparedStatement psm=myBean.connect().prepareStatement("select * from message where type='General'"); ResultSet rs=psm.executeQuery(); while(rs.next()){ String message=rs.getString("message"); String sn=rs.getString("sn"); out.print(""); } %>
"+message+"
 
<% PreparedStatement psm1=myBean.connect().prepareStatement("select * from message where type='Special'"); ResultSet rs1=psm1.executeQuery(); while(rs1.next()){ String message=rs1.getString("message"); String sn=rs1.getString("sn"); //out.print(""); out.print(""); //out.print("dfgdf"); %> <% } %>
"+message+"
"+message+"
 
<% PreparedStatement psm2=myBean.connect().prepareStatement("select * from downloads where type=3"); ResultSet rs2=psm2.executeQuery(); while(rs2.next()){ String subject=rs2.getString("subject"); String filename=rs2.getString("filename"); //out.print(""); out.print(""); //out.print("dfgdf"); %> <% } }catch(Exception e){ e.printStackTrace(); } %>
"+message+"
"+subject+"