3,760 Topics

Member Avatar for
Member Avatar for usiyalla

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 …

Member Avatar for peter_budo
0
154
Member Avatar for chintan_shah09

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 …

0
44
Member Avatar for osirion666

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; …

Member Avatar for javaAddict
0
451
Member Avatar for azrasiddiqui
Member Avatar for fredw300

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 …

Member Avatar for peter_budo
0
159
Member Avatar for madhu ms

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 …

Member Avatar for javaAddict
0
3K
Member Avatar for Bonface4

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 …

0
48
Member Avatar for darangho

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 …

0
57
Member Avatar for panditavinod1

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 …

0
38
Member Avatar for pandeyprashant

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.

Member Avatar for panditavinod1
0
61
Member Avatar for fredw300

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 …

0
77
Member Avatar for yog2mis

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" …

0
51
Member Avatar for himmat.m4

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 …

0
69
Member Avatar for nikita.chandra

hi all will it affect my applications speed if i'll set more than 10 attribute in the session thanks in advance!

Member Avatar for Stefano Mtangoo
0
71
Member Avatar for madhub2v

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..

Member Avatar for peter_budo
0
98
Member Avatar for mishra pradeep
Member Avatar for pin2jay

how to forward the item selected in the combo box instead of the value, to a jsp page.

0
51
Member Avatar for prasannakumarp

hi, iam developing sample exam application. i want to get one by one record when i click next button. plz... give reply to this.

0
44
Member Avatar for alex8206

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 …

Member Avatar for alex8206
0
1K
Member Avatar for yatheeswary

hi friends please tell me anlog with code how to upload the excel file

0
41
Member Avatar for sonu33

[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; …

Member Avatar for sonu33
0
3K
Member Avatar for calender24365

[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 …

Member Avatar for peter_budo
0
113
Member Avatar for raul8

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 …

Member Avatar for calender24365
0
1K
Member Avatar for rahulrulez

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" …

0
62
Member Avatar for srikanthdon

i want to control print setting throught jsp or javascript set landscape when clicking on print button directlly plz any support appreciated!

0
39
Member Avatar for srikanthdon

hi every body i have problem when working on IE8 readonly fields geting cursor bling is any body help to solve

0
46
Member Avatar for rahulrulez

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" …

Member Avatar for nohup
0
2K
Member Avatar for Watashi

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" …

Member Avatar for nohup
0
126
Member Avatar for Abdel_eid

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 …

Member Avatar for madhub2v
0
141
Member Avatar for Sidharth Agarwa

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 …

0
69

The End.