3,760 Topics

Member Avatar for
Member Avatar for Viruthagiri

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

Member Avatar for jwenting
0
289
Member Avatar for Hakoo

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

Member Avatar for stephen84s
0
92
Member Avatar for afruja
Member Avatar for vaishnavicse

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

Member Avatar for jwenting
-1
68
Member Avatar for sasi1240

hi friends can u provide me servlet code for displaying students profile based on roll number.

Member Avatar for jwenting
-1
40
Member Avatar for nitto2cool

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 …

0
54
Member Avatar for fourteen

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

0
75
Member Avatar for mundee

New to the Java world. Can .jsp work on Windows based platform also, oppsoe to Linux? ~Mundee

Member Avatar for masijade
0
70
Member Avatar for girishkk.bec

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

Member Avatar for peter_budo
0
58
Member Avatar for anuplike
Member Avatar for niranjancs

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 …

Member Avatar for javaAddict
0
72
Member Avatar for hasini07

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 …

Member Avatar for peter_budo
0
47
Member Avatar for jothibasu

send the basic procedure for, how to generate textreport at servlet and also having reference material for generate text report send me.

Member Avatar for peter_budo
0
69
Member Avatar for newtt13

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 …

0
54
Member Avatar for tapas.chand

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.

Member Avatar for tapas.chand
0
99
Member Avatar for rmugalaasi

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

Member Avatar for peter_budo
0
108
Member Avatar for bharat_van

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 …

0
61
Member Avatar for anuraggupta16

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 …

Member Avatar for jwenting
0
155
Member Avatar for shiv0013

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 …

Member Avatar for jwenting
0
145
Member Avatar for nikhita
Member Avatar for kumar.razat
Member Avatar for gt.ang

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.

Member Avatar for ~s.o.s~
0
102
Member Avatar for manikandan_dani

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

0
82
Member Avatar for vinothkumarrvk

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

0
46
Member Avatar for pavan146

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

Member Avatar for jwenting
0
98
Member Avatar for vij123

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

Member Avatar for peter_budo
0
594
Member Avatar for deepak.marur

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.

Member Avatar for masijade
0
59
Member Avatar for Santho786

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 …

Member Avatar for selvasoft
0
95
Member Avatar for Ghada Ibrahim

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 …

Member Avatar for peter_budo
0
97
Member Avatar for kiyu2keith

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 …

Member Avatar for peter_budo
0
168

The End.