3,760 Topics
| |
Here is my code. I want to insert the date in 0000-00-00 format. But The error shows like this [COLOR="Red"][B]exception occured in Trainee Status java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date[/B][/COLOR]Here is my code [CODE]<%@ page import="INCLUDES.DBConnection"%> <%@ page import="java.sql.*"%> <%@ page import="java.io.*"%> <%@ page import="java.util.*"%> <jsp:useBean id="DB" … | |
Hello Everyone, Currently I m working on "Bug Tracking System" project using JSPs and MySQL. Actually this one is Intranet Base project. I want to add e-mail facility for each user. How can I do? Which Data Type is suitable for "File Attachment"?? And also I want help for Session. … | |
i want to disable forward and back button of IE in jsp page | |
[code]<% TreeSet Addval=new TreeSet(); TreeMap abbval=new TreeMap(); Vector newurl=new Vector(); for(int i=0;i<dds.size();i++) { double ids=Double.parseDouble(dds.elementAt(i).toString()); ids=ids+Math.random(); newurl.addElement(new Double(ids)); Addval.add(new Double(ids)); %>[/code] | |
hi friends can u provide me servlet code for displaying students profile based on roll number. | |
hi, i have written a jsp to upload images which forwards them to a servlet which in turn stores them in the server and puts a path reference in the database...the prob is i cant view the new images unless i restart the server.. the img src for new photos … | |
since FB.Connect works only in javascript how do i send the user id from the javascript to JSP for it to be stored in the database. for example how do i use FB.Connect.get_loggedInUser(); to send the id to jsp.? | |
New to the Java world. Can .jsp work on Windows based platform also, oppsoe to Linux? ~Mundee | |
I have one jsp which contains few input fileds one input field should be saved in one table of the database and another input field should be saved in another table of the database. Please Help. Thanks in Advance, GK | |
i want to asign different actions to my jsp page | |
Hi, I have an HTML table with number of rows based on number of rows in a database table. So this table's rows are dynamically rendered. I am trying to make on of these column values a link and make that link submit the form. At that point I want … | |
im dng an online test project and i inserted a timer in my test ,the problem is when i submit my exam manually it is taking my answers and showing the marks but when time is over it is not taking the marked answers in that frame where the timer … | |
send the basic procedure for, how to generate textreport at servlet and also having reference material for generate text report send me. | |
Currently, I have a jsp that lists all files in a directory and subdirectories in a web page. The problem that I encounter is that when I navigate to files 2 or 3 subdirectories deep, the resulting web link adds erroneous spaces to my address. These spaces are making the … | |
i am saving some records in an excel file on click of a button currently i am hardcoding the path like [CODE]FileOutputStream fileOut = new FileOutputStream("c:\\test.xls"); [/CODE] but i want to take the path from user,i.e.,something like 'save as' option how can i do it? please help. Thanks in advance. | |
HI,am new to the JSP forum page.Anyways,having created a database and posted there sample data,I want to proceed to creating my jsp pages in Eclipse IDE(Galileo).The database contains a login table that contains columns,employee_id,username and password.How can I do it,am a novice via jsp and servlets.Thanks in advace!!!! | |
currently i have installed tomcat 6.0 latest version and jdk latest version , my problem is when i create separate directory structure to use servlet example i am getting error .::Error configuring application listener of class listeners.ContextListener.. what should i do, anything need to configure...my app structure like.. webapps start … | |
I am trying to connect to Mysql from Jsp in Tomcat and I am getting Java.lang.NullPointer Exception. Please provide any help as soon as possible. I have set the web.xml and the server.xml properly. My web.xml contains: [code=xml]<description>MySQL Test App</description> <resource-ref> <description>DB Connection</description> <res-ref-name>jdbc/TestDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref>[/code] server.xml I have … | |
i want to send mail through from my website. i used the below code [CODE]String host="smtp.gmail.com", user="username", pass="password"; //host = smtp_server; //"smtp.gmail.com"; user = jsp_email; //"YourEmailId@gmail.com" // email id to send the emails //pass = jsp_email_pw; //Your gmail password String SSL_FACTORY ="javax.net.ssl.SSLSocketFactory"; String to = email;// out going email id … | |
can somebody prove me the coding to update the database (mysql) with JSP | |
As above, can JSP do "live feed", as in if the DB has newly added items, a display page will auto add this item without polling the DB. Or this has to be done other language? Thanks in advance. | |
Hi , I am developing web application using JSF2.0 richfaces. In this application, i am using <rich:extendedDataTable/> table for loading the data from mysql. My problem is how to select the perticular row value from this table. My sample code here. but it is not working... [code]<rich:extendedDataTable height="220px" width="300px" value="#{AddDocumentBean.perBatchAll}" … | |
:)Friends. I am new to struts. I am designing one Login page which works fine. Now i want to add Remember Me option to login page. Help me to do this. Thanks in Advance. | |
Hi, actually m doin on project in which we need free domain space wher i can run my JSP to execute client request???can anybody help me out from this???? | |
my question is related to JSP and HTML. i have a jsp page which have three combo box and a button. one combo box for a class. two combo box for from_year, to_year. i want to reterive data on this same JSP page from database based on combo box value. … | |
Hi all, I want to configure Tomcat behind an SSL enabled Apache httpd server. Could anybody show me how to do this ?? I have successfully configured apache and tomcat for http requests. Thanks. | |
I like to known that how to assign the value for the check boxes.. Since one would check either one or two check values.. I need to store the all the values in SQL Database either has 0 or 1.... i.e.., if it is checked as 1 or if it … | |
Hello .. Hopefully you can answer my question.. We are working on a project that uses Netbeans as a java editor the project is a website that needs to be linked with Java functions and an Ontology, We built the website using HTML and we embedded the JSP code in … | |
How do I exchange data from page to page? for example: on the 1st page I voted for 1 person, when I click submit it will go to the 2nd page that will let you see the output of the vote? I can't seem to do it, as I don't … |
The End.