I studied about the architecture of JSP.But IF you have diagram for architecture then suggest me which one is Good for understand the concept very clearly
Thank You
sir,
i am a student of b.tech.3rd yr after the completion of my 2nd yr summer training,a project is assigned to me to develope an online shoping website in JSP. so pleas sir give me lay out for creating website in JSP.
and some good links or some other resources from where i can get help during my project.
need helpApratibha Bhattacharya July 4, 2011 at 12:53 PM
sir, I need a project on "payroll management system" using servlet or jsp & mysql.please help me sir.Actually it is my summer training project. so please please help me sir & I hope for your early reply.
I am making a web site that I required all material required for development. I am new to develop the the web site.
So please share all the required for this
Hi,
I have to write a JSP which has 20 fields.
And every time I enter the inputs in these fields it should get saved in a row format in the same page and i should be able to add more rows & edit the same.
pls can anybody tell me how this is done.
it will be really helpfull.
Regards,
Chandana
A new bus company in town would like to know if it is making profits per day. The buses use a number of routes during the day. Different routes have different distances and so is the fuel consumption of the buses that work along these routes. A route is identified by route number e.g. route 001, route 002 etc, starting point and destination. One route can have up to 10 buses assigned. Each bus is identified by a number plate and route. Two employees are assigned to each bus per day. Whenever the bus moves from the source to the destination and back to the source, a round is counted. And for each and every round, each bus registers its collections (money) and fuel consumed. At the end of the day, the rounds that the bus made is computed and the total collections per bus is also computed. The total collection from all the routes is computed. Since the fuel is paid per month, the amount for the fuel is computed and deducted from the total collections. At the end of the day, each of the bus employees (2 per bus) gets a fraction of 40% of the remaining collections minus fuel deductions. Implement a system that solves the above problems that prints the following
How bus workers are required per day
How much will be required to pay bus workers
Which route is making the biggest profit
Which bus is making the least and which is making the highest profit
Enable user to search for the details of a given route e.g. the drivers on that route, source and destination, distance of route
Use (JSP, Servlets, html, Javascript for validation, CSS, MySQL database and any other techonology when picking data from the database only core tag libraries should be used. ). Design your own template using any software of your choice. You are required to present the png file of the template. You should also know how to slice the png file. Identify the components of the problem that can become beans for better reusability.....
help me out,pliz!!!
I didn't get ideas about jsp form your tutorial your tutorials. I need to know how create very attractive jsp interface. How can I go to design view when I am designing interfaces???
Good Morning,
I'm creating a website and I want viewers to send me email from the website to my email straight. How can I do that because I checked your site it doesn't have what I want.
Can you pleas send me the code for that.
Thanks
Jan
Hello can any one help with to showing remainin time (not using js) on jsp page..and After finishing time it would lead me on another jsp page Pls Help
JSPAswin April 20, 2011 at 2:56 PM
I studied about the architecture of JSP.But IF you have diagram for architecture then suggest me which one is Good for understand the concept very clearly Thank You
how to upload & down load a Pdf File Using javapramoj May 27, 2011 at 4:24 PM
I need this java code help me
Request for JSP TutorialsMahaboob Khan May 28, 2011 at 2:55 PM
Your site prvides an extra ordinary tutorials on the JSP.
online shoping website development projectmanish July 9, 2011 at 6:35 PM
sir, i am a student of b.tech.3rd yr after the completion of my 2nd yr summer training,a project is assigned to me to develope an online shoping website in JSP. so pleas sir give me lay out for creating website in JSP. and some good links or some other resources from where i can get help during my project.
need helpApratibha Bhattacharya July 4, 2011 at 12:53 PM
sir, I need a project on "payroll management system" using servlet or jsp & mysql.please help me sir.Actually it is my summer training project. so please please help me sir & I hope for your early reply.
Web Development in JSPParag Shirbhate December 13, 2011 at 7:49 PM
I am making a web site that I required all material required for development. I am new to develop the the web site. So please share all the required for this
file uploadingprasad December 28, 2011 at 10:01 AM
how to upload a file from a disk and store it in harddisk...................
Thanks a lotKarthik January 4, 2012 at 5:54 PM
It has really helped me a lot. I don't even visit Google if i need any help in Java. I first visit roseindia.net.
jsp with multi record fieldschandana March 13, 2012 at 5:01 PM
Hi, I have to write a JSP which has 20 fields. And every time I enter the inputs in these fields it should get saved in a row format in the same page and i should be able to add more rows & edit the same. pls can anybody tell me how this is done. it will be really helpfull. Regards, Chandana
Jsp-servletBhavik March 19, 2012 at 12:44 PM
I want to retrieve data from table on the checked event on checkbox on the same page Here is my code bt I can not do so <%@page import="org.w3c.dom.Document"%> <%@page import="java.io.PrintWriter"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@page import="java.sql.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>New Project</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="web design, website development, web application development, print design, database development, ecommerce websites, search engine optimization, packaging design" /> <meta name="description" content="Tutorial demo showing how to add jquery animated validation to any form" /> <meta name="robots" content="all" /> <link rel="stylesheet" href="homepagecss_files/css3menu1/style.css" type="text/css" /> <style> ._css3m { display: none } </style> <link rel="stylesheet" href="jquery.ui.all.css"> <script src="jquery-1.7.1.js"></script> <script src="jquery.ui.core.js"></script> <script src="jquery.ui.widget.js"></script> <script src="jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="demos.css"> <script> $(function() { $("#datepicker").datepicker(); $("#datepicker1").datepicker(); }); function getRadioValue() { for (index=0; index < document.frm.tech.length; index++) { if (document.frm.tech[index].checked) { var radioValue = document.frm.tech[index].value; document.frm.rad.value = radioValue; } } var text="null"; text=radioValue; } function showhidefield() { { if (document.frm.chkbox.checked) { document.getElementById("hideablearea").style.visibility = "visible"; } else { document.getElementById("hideablearea").style.visibility = "hidden"; } } } function showhidefield1() { { if (document.frm.chkbox1.checked) { document.getElementById("hideablearea1").style.visibility = "visible"; } else { document.getElementById("hideablearea1").style.visibility = "hidden"; } } } function showhidefield2() { { if (document.frm.chkbox2.checked) { document.getElementById("hideablearea2").style.visibility = "visible"; } else { document.getElementById("hideablearea2").style.visibility = "hidden"; } } } </script> <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" href="homepagecss_files/css3menu1/style.css" type="text/css" /><style>._css3m{display:none}</style> <script type="text/javascript" src="jquery.min.js"></script> <script type="text/JavaScript"> $(document).ready(function() { $('.btn-submit').click(function(e){ // Declare the function variables: // Parent form, form URL, email regex and the error HTML var $formId = $(this).parents('form'); var $error = $('<span class="error"></span>'); var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; // Prepare the form for validation - remove previous errors $('li',$formId).removeClass('error'); $('span.error').remove(); // Validate all inputs with the class "required" $('.required',$formId).each(function(){ var inputVal = $(this).val(); var value = $('.category').val(); var $parentTag = $(this).parent(); if(inputVal == ''){ $parentTag.addClass('error').append($error.clone().text('Required Field')); } if($(this).hasClass('category')==true){ if(value == ''){ $parentTag.addClass('error').append($error.clone().text('Please Select Anyone....')); } } // Run the email validation using the regex for those input items also having class "email" if($(this).hasClass('email') == true){ if(!emailReg.test(inputVal)){ $parentTag.addClass('error').append($error.clone().text('Enter valid email')); } } }); // All validation complete - Check if any errors exist // If has errors if ($('span.error').length > 0) { $('span.error').each(function(){ // Set the distance for the error animation var distance = 5; // Get the error dimensions var width = $(this).outerWidth(); // Calculate starting position var start = width + distance; // Set the initial CSS $(this).show().css({ display: 'block', opacity: 0, right: -start+'px' }) // Animate the error message .animate({ right: -width+'px', opacity: 1 }, 'slow'); }); } else { $formId.submit(); } // Prevent form submission e.preventDefault(); }); // Fade out error message when input field gains focus $('.required').focus(function(){ var $parent = $(this).parent(); $parent.removeClass('error'); $('span.error',$parent).fadeOut(); }); }); </script> <style type="text/css"> html,div,blockquote,img,label,p,h1,h2,h3,h4,h5,h6,pre,ul,ol,li,dl,dt,dd,form,a,fieldset,input,th,td{border:0;outline:none;margin:0;padding:0;} ul, ol{list-style:none;} .text-center {text-align: center; padding: 10px 0;} /* Tutorial CSS */ /*Form styles*/ .styled { font: 13px Arial, sans-serif; width: 350px; margin: 40px auto; background: url(images/right_box_center.gif) no-repeat 100% 100%; padding-top: 20px; } .styled fieldset { background: url(images/right_box_center.gif) repeat 100% 100%; padding: 0 15px 20px 15px; position: relative; } #1 { background-image: url("ggraphics/topleft.gif"); } #2 { background-image: url("ggraphics/topright.gif"); } #3 { background-image: url("ggraphics/botleft.gif"); } #4 { background-image: url("ggraphics/botright.gif"); } .styled fieldset h3 { font: 24px bold Arial, sans-serif; color: white; margin-bottom: 0.5em; } /* Form rows */ .styled fieldset li.form-row { margin-bottom: 5px; padding: 3px 0; clear: both; position: relative; } .styled label { display: block; font-weight: bold; float: left; width: 100px; line-height: 24px; padding-top: 4px; color: white; } .styled label.double { padding-top: 0; line-height: 20px; margin-top: -3px; } .styled fieldset li.button-row { margin-bottom: 0; padding: 5px 0 0; text-align:center; } /* Text input styles */ /* Default */ .styled input.text-input { height: 22px; width: 200px; padding-top:5px; padding-left:2px; background: url(images/bg_input.png) no-repeat 0 0; border: none; font: normal 13px Verdana, sans-serif; color: purple; } /* Form Validation */ .styled span.error { font: bold 11px Verdana, sans-serif; color:#fff; text-shadow: 1px 1px 1px #000; display: none; background: url(images/arrow_error1.png) no-repeat 0 center; height: 8px; width: 50%; padding: 7px 14px 10px 20px; line-height: 1em; position: absolute; top: 3px; right: 0; border-right: 1px solid #6c0202; } .styled fieldset li.error input.text-input { background-position: 0 -64px; } </style> </head> <body> <div id="main_container"> <div id="header"> <div id="logo"><a href="index.html"><img src="images/bsg.png" alt="" title="" border="0" /></a> </div> <div style="font-size:400%; margin-left: 20%;" > <table> <tr> <td><center> <h1><b> Bhaskaracharya Institute For Space Applications and Geo-Informatics </b></h1> </center> </td> <td> <div id="kalas"><img src="images/kalas1.gif" alt="" title="" border="0" /> </div> </td> </tr> </table> </div> <table> <tr> </tr> <tr> </tr> </table> <div id="menu_tab" align="center" > <ul id="css3menu1" class="topmenu"> <li class="topfirst"><a href="home.jsp" style="height:37px;line-height:37px;"><img src="homepagecss_files/css3menu1/menu_icon11.gif" alt="HOME"/>HOME</a></li> <li class="topmenu"><a href="project.jsp" style="height:37px;line-height:37px;"><img src="homepagecss_files/css3menu1/icon_team1.gif" alt="ABOUT US"/>PROJECT</a></li> <li class="topmenu"><a href="profile.jsp" style="height:37px;line-height:37px;"><img src="homepagecss_files/css3menu1/menu_icon3.gif" alt="PROFILE"/>PROFILE</a> </li> <li class="topmenu"><a href="view.jsp" style="height:37px;line-height:37px;"><span><img src="homepagecss_files/css3menu1/view13.gif" alt="VIEW"/>VIEW</span></a> </li> <li class="toplast"><a href="admin.jsp" style="height:37px;line-height:37px;"><img src="homepagecss_files/css3menu1/menu_icon5.gif" alt="CONTACT US"/>ADMIN</a></li> <li class="toplast"><a href="userlogout.jsp" style="height:37px;line-height:37px;"><img src="homepagecss_files/css3menu1/login.png" alt="LOGOUT"/>LOGOUT</a></li> </ul> </div> </div><!-- Header Ends --> <div class="newproj" align="center"> <div class="right_box"> <div class="right_box_top"></div> <div class="right_box_center"> <form id="form-sign-up" class="styled" action="checkSer" name="frm"> <fieldset> <ol> <li class="form-row"><label>Project Name:</label> <input type="text" id="proj_name" name="proj_name" class="text-input required"/> </li> <li class="form-row"><label>Description:</label> <textarea rows="5" cols="23" name="desc" class="text-input required"></textarea> </li> <li class="form-row"><label>Start Date:</label> <input type="text" id="datepicker" name="datepicker" class="text-input required"/> </li> <li class="form-row"><label>End Date:</label> <input type="text" id="datepicker1" name="datepicker" class="text-input required"/> </li> <li class="form-row"><label>Category</label> <table width="50%" style="float: left;"> <tr> <td> <select name="category" class="required category"> <option value="">Please Select Anyone</option> <option value="00">MAKE</option> <option value="01">BUY</option> <option value="02">REUSE</option> </select> </td> </tr> </table> </li> <li class="form-row"><label>Department:</label> <input type="text" id="dept" name="dept" class="text-input required"/> </li> <li class="form-row"><label>Technology:</label> <table align="left"> <tr> </tr> <tr> </tr><tr> </tr><tr> </tr><tr> </tr> <tr> <td> </td><td></td><td></td><td></td> <td> <input type="radio" name="tech" value="Java" onclick="getRadioValue()"/><lable> JAVA</lable> </td> <td></td><td></td><td></td><td></td><td></td><td></td><td></td> <td > <input type="radio" name="tech" value=".Net" onclick="getRadioValue()"/><lable> .NET</lable> </td> <td></td><td></td><td></td><td></td><td></td><td></td><td></td> <td > <input type="radio" name="tech" value="Php" onclick="getRadioValue()"/><lable> PHP</lable> </td> </tr> <tr class="form-row"> <input type="text" name="rad" id="rad" class="text-input"/> </tr> </table> </li> <li class="form-row"> <h1> <center>Staff Requirements:</center> </h1> </li> <li class="form-row"><label>Staff Required:</label></li> <li class="form-row"> <label> <table class="required"> <tr> <td align="left"> <input type="checkbox" name="chkbox" onclick="showhidefield()"/> Project Manager <div id='hideablearea' style='visibility:hidden;'> <select name="pname" multiple="multiple"> <% String str2="Developer"; String s4=request.getParameter("rad"); Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection cn2=(Connection) DriverManager.getConnection("jdbc:mysql://localhost:3309/dms","root","admin"); Statement stmt2 = cn2.createStatement(); ResultSet rs2 = stmt2.executeQuery("select user_fname from dms_login where designation='"+str2+"' "); while (rs2.next()) {%> <option value="<%= rs2.getString(1)%>"><%= rs2.getString(1)%> </option> <% }%> %> </select> </div> </td> <td align="center"> <input type="checkbox" name="chkbox1" onclick="showhidefield1()"/> Team Leader <div id='hideablearea1' style='visibility:hidden;'> <select name="tname" multiple="multiple"> <% String str1="Team Leader"; String s3=request.getParameter("rad"); Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection cn1=(Connection) DriverManager.getConnection("jdbc:mysql://localhost:3309/dms","root","admin"); Statement stmt1 = cn1.createStatement(); ResultSet rs1 = stmt1.executeQuery("select user_fname from dms_login where designation='"+str1+"'"); while (rs1.next()) {%> <option value="<%= rs1.getString(1)%>"><%= rs1.getString(1)%> </option> <% }%> </select> </div> </td> <td align="justify" style="float: right;"> <input type="checkbox" name="chkbox2" onclick="showhidefield2()"/> Developer <div id='hideablearea2' style='visibility:hidden;'> <select name="dname" multiple="multiple"> <% String str2="Developer"; String s4=request.getParameter("rad"); Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection cn2=(Connection) DriverManager.getConnection("jdbc:mysql://localhost:3309/dms","root","admin"); Statement stmt2 = cn2.createStatement(); ResultSet rs2 = stmt2.executeQuery("select user_fname from dms_login where designation='"+str2+"' "); while (rs2.next()) {%> <option value="<%= rs2.getString(1)%>"><%= rs2.getString(1)%> </option> <% }%> </select> </div> </td> </tr> </table> <table> </table> </label> </li> <li class="form-row"><label>Name:</label> <input type="text" id="staff_name" name="staff_name" class="text-input required"/> </li> <li class="form-row"><label>Address:</label> <textarea rows="5" cols="23" name="addr" id="addr" class="text-input required"></textarea> </li> <li class="form-row"><label>Concerned Person Name:</label> <input type="text" id="person_name" name="person_name" class="text-input required"/> </li> <li class="form-row"><label>Contact No:</label> <input type="text" id="mob_no" name="mob_no" class="text-input required "/> </li> <li class="form-row"><label>Email:</label> <input type="text" id="email" name="emsil" class="text-input required email"/> </li> <li class="button-row"> <input type="submit" value="Save" class="btn-submit img-swap loginbrn" /> </li> <li> <a href="register.jsp"><font color="WHITE" >New User...!Register Here</font></a> </li> </ol> </fieldset> </form> <div class="clear"></div> </div> <div class="right_box_bottom"></div> </div> </div> <div id="main_content"> </div> </div> </body> </html>
Problem need solutionkaka profs April 19, 2012 at 1:41 PM
A new bus company in town would like to know if it is making profits per day. The buses use a number of routes during the day. Different routes have different distances and so is the fuel consumption of the buses that work along these routes. A route is identified by route number e.g. route 001, route 002 etc, starting point and destination. One route can have up to 10 buses assigned. Each bus is identified by a number plate and route. Two employees are assigned to each bus per day. Whenever the bus moves from the source to the destination and back to the source, a round is counted. And for each and every round, each bus registers its collections (money) and fuel consumed. At the end of the day, the rounds that the bus made is computed and the total collections per bus is also computed. The total collection from all the routes is computed. Since the fuel is paid per month, the amount for the fuel is computed and deducted from the total collections. At the end of the day, each of the bus employees (2 per bus) gets a fraction of 40% of the remaining collections minus fuel deductions. Implement a system that solves the above problems that prints the following How bus workers are required per day How much will be required to pay bus workers Which route is making the biggest profit Which bus is making the least and which is making the highest profit Enable user to search for the details of a given route e.g. the drivers on that route, source and destination, distance of route Use (JSP, Servlets, html, Javascript for validation, CSS, MySQL database and any other techonology when picking data from the database only core tag libraries should be used. ). Design your own template using any software of your choice. You are required to present the png file of the template. You should also know how to slice the png file. Identify the components of the problem that can become beans for better reusability..... help me out,pliz!!!
JspKeshava Valluri June 3, 2012 at 10:00 AM
I want code for instant userid validation in jsp... plz help me ....
jsp fundamentalsMariausz June 4, 2012 at 2:55 PM
very nice explanation...keep it up
About hrefGourab Mukherjee June 7, 2012 at 2:42 AM
Sir,how can a comment box can generate after just clicking the "comment" word(I mean to say that how can it be generated using jsp).
HiChris Perera June 25, 2012 at 2:55 PM
I didn't get ideas about jsp form your tutorial your tutorials. I need to know how create very attractive jsp interface. How can I go to design view when I am designing interfaces???
mcavikas August 17, 2012 at 5:15 PM
i have to lern
EmailJan September 7, 2012 at 2:56 PM
Good Morning, I'm creating a website and I want viewers to send me email from the website to my email straight. How can I do that because I checked your site it doesn't have what I want. Can you pleas send me the code for that. Thanks Jan
menu bar using strutseesh suneja March 25, 2013 at 2:22 PM
how can i show menu bar using struts
Remaining time showing on JSP pageArav April 11, 2013 at 2:28 PM
Hello can any one help with to showing remainin time (not using js) on jsp page..and After finishing time it would lead me on another jsp page Pls Help
Post your Comment