3,760 Topics

Member Avatar for
Member Avatar for Samaka

Hello, I'm doing a simple J2EE application that will interact with a database like Oracle and you know that a database can have multiple oracle schemas and that is the problem (because I do not know how to configure hibernat with multiple schemas :( because my application can handle multiple …

Member Avatar for Samaka
0
209
Member Avatar for vikrammalik

Can anyone tell me which book i have to preferred for java servlets.If any one has program with him then please post them.

Member Avatar for kb18001
0
64
Member Avatar for raminsha

I can't upload file with form data. I am getting null value when accessing Request.getParameter("name"); how can i upload file as well as form data please help

Member Avatar for peter_budo
0
59
Member Avatar for wolwayne

Hi, I have developed a web application using NetBeans and GlassFish v3. Now I want to change to Apache Tomcat, beacause of the unavalabilty of free GlassFish web hosting. So, my question is that, can I change my fully built web application to Apache Tomcat from GlassFish and [B]If yes …

Member Avatar for wolwayne
0
3K
Member Avatar for szagarella

Hi at all. I'm a new user of jsp and I've a problem. I would execute certain operations every X seconds in my jsp project like check data into mySql DB; I use a TimerTask java class and it's ok. But if I would update the UI inside the run …

Member Avatar for Philippe.Lahaie
0
249
Member Avatar for sravanthi19

The datafile which we need to upload to tables in our project, is an external ".CSV" file which has text in the following format (This is just 1/20 th part of it..the remaining has more sets as these, nearly 20 sets of such data with different values) @110516060031<M02m00-7959=+35.69,+35.69,+35.68,+35.68,+35.69,+35.69,+35.71,+35.71,+35.71,+35.71,+35.69,+35.69,+35.68,+35.68,+35.69,+35.69,+35.72,+35.72,+35.76,+35.76,+35.80,+35.80,+35.83,+35.83,+35.86,+35.86,+35.86,+35.86,+35.86,+35.86,+35.87,+35.87,+35.87,+35.87,+35.83,+35.83,+35.80,+35.80,+35.76,+35.76,+35.75,+35.75,+35.76,+35.76,+35.75,+35.75,+35.73,+35.73,+35.73,+35.73,+35.76,+35.76,+35.75,+35.75,+35.73,+35.73,+35.69,+35.69,+35.68,+35.68,+35.66,+35.66,+35.66,+35.66,+35.62,+35.62,+35.61,+35.61,+35.58,+35.58,+35.54,+35.54,+35.53,+35.53,+35.51,+35.51,+35.51,+35.51,+35.51,+35.51,+35.51,+35.51,+35.51,+35.51,+35.51,+35.51,+35.53,+35.53,+35.53,+35.53,+35.53,+35.53,+35.51,+35.51,+35.51,+35.51,+35.51,+35.51,+35.54,+35.54,+35.53,+35.53,+35.55,+35.55,+35.59,+35.59,+35.59,+35.59,+35.59,+35.59,+35.62,+35.62,+35.64,+35.64,+35.64,+35.64,+35.66,+35.66,+35.66,+35.66>172xxxxxxxxxxxx @110516060032<M02m02-7959=+35.30,+35.30,+35.30,+35.30,+35.33,+35.33,+35.34,+35.34,+35.37,+35.37,+35.37,+35.37,+35.37,+35.37,+35.40,+35.40,+35.39,+35.39,+35.41,+35.41,+35.41,+35.41,+35.39,+35.39,+35.34,+35.34,+35.32,+35.32,+35.29,+35.29,+35.26,+35.26,+35.23,+35.23,+35.22,+35.22,+35.21,+35.21,+35.19,+35.19,+35.19,+35.19,+35.19,+35.19,+35.19,+35.19,+35.19,+35.19,+35.19,+35.19,+35.18,+35.18,+35.19,+35.19,+35.18,+35.18,+35.18,+35.18,+35.18,+35.18,+35.18,+35.18,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.18,+35.18,+35.18,+35.18,+35.16,+35.16,+35.18,+35.18,+35.18,+35.18,+35.16,+35.16,+35.18,+35.18,+35.18,+35.18,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.18,+35.18,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.16,+35.18,+35.18,+35.16,+35.16,+35.18,+35.18,+35.19,+35.19,+35.21,+35.21,+35.22,+35.22,+35.23,+35.23,+35.25,+35.25>074xxxxxxxxxxxx @110516060033<M02m04-7959=+35.47,+35.47,+35.47,+35.47,+35.43,+35.43,+35.48,+35.48,+35.40,+35.40,+35.44,+35.44,+35.51,+35.51,+35.47,+35.47,+35.44,+35.44,+35.44,+35.44,+35.51,+35.51,+35.48,+35.48,+35.44,+35.44,+35.51,+35.51,+35.46,+35.46,+35.46,+35.46,+35.46,+35.46,+35.48,+35.48,+35.48,+35.48,+35.44,+35.44,+35.48,+35.48,+35.41,+35.41,+35.41,+35.41,+35.48,+35.48,+35.47,+35.47,+35.44,+35.44,+35.39,+35.39,+35.46,+35.46,+35.44,+35.44,+35.40,+35.40,+35.44,+35.44,+35.37,+35.37,+35.40,+35.40,+35.39,+35.39,+35.41,+35.41,+35.41,+35.41,+35.37,+35.37,+35.43,+35.43,+35.36,+35.36,+35.37,+35.37,+35.41,+35.41,+35.41,+35.41,+35.39,+35.39,+35.34,+35.34,+35.43,+35.43,+35.41,+35.41,+35.39,+35.39,+35.44,+35.44,+35.37,+35.37,+35.37,+35.37,+35.37,+35.37,+35.43,+35.43,+35.44,+35.44,+35.40,+35.40,+35.44,+35.44,+35.40,+35.40,+35.41,+35.41,+35.47,+35.47,+35.46,+35.46,+35.44,+35.44>162xxxxxxxxxxxx …

