Build dynamic server-side pages with JSP and Servlets. Learn MVC patterns, JSTL, EL, filters, sessions, security, and deployment. Apply testing, performance, and modernization tips to evolve legacy apps into maintainable web solutions.
Respected Sir, I need the detaile explaination about admin work in entire website and i need the code for admin work i.e, it includes admin registration, admin login, admin to give permissions for admin subordinates to view the details of the users and i need code for admin to register, add , update, delete, view the users details using jsp, jdbc ,html, css, jquery. and how to change the modifications and implements those details in admin dashboard template of a admin template. Regards, A. SURYA KRISHNA VAMSI
Respected Sandeep Sharma Sir, How i can download the spdf.jar file from oracle or otherwise can u give me the spdf.jar file directly to download. Regards, A. SURYA KRISHNA VAMSI
Respected Sir, How to generate otp for our mobile to send and receive by jsp and jdbc, javascript or jquery. Please asap send those source code Regards A. SURYA KRISHNA VAMSI
Hi Folks , Could anyone please let me know How to create hidden input with different name in JSP for list of db users dynamically.and these hidden inputs will be used for other options. Thanks & Regards
How to retain filled form data when 5 jsp pages having hyperlinks for Previous and Next Pages and Last page will have submit button to save all 5 pages data into database. and form data should be empty only after form data submission successful. Page1.jsp ---> Page2.jsp ---> Page3.jsp ----> Page4.jsp ----> Page5.jsp (submit). Suppose if we come back from Page4.jsp to Page3.jsp,Page2.jsp and Page1.jsp then filled data should be appeared in previous pages.
Hi Folks , Could you please let me know how to count checked check boxes in Jsp and then add total check count to JSP hidden field as input. Thanks Ravi Gaddam
I am currently doing folder structure using jsp. Files are uploaded to the folder and saved file path and filename into the database. Fetching the file from database to the front end using jsp code. Files are displayed with a href link. But when i click on file it is not open or downloadable. When i click on file it should open. Please check what is the problem in code. Note: File is in href format but not opening or downloadable in my project. File path saved as: D:\\UploadedFiles\\index.html' <% try { //String s3=null; // String s2=null; statement = connection.createStatement(); String query ="select name,file from file where category=1"; resultSet = statement.executeQuery(query); while (resultSet.next()) { String fname=resultSet.getString("name"); String fpath=resultSet.getString("file");%> <li> <a target="_balnk" href="<%=fpath%>"><%=fname%></a></il> <% } } catch (Exception e) { e.printStackTrace(); } %> <d
How to make photo gallery in jsp and mysql.. I want to upload photos and make it display according to category or tags like birthday, meeting , outing, picnic...please help
How to make login from social networks to my website. Scenario: I have email and password login system. Now i want to integrate social networks login to my website. Problem is: I have got api keys from google and fb but i am not getting how to integrate social networks with my web login credentials. pls provide the code
I have designed full calendar using Jquery. I want show events from database to the full calendar using JSP. If mouse hover on that particular date on calendar, it should display events details.
can you please tell how can i receive json by http post request and reply the client in same session in json format.do i need to provide simple aspx url on which client hts json by post. please help me i am new to json
How to write two actions for one form with one submit button. I have one form, one submit button but different actions. How to code for it.?
I am sending MM/dd/yyyy format from frontend to the mysql workbench database but its not storing the date as MM/dd/yyyy format. then how to convert this to yyyy/MM/dd in jsp. I have tried this code but getting error please reply soon its urgent. <%String start_date = "MAY-08-2017"; SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); Date d = formatter.parse(start_date); System.out.println(d); System.out.println(formatter.format(d));%>
Hello I am trying to stop the JavaScript code to run when the data is found in the table ( dt.Rows.Count > 0 ). At the moment the code is not inserting data in the database (that what I want) but the JavaScript continues running because I am still getting the successful insert message.Please see de code attached Thanks for your help Eric
If i choose file and select the category(there are 4 category i thee drop down box), the file should save in the selected particular category in the server and save that file name and file path to the mysql database. And i have to fetch that stored file from database to the front-end. my questions are how to create folder in server for each drop down category.? How to save the file ame and file path to the database ?
I have stored file name and file path into the database using jsp code. now i want to insert other data into same DB same Table using jsp but file path saving into the DB but other data are not storing into the DB. Here is my code please edit if wrong thanks in advance. <%@ page import="java.io.*,java.sql.*,java.util.zip.*" %> <% String saveFile=""; String contentType = request.getContentType(); if((contentType != null)&&(contentType.indexOf("multipart/form-data") >= 0)){ DataInputStream in = new DataInputStream(request.getInputStream()); int formDataLength = request.getContentLength(); byte dataBytes[] = new byte[formDataLength]; int byteRead = 0; int totalBytesRead = 0; while(totalBytesRead < formDataLength){ byteRead = in.read(dataBytes, totalBytesRead,formDataLength); totalBytesRead += byteRead; } String file = new String(dataBytes); saveFile = file.substring(file.indexOf("filename=\"") + 10); saveFile = saveFile.substring(0, saveFile.indexOf("\n")); saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\"")); int lastIndex = contentType.lastIndexOf("="); String boundary = contentType.substring(lastIndex + 1,contentType.length()); <div id="pastin
i want to upload the files to the database and uploaded files should come under tree strctured folders and sub folders using jsp servlet codes. right now my files are saving in localhost server
can someone help on how to pass login and password from the code below that i have attach to an asp .net c# page.. The login and password are retrieve from Active Directory data. Code are as below : <%@ page language="java" %> <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <%@ page import="java.util.*" %> <%@ page import="com.novell.nidp.*" %> <%@ page import="com.novell.nidp.servlets.*" %> <%@ page import="com.novell.nidp.resource.*" %> <%@ page import="com.novell.nidp.resource.jsp.*" %> <%@ page import="com.novell.nidp.ui.*" %> <%@ page import="org.apache.commons.lang.StringEscapeUtils" %> <% ContentHandler handler = new ContentHandler(request,response); String target = (String) request.getAttribute("target"); String uname = (String)request.getAttribute("username"); if ( uname == null ) uname = ""; uname = StringEscapeUtils.escapeHtml(uname); if ( target != null ) target = StringEscapeUtils.escapeHtml(target); %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//<%=handler.getLanguageCode()%>" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>UUM Single Sign-On</title> <style type="text/css"> body{ margin: 0; font-family: "Helvetica Neue","Arial",sans-serif; } #bg{ position: fixed; top: -50%;
Here i have attached the programs and the errors please can anyone try to solve this and demonstrate how to solve this type of error
hi , I have declare 3 country table and one more table for sorting data using this table. Table 1 consist 100 record , Table2 have a 150 Record and Table 3 have 100 record. Now i have to find using fourth one table . Table 4 : Columnname 1 To 50, 50 To 100, 100 To 150 etc I will click to 1 to 50 than all 3 three table display 1 to 50 record using java script. Please Help Me above this problem solution
WE ARE POST TWO TYPE OF PAGE IN WHICH TRYING TO GETTING BALANACE JUST LIKE ANY BANK ACCOUNT PASSBOOK,KINDLY ANY BODY HELP TO TO RESOLVE BELOW THOSE PROBLEMS. I AM LEARNER OF JSP-SQL EXAMPLE FOR MS ACCESS DATABASE CUSID-USER-ACCOUNT-DEBIT-CREDIT-BALANCE-SDATA 001-MANISH-4544545-5000-0000-5000-21/11/2016 002-MANISH-4544545-0000-3000-3000-23/11/2016 003-KUMAR-9878987-3000-000-3000-21/11/2016 004-KUMAR-9878987-0000-2000-1000-22/11/2016 005-MANISH-4544545-2500-000-5500-25/11/2016 JSP PAGE CODE FOR ABOVE WHICH SDATE IS AUTOMATICALY FOR String date = (new java.util.Date()).toString(); DEPOSIT HTML PAGE <html> <Head> <center>Welcome to the credit page</center></head> <form action="http://localhost:8080/commerce/account_debit.jsp" method="post"> <body bgcolor="#ccccdd"><center><table> <tr><td>Enter the Account Holder Name </td><td><input type="text" name="Username"></td></tr> <tr><td>Enter the Account Number </td><td><input type="text" name="Account"></td></tr> <tr><td>Enter the Amount-Debit </td><td><input type="text" name="Debit"></td></tr> <tr><td><input type="submit" value="credit"></tr></td> <tr><td><input type="reset" value="reset"></tr></td></table></center> </body> </form> </html>THIS IS TRANSFER FOR DEBIT-account_debit.jsp" WHICH SDATE IS AUTOMATICALY FOR String date = (new java.util.Date()).toString(); THIS IS JSP PAGE FOR APPEND DATAPASE CODE <%@ page language="java" import="java.
I am new to jsp and I am trying to make an apllication form in jsp which saves the details of the member in the mysql . Connectivity part is done it is taking in the details and saving them to mysql DB , issue is that few columns like pincode , mobile number & fax ,validation is not working with them . Please suggest me how to add validation to these columns . Also I am trying to save the image of the applicant but it takes the image as an attachment and when I try to fetch the data from DB it only shows the attachment not the image .
I have inserted in image in database using mysql with data type blob. Now i want to retrive it in form in jsp. I have created an jsp application form and i want to display the image of applicant. Please some one give me the code for it in jsp . I will be thankfull for that.
WE ARE POST TWO TYPE OF PAGE IN WHICH TRYING TO GETTING BALANACE JUST LIKE ANY BANK ACCOUNT PASSBOOK,KINDLY ANY BODY HELP TO TO RESOLVE BELOW THOSE PROBLEMS. I AM LEARNER OF JSP-SQL EXAMPLE FOR MS ACCESS DATABASE CUSID-USER-ACCOUNT-DEBIT-CREDIT-BALANCE-SDATA 001-MANISH-4544545-5000-0000-5000-21/11/2016 002-MANISH-4544545-0000-3000-3000-23/11/2016 003-KUMAR-9878987-3000-000-3000-21/11/2016
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegister