4,248 Topics

Member Avatar for
Member Avatar for karuppas

Online examination system I need Entrance Exam Registration system through online using jsp. Please need for help to me. thank you

Member Avatar for peter_budo
0
72
Member Avatar for raul8

In the code below, the updates are performing successfully, but the page is not redirecting Please Check: [CODE] out.println("<html>"); out.println("<head>"); out.println("<script>"); out.println("function redirect()"); out.println("{"); out.println("window.location='EmpForm.jsp'"); out.println("}"); out.println("</script>"); out.println("</head>"); Class.forName("org.gjt.mm.mysql.Driver"); con = DriverManager.getConnection("jdbc:mysql://192.168.101.98:5501/TestNJ", "testnj","testnj"); st=con.createStatement(); query="UPDATE emp1 SET E_Name='"+EName+"',E_Address='"+Add+"',E_Dept='"+Dept+"' WHERE E_ID='"+EID+"'"; st.executeUpdate(query); out.println("<body onload='redirect()'>"); out.println("</body></html>");[/CODE]

0
72
Member Avatar for coroll

Hi, i want to call another jsp from a jsp.lets say one.jsp and two.jsp. So one.jsp has a form. two .jsp need to get that values from one.jsp. Can 'request.getparameter()' be used in two.jsp to get the parameters sent by the one.jsp.please can any one help me? this is my …

Member Avatar for javaAddict
0
6K
Member Avatar for jet101

Hi everyone... Im having problems running my servlet using netbeans 6.8, It's just a simple Hello World application but I always encountered error "java.lang.NullPointerException", not sure why since the Hello World apps is already available in netbeans when you add a servlet. I dont have problems deploying my web-apps in …

Member Avatar for jet101
0
164
Member Avatar for vinithktp