0
90
Member Avatar for divsok

[CODE] try { HttpSession hs = request.getSession(); HashMap<String,Item> items = (HashMap<String, Item>) hs.getAttribute("items"); String [] allQty = request.getParameterValues("qty"); String [] itemcodes = request.getParameterValues("itemcode"); // for(String value: allQty){ // out.print(value+" "); // } // out.print("</br>"); // // for(String itemcode: itemcodes){ // out.print(itemcode+" "); // } // out.print(items.size()); int z = items.size(); …

0
98
Member Avatar for mits28

i am making a simple bike site using servlets.i have a hyperlink toh a productServlet in menubar..but when i click dat hyperlink.it keep on showing connecting.and page do not load..anyone can tell what could be the reason..i can't show code here..

Member Avatar for peter_budo
0
135
Member Avatar for misha.1988

Hi... I am a beginner in jsp...Can any one help me with a small project like addressbook or something, so that I can get an idea about how to do a project in jsp....I am using tomcat-6 and oracle 10g for my project...If not with a project atleast help me …

Member Avatar for stultuske
0
45
Member Avatar for dineshswamy

i ve already worked many time on this code ,but couldnt find whats wrong. [CODE]import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.ServletException; public class AppletServer extends HttpServlet { public void doPost(HttpServletRequest rq, HttpServletResponse rs) throws ServletException,IOException { String s,n,v; try { rs.setContentType("application/x-java-serialized-object"); InputStream i=rq.getInputStream(); ObjectInputStream oi=new ObjectInputStream(i); OutputStream o=rs.getOutputStream(); ObjectOutputStream …

0
64
Member Avatar for jbennet

How can I get SSL working in Tomcat 6.x under Linux?, ive read the documentation here: [url]http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html[/url] but im not sure how to do it with a certificate I will make myself (its a dev box)

Member Avatar for jbennet
0
213
Member Avatar for Gajanan Jaiswal
Member Avatar for softDeveloper

Hi all, In my web application I load data from MySQL database into an iframe. Sometimes files bigger than 1 Mb. I make some changes on the file, and afterwards I send it back to the database. The issue is that with this code below I can't send files bigger …

Member Avatar for peter_budo
0
102
Member Avatar for Jevran

Iam working on a java based web app using the Eclipse ide and the tomcat server, My question is, is it possible to develop this app using the ide in my computer an a tomcat server located in another. All the guides i found involve me making the server in …

Member Avatar for peter_budo
0
167
Member Avatar for riahc3

Hey All of a suddent my Apache Tomcat server has broken. Very strange but I try going to [url]http://localhost:8080[/url] and I get a HTTP 400 error. How do I fix this as it is very strange that this suddenly appears. Using MyEclipse. Note, I believe I installed NetBeans which installed …

Member Avatar for jbennet
0
173
Member Avatar for rushikesh jadha

i don't know what setting have to make on linux to run jsp programm using tomcat, please tell me what setting and how to do.

Member Avatar for jbennet
0
113
Member Avatar for sagar2dumbre

Hello i am developing a web app...i am using MVC architecture in my design. i have one form add_Flat.jsp in which admin enter the flat details and it will be stored in database (MS-Access) no other jsp page would be open on submit button.just a message displayed on add_Flat.jsp. How …

Member Avatar for jbennet
0
163
Member Avatar for NealCaffrey

I m trying to select data from a drop down and retrieve & display the values corresponding to it into textboxes.. the data to be displayed into the textboxes is taken from database(mysql database).. The scripting is done in JSP which is as follows: issue_from.jsp [code] function showDataIssue(){ xmlHttp=GetXmlHttpObject() var …

0
86
Member Avatar for ravi_91

friends,, here i have some problem. i did a program for uploading file into "D" drive using "html" and "jsp" but my main problem is when 3 users uploaded their files into "D" drive then how can i differentiate those 3 files means while retrieving files users should get the …

0
61
Member Avatar for sagar2dumbre

AJAX has retrieved value(using some DB operation)and inserted in text box.while retrieving that values on onClick event of button System.out.println shows null value.i want to retrieve value of "emp" input tag jsp file code:- [CODE] function checksubmit1() { document.w1allot.prepare.value=1; document.w1allot.submit(); } function showState(area_value) { if(document.getElementById("ddlFlat").value!="-1" || document.getElementById("emp").value!="") { xmlHttp=GetXmlHttpObject() xmlHttp1=GetXmlHttpObject1() …

0
188
Member Avatar for Niittii

Here is the Login.jsp: [ICODE]<!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=UTF-8"> <title>Login</title> <script type="text/javascript"> </script> </head> <body bgcolor="#999966"> <p>&nbsp;</p> <form method="get" action="http://localhost:8080/WebApplication1/Login"> <% if (request.getAttribute("error")!=null) { %> Login failed. Please try again <BR><HR> <% } %> <p> &nbsp;&nbsp;&nbsp;&nbsp;Username: <input type="text" name="uname" size="20"></p> <p> …

Member Avatar for vtm
0
475
Member Avatar for vishalbhavsar

Hi All, I am trying to develop a web application in which I have provided a facility for login and logout. The problem I am facing is that I can allow user to log in succesfully, but when user clicks on the logout link and comes to login page and …

Member Avatar for syrellNardo
0
78
Member Avatar for jasleen12345

pls help me tell whats wrong here is the code of my files i am a total newbie......pls t.jsp [CODE] <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> <script type="text/javascript" language="javascript" src="ah.js"></script> </head> <body> <table> <tr> <td width="36%">Userid j</td> <td width="33%"> <form name="f1" …

Member Avatar for syrellNardo
0
372
Member Avatar for syrellNardo

Hello to all of you guyss... I'm sharing this cause i can't find the cause of inputs to become null.. i have this [COLOR="Red"]addresident.jsp[/COLOR] jsp that contains this popup [CODE] <tr id = "Married_Form" > <td>Wife's First Name</td> <td><input id = "fname" type = "text" size = "16" maxlength = …

Member Avatar for syrellNardo
0
183
Member Avatar for jimmyabhinav28

I am parsing a file and populating a static array of objets in a servlet. Then i pass the static array and try to access the array in the jsp by using the JSTL <c:forEach> tag in the loop i want to populate a table. I am perfectly able to …

Member Avatar for ejosiah
0
144
Member Avatar for archie.herbias

i need help with my code in retrieving the image stored in the database.. what is the problem of this code? it only displays a blank page.. this is the code : [CODE]<%@page import = "java.sql.*"%> <%@page import = "java.io.*"%> <% Connection connection = null; //login is the name of …

Member Avatar for ejosiah
0
2K
Member Avatar for taranpreet

i want to apply validations in my registration forms for new users.here is the code of the form created.[CODE] <table cellpadding="3" cellspacing="7"> <form action="#" method ="post" id="f1"> <tr> <td>Name</td> <td><input type ="text" name ="named"></td> </tr> <tr> <td>Username</td> <td><input type ="text" name="usrnmd" value="Enter your email"/></td> </tr> <tr> <td>Password</td> <td><input type="password" name="pwdd"/></td> …

Member Avatar for syrellNardo
0
1K
Member Avatar for cyman29

Hey guys im trying to make a user form for my HTML page which asks the User to input a question and by clicking the Submit button I want the page to display the Text (Question Inputted) and the date that the user actually asked the question. This is how …

Member Avatar for syrellNardo
0
180
Member Avatar for vince8864

Hi, Here is the challenge for first jsp based project. Originally, i have an authentication.jsp that passes form to authentication java class for username and password matching. Then the java class will redirect to other jsp if it matches. After that, i wanted to solve the logout problem related to …

Member Avatar for anand01
0
131
Member Avatar for anithajerome

Hi, I store images in my MYSQL database. I need to retrieve that image to my jsp along with datas.Response.write() function only displays the picture and not the data. How to do that?

Member Avatar for archie.herbias
0
116

The End.