4,248 Topics
![]() | |
Online examination system I need Entrance Exam Registration system through online using jsp. Please need for help to me. thank you | |
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] | |
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 … | |
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 … | |
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> … | |
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 … | |
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> … | |
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.*; … | |
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 … | |
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! | |
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.. | |
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.... | |
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 .... | |
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. … | |
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 | |
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. | |
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.*" %> … | |
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 | |
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 | |
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> … | |
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 | |
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 … | |
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? | |
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. … | |
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 … | |
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. | |
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 | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Can any one suggest good tutorial for beginners . But i don't know java | |
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 … | |
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.............. | |
[code=c]printf("Hey somebody send me source code for e-banking or online examination\n");[/code] | |
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..... | |
Hey guys, Please tell me how to load data from an excel file to a mysql database using jsp. | |
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 … | |
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 … | |
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> … | |
I often see people asking the same question over and over, "How do I learn to program, and where do I start?" Some people may take that question to the next level by asking, "Which language should I learn first?". The answer to those questions is fairly simple, but also … Computer Science algorithm amazon-web-services asp asp.net client-server database-design delphi developer-tools first-post google gui html-css ide java-jsp java-netbeans javascript legacy-mac mac-software machine-learning microsoft microsoft-access microsoft-windows oop operating-system pascal perl python software-architecture unix user-interface vb.net vbscript visual-basic visual-studio web-browser web-design web-server windows-server xml | |
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 … | |
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 … | |
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 … |
The End.