Hi All, I cannot export big numbers to excel. I am using POI jar files for jsp to excel export. Here i am pasting my source code. [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Export to Excel</title> </head> <body> <table cellpadding="3" cellspacing="3" border="1"> <tr> <th>9 Digits</th> <th>18 Digits</th> <th>27 Digits</th> </tr> …

Member Avatar for vinithktp
0
1K
Member Avatar for Eric Cute

can anyone help me with my problem.. im basically creating a jsp page with two parts. First is the menu which is located on the left side and then the full page on the right. im using tables and not frameset. table have frame="rhs" for a vertical line to seperate …

0
92
Member Avatar for mith_cool

I have designed a jsp which has the following code : [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <!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>Form Cookie</title> </head> <body> <form action="http://localhost:8080/FormCookie/AddValue"> Name : <input type="text" name="name"><br> Age : <input type="text" name="age"> <input type="submit" value="submit"> </form> </body> …

Member Avatar for mith_cool
0
93
Member Avatar for surabhi.awh

hai iam new to jsp.i want to uplad an image to my website .my code is given below. Pls anyone help me ........... thanks in advance [code=java]import com.mysql.jdbc.Connection; import com.mysql.jdbc.Statement; import java.io.*; import java.sql.DriverManager; import java.util.Iterator; import java.util.List; import java.util.Random; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.*; import javax.servlet.http.*; import org.apache.commons.fileupload.*; …

Member Avatar for jaka.ramdani
0
162
Member Avatar for Member 784740

Hey, I want to send parameters via submitted form, and then to reload my jsp page: Should I use onclick command or on submit action to transfer parameters using GET method? My code: [CODE] <body> <form action="ShowPatientList.do" id="patientListForm" name="patientListForm" method = "GET"> <p>ImiÄ™ <input id ="imie" name = "Imie" value …

Member Avatar for jaka.ramdani
0
517
Member Avatar for exchequer598

Hi everyone! I am making a JSP page with Eclipse and Apache Tomcat 6. I want to create a drop-down list that will be populated with the list of all folders in the directory of that JSP page. Can someone show me how to do that? Thanks in advance!

Member Avatar for EloiseJoseph
0
806
Member Avatar for thiliniss
Member Avatar for pavan146

HI everybody can anyone pls let me know to be certified as java programmer by sun. so let me know complete procedure of applying for SCJP..

Member Avatar for masijade
-1
71
Member Avatar for mith_cool

What is the use of requestdispatcher in java? I know it is used to forward requests to servlets. But somebody could give me example or i mean to say a scenario which will prove effective in understanding this concept....

0
63
Member Avatar for avisecjena

hi,....i wanted to develop a web application using java .... I know servlet,jsp,struts,hibernate...bit of spring and EJB could u suggest some good project idea ..... i was thinking of doing a toprated movie database....any other suggestion is welcomed or what could be the possible features ....

Member Avatar for peter_budo
0
90
Member Avatar for coroll

HI!, i want call a jsp using anchor tag's href also with some data in it.when sending data i want wrap them in [CODE]<%=name%>[/CODE]. is it possible. i dont know how to do. but wahat i want to ask is [CODE]<a href='remove.jsp?itemNme=<%=temp[i]%>';>[/CODE] PLZ help me to do this.im stuk here. …

0
63
Member Avatar for coroll

Hi everyone!, do we need to add any tags to web.xml when using a bean. can any one tell me PLzzzzzzzzzzzzzzzz............ THANKS IN ADVANCE

0
74
Member Avatar for coroll

Hi!, im developing a shopping cart.my hash table is in a bean.so i need to use the hash table's elements.is it possible to use the same bean(id) in a another JSP.

Member Avatar for ~s.o.s~
0
77
Member Avatar for Sidharth Agarwa

Hi I have a small issue with displaying xml document when tried retriving in jsp page. This is the complete code: [code]<%@ page import="java.io.*" %> <%@ page import=" org.xmldb.api.base.*" %> <%@ page import=" org.xmldb.api.modules.*" %> <%@ page import=" org.xmldb.api.*" %> <%@ page import=" javax.xml.transform.OutputKeys" %> <%@ page import=" javax.servlet.jsp.*" %> …

Member Avatar for ~s.o.s~
0
162
Member Avatar for Asian_shalicool

hi,i am it student,ineed to help to have a simple java of an on reservation system using jsp.i just need java souse code how to connect access data base using jsp,please can any help me

Member Avatar for musthafa.aj
0
75
Member Avatar for hidash_in

hi all, i need help from you. i want to upload multiple files to the server. pls tell me how to do this. if anybody has the code pls paste and send without fail. advance thanks hidash

Member Avatar for masijade
-1
642
Member Avatar for shilpajmensi

Hi, I have created a Hello servlet , compiled it and deployed the Hello.class in the folder C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\test\WEB-INF\classes manually. In the C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\test\WEB-INF folder i have created a web.xml like: [code=xml]<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:/java.sun.com/dtd/web-app_2_3.dtd"> <servlet> <servlet-name>Hello</servlet-name> <servlet-class>test.Hello</servlet-class> </servlet> <servlet-mapping> <servlet-name>Hello</servlet-name> <url-pattern>/Hello</url-pattern> </servlet-mapping> …

Member Avatar for ~s.o.s~
0
129
Member Avatar for sweetyDoll

Hi! I'm a IT student. I need to have an simple java application of an online reservation system developed by using JSP, Servlets,Beans,JDBC, and Session Handling etc. I just need the java source codes. Please can anyone help me

-3
35
Member Avatar for swati29
Member Avatar for mith_cool

I am a beginner to advance java and since am learning servlet am getting some weird error in my servlet. I am trying to get the method name and this is the code which i wrote down [CODE] import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; public class NewServlet extends …

Member Avatar for ~s.o.s~
0
237
Member Avatar for Stefano Mtangoo

I have tried whatever I can but i'm yet to find a definition I can understand. Would anyone try to "educate" me on what is enterprise java beans?

Member Avatar for Stefano Mtangoo
0
121
Member Avatar for java_programmer

I have installed Tomcat 6.0.28 in my machine. But when trying to start it, it is not being started. A command window open for a fraction of second and then closed. No log or error is written in log. I have set up the JAVA_HOME, CATALINA_HOME, classpath and path variables. …

Member Avatar for NormR1
0
116
Member Avatar for manikandan_dani

Hi, I am developing web application using JSF2.0 along with netbean6.8 IDE. In this project, i use rich faces 3.3.2. when i run the application, it throws the following error deploy?path=C:\Documents and Settings\workplace\JSF3\build\web&name=JSF3&force=true failed on GlassFish v3 Domain C:\Documents and Settings\workplace\JSF3\nbproject\build-impl.xml:598: The module has not been deployed. BUILD FAILED (total …

Member Avatar for ahmed.faraz
0
158
Member Avatar for fieryeagle

Hi ppl, I wanna write a supply chain management system using JSP and Oracle database. Anyone got experiences in coding SCM or similar systems in JSP? I wanna ask about the functionality aspect.

0
47
Member Avatar for srdva59

hi, i looking for a way to change text field date using up/down keys i have looking on google but i not find nothing working in both browsers any one know something like this? thanks for your help

0
58
Member Avatar for Priya123M

Hi I'm a Javascript newbie. I am displaying list of things in my Jsp page. each row has two drop down menus and a radio button. When the submit is clicked it sends the index of the radio button clicked as a hidden parameter. I need to get the drop …

Member Avatar for javaAddict
0
4K
Member Avatar for the reporter

i have to filter the user input in the comboxbox under my "search tab" eg. if the user were to type "y", "YAHOO" or any words related to "y" will appear on the filter list and allow the user to select. anyway my combobox values are taken from text file …

Member Avatar for Darryl.Burke
0
1,000
Member Avatar for SHARKASI

i've just 3 days to give the full program to the doctor but i've a problem and i'm tired to find this problem could anyone help me to fix it please this program is currency converter the code is here: import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import javax.swing.Icon; …

Member Avatar for jon.kiparsky
0
212
Member Avatar for avnish1728

Hi, I am calling javascript from java and calling a function, and that function on an image i am calling onmouse over. So now the problem is, I have two jsp, secord inside first. when i click first jsp where is onmouseover, it's working fine and after that i am …

Member Avatar for fxm
0
101
Member Avatar for subhankar02dey

I want to know using Java Sript, how can I get sub buttons when I mouseover a button, for example, in daniweb.com, when I mouseover Web Development button, then it expands and shows PHP, ASP.NET, Cold Fusion, ASP, JSP and so on....... How I can make this type of button …

Member Avatar for fxm
0
102
Member Avatar for torkolort

Hi, I'm new to JSP and I'm trying to make a simple registration form. I've looked at examples and tried to do the same thing, but I have some problems. What I have so far is register.jsp : [code]<div id="register_container"> <form action="registrationProcessor.jsp" method="post"> First Name <input name="firstname" type="text" class="inputbox"/><br/> Last …

Member Avatar for ~s.o.s~
0
359
Member Avatar for hims4u

respected mods i am facing a very strange problem when i am trying to run any jsp code on tomcat server in fedora 13. i have installed tomcat6 by command as #yum install tomcat6 after that when i give the address as [url]http://127.0.0.1:8080/aa1.jsp[/url] (aa1.jsp being the name of my jsp …

Member Avatar for hims4u
0
527
Member Avatar for prashant37

Hello I am totally new here ,this is my first project and i am trying to learn a lot of new things so pls be patience . can some one pls help me in regards to tomcat server and jsp pls pls It needs to be done urgently as i …

Member Avatar for prashant37
0
130
Member Avatar for balaji153
Member Avatar for thr

hello I want too choose among c++ + qt + php and java for my programming language and platform please help me too choose best platform I want to choose a platform that has this features : speed, portable I am c++ programmer and familiar with java programming language i …

Member Avatar for JamesCherrill
0
172
Member Avatar for kannappan

hi,i need help u..... how to integrate youtube website to my website? how to retrieve datas from youtube to my website and play the videos in my website only? send jsp code and complete details.............. Thanks..............

0
37
Member Avatar for Mastersrebel

[code=c]printf("Hey somebody send me source code for e-banking or online examination\n");[/code]

Member Avatar for javaAddict
-2
42
Member Avatar for balaji153

can any one help!!! Do i need to learn java to code in jsp... Yesterday i tried to print string from text box with jsp.I found it's easy to understand . But i don't know even how to declare a variable in java. Help Me please.....

Member Avatar for masijade
0
189
Member Avatar for anuj_sharma

Hey guys, Please tell me how to load data from an excel file to a mysql database using jsp.

Member Avatar for kumar pushkar
0
113
Member Avatar for yuvi2288

HI EXPERTS, I am trying ajax. The code I have used is given below.I linked both the javascript files inside the head section. When I select any category from first dropdown box, I call the javascript func and got the corresponding subcategories in the second dropdown. This is ok. But …

Member Avatar for yuvi2288
0
139
Member Avatar for yuvi2288

hello dudes, kindly help me... Example: A new Facebook account is created... once the user creates his profile then automatically custom URL is generated for him... (ie)niranjan kumar facebook searched in google, here v can get by clicking the 2nd link as shown in the URL [url]http://www.facebook.com/niranvk[/url] ... now we …

Member Avatar for ~s.o.s~
0
76
Member Avatar for yuvi2288

Hi, I am trying to use ajax in my webpage. I got the values from the database and displayed as links as below. param1 param2 param3 I used the following code to call a javascript function func() with dynamic parameter param in jsp. out.println("<a href='#' onclick='javascript:func('"+ param +"')'>"+ param +"</a> …

Member Avatar for ~s.o.s~
0
76
Member Avatar for Iron_Cross
Member Avatar for yuvi2288

hi pals, here i have the API key and Security key .... but am not able to create the session key values... i have attached my coding here... [code]<% String username = request.getParameter("username"); String password = request.getParameter("password"); FriendsterClient fc = new FriendsterClient("sessionkey", "7c253b64f5f3aa1d84b7c825ab2327e8", "3cdebc2f794af44d173a9046d12775cc"); XPath xpath = XPathFactory.newInstance().newXPath(); int uid …

0
61
Member Avatar for yuvi2288

Hi experts, This is the snippet for html file <li><a href="#">Electronics</a> <ul> <li><a href="">Mobile Phones</a></li> <li><a href="">Television</a></li> <li><a href="">Air Conditioners</a></li> <li><a href="">Photo & Optics</a></li> <li><a href="">Audio Systems</a></li> </ul> </li> And there is one jsp file called electronics.jsp.. If i click any one of the above, it should be go to …

Member Avatar for musthafa.aj
0
87
Member Avatar for yuvi2288

Hi experts, I am trying to use ajax in my webpage. I got the values from the database and displayed as links as below. param1 param2 param3 I used the following code to call a javascript function func() with dynamic parameter param in jsp. out.println("<a href='#' onclick='javascript:func('"+ param +"')'>"+ param …

Member Avatar for musthafa.aj
0
70

The End.