3,760 Topics
| |
hai all i recently install tomcat addon in my xampp and it installed rightly bt by putting [url]http://localhost:8080/index.html[/url] this i m getting nothing. this index.html is file come with tomcat to show that everything is working and it is in ROOT folder. i work in php with xampp so i … | |
Hi, I have this scenario and I want to accomplish it using Servlet. I need to build an in-memory Dynmic HTML and pass it on as an InputStream to itext API to convert that XHTML to PDF. Data to be inserted in that in-memory HTML tags will come from a … | |
Okay Basically i want to put the contents of array called numbers into a MSSQL database i can connect to it no problem and select and display data so its not a connectivity issue here is what i have so far: [CODE] for (int i = 0; i < numbers.length; … | |
i want code for my project on Online Voting System in Java | |
Hello all, I need to develop a simple web application in java that will take MS excel files as input and generate output in excel format as well. Since I am not very experienced in java I am not sure what framework should I be using. Do I need to … | |
Hi.. i need to learn how to send the username and password to the database and when the user logs in it should retrieve the password from the database and authenticate if the username and password is correct. Am using this jsp code and getting error in (Resultset line) [U]here … | |
Hi guys? I have been programming in Java using J2SE. currently am working on J2EE enterprise application development using JavaServer Faces Technology.Since am new to JavaServer Faces have decided to start by a simple login applications.Developing the interface is not a big problem but getting the parameters from the inputText … | |
Hi everyone, I am trying to write a code that receives an input from textarea, transfer that input to servlet and send an email with that input using javamail API. It seems that the codes work fine with english characters, but it doesn't work with non-english characters (i am using … | |
hi i am using a jsp i am having two text fields for entering dates , i am using mysql and i am storing the values of two textboxes in two date fields the format of which is yyyymmdd i want to enter date in ddmmyyyy and change it to … | |
Hello everyone, i m trying to take input from jsp page and save this to database. every field is working fine but some problem in date format. its showing some errors. please help me. | |
Hi, I am developing a web application using JSP/Servlet. I have a form in .jsp to upload excel file which is then processed (by servlet) and an excel ouput is generated. I need to validate input file to see if a certain cell in the workbook has some value as … | |
Hi All I want to develope a jsp page which skip Jasper server login page and forward at jasper home page without login. i also dont want to sho my URL in brouser. both Jasper and my jsp contain in apache webapps folder.i did it by [CODE]<jsp:forward page="/jasperserver/login.html"> <jsp:param name="j_username" … | |
Hi, I have created .js file it is using in jsp page. All methods of .js file work properly but here problem is when I want to execute any method of .js file on body onload event then this method no working. So tell how can execute this method on … | |
hi all will it affect my applications speed if i'll set more than 10 attribute in the session thanks in advance! | |
Hello Friends. I want to install Tomcat and struts into my system. I hava downloaded apache-tomcat-7.0.2 , unpacked it. i dont know how to install it. I did as instucted in the RUNNING.txt. But i am unable to run Tomcat server. Please help me.. | |
please send me the whole code of java wed site | |
how to forward the item selected in the combo box instead of the value, to a jsp page. | |
hi, iam developing sample exam application. i want to get one by one record when i click next button. plz... give reply to this. | |
Hi, Im trying to create three pages for Inserting, deleting or viewing database contents. On my main or home page the database contents are shown. I want to create a "Delete" hyperlink in the last column of every row so that the specific record is deleted on clicking that. I … | |
hi friends please tell me anlog with code how to upload the excel file | |
[B]Html1 code:[/B] [code=html]<html> <HEAD> <title> Employee Login Page</title> <BODY> <H1> EMPLOYEE LOGIN PAGE </H1> Enter User name: <input type=text > Enter password: <input type =password> Enter Employee id: <input type=text > <form method="Post" action="http://localhost:8080/sonu1/ServletOne"> <input type=submit value=Login!> </form> </body> </html>[/code] [B]ServletOne.java code:[/B] [code=java]import java.sql.*; import java.io.IOException; import javax.servlet.*; import javax.servlet.http.HttpServlet; … | |
[code]<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@ page import="java.sql.*;" %> <%@ page import="java.io.*;" %>> <%Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Database Page</title> </head> <body background="AC.jpg"> <a href="home.jsp"><font color="white"size="3"><b>Back to Home</b></font></a> <% try { String a=request.getParameter("Book_Id"); String b=request.getParameter("Book Name"); String c=request.getParameter("Author name"); String d=request.getParameter("Publisher name"); String e=request.getParameter("Department"); String f=request.getParameter("Edition"); String g=request.getParameter("no_of_copy"); Connection … | |
In the cose below I am fetching & displaying result set in a table format. This table also contains 2 buttons Udate & Delete. Following are the issues: 1. When user clicks update, I want to send E_ID to Update.jsp. I want to know, how to send Only E_ID without … | |
Hey guys. I'm developing the Online Shop using JSP and MYSQL database. I've to create one module, basically a "Shopping Basket" which will hold the information about items that to be purchased. Suppose I buy one product from Item list, that should go in item inventory. If I click "Buy" … | |
i want to control print setting throught jsp or javascript set landscape when clicking on print button directlly plz any support appreciated! | |
hi every body i have problem when working on IE8 readonly fields geting cursor bling is any body help to solve | |
Hey guys.. I'm working on one project which is in directory - [QUOTE]C:\Tomcat 6\webapps\ROOT\cart[/QUOTE] This is the code in file called shop.jsp [CODE] <%@ page language = "java" contentType = "text/html" import = "ShoppingBasket, Product, java.sql.*" errorPage = "errorpage.jsp" %> <html> <head> <title>Welcome to Shop</title></head> <body> <table width = "385" … | |
I can show the values in a database, with a checkbox, but can't retrieve rows I checked When I submit, the only response that I get is the first row, event that I have checked everyone Here my code <table border="1" align="center" valign="center"> <c:forEach var="row" items="${parcelas.rows}"> <form> <td> <input type="checkbox" … | |
hey guys , i'am just new to java EE , well i am pretty good at java SE , so please i want to know where i can start learning jsp and servlets and if there were books that is pretty simple to understand as i mentioned that i am … | |
I am using eXist-db for storing xml documents for my website, build on JSP. I have to provide a upload box, in my website, so that any outsider can upload the xml document and that will get stored in the eXist db. I know how to register eXist db inside … |
The End.