Home Tutorialhelp Comment HI I have tried follow your sample. But I have go

 
 

Comment

dav
HI I have tried follow your sample. But I have go,
April 9, 2007 at 6:11 PM

HI I have tried follow your sample.
But I have gotten error : can't not find symbol : getDatasource.

Now I using tool netbeans, and I have have Drive JDBC in netbeans.
So how should I do to repair this error

Thank in your advance
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
JSP Servlet Questions

have any one tried ajaxanywhere with jsp/servlet please provide sample
have any one tried ajaxanywhere with jsp/servlet please provide sample ... it explains how to use this with struts but not with simple jsp servlet(or i am confused ) also in netbeans when i added this jar as said ,it shows me the method name 

Struts Questions

I have a doubt regarding action - Struts
I have a doubt regarding action   hi, I have doubt regarding struts,I got response through jsp and once again it redirecting to action..., Please check Action Mapping in the struts-config.xml. If you have any problem 

Struts Questions

Hi - Struts
Hi  Hi friends, must for struts in mysql or not necessary please tell me its very urgent....I have a only oracle10g database please let me... very urgent....   Hi friend, I am sending you a link 

JavaMail Questions

i have problem in that program - JavaMail
i have problem in that program  1. Write a multi-threaded Java... paradigms of Java. Use JDBC to connect to a back-end database.  Hi Friend... = pw; } public void run(){ try{ int i; for (i=1;i<10;i 

Java Beginners

hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work on it ..
hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work on it ..   hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work 

Hibernate Interview Questions

I have crude application
I have crude application   I have crude application, how to load into this roseindia.net 

Java Beginners

I have need to help
I have need to help  Write a program that, for four points A, B, C and P, draws a triangle formed by ABC and a small cross showing the position of P; and displays a line of text indicating which of the following three cases 

JDBC Questions

i have problem with classnofounderror
i have problem with classnofounderror   import java.sql.*; public class Tyagi { public static void main (String args[])throws SQLException { ResultSet rs; try { Class.forName 

JDBC Questions

i have problem with classnofounderror
i have problem with classnofounderror   import java.sql.*; public class Tyagi { public static void main (String args[])throws SQLException { ResultSet rs; try { Class.forName 

Travel

I have only one day to visit the Jaipur..
I have only one day to visit the Jaipur..  Hi, I have only a day to travel in Jaipur ..hence, bit worried about what to see first 

Struts Questions

if we have 2 struts-config files - Struts
if we have 2 struts-config files  if we have declared 2 struts..., No we cannot have 2 struts-config.xml files. In one case we can use 2 struts-cofig.xml files with some minor change in the file name. i e we can use 

JSP Servlet Questions

I have to retrieve these data from the field table
I have to retrieve these data from the field table  Hi. I have... chennai,trichy,kanchipuram for a single record. I have to retrieve these data from... as single values like chennai as one value, trichy as one value. and i have 

Java Beginners

In Java I have append to an existing string efficiently
In Java I have append to an existing string efficiently  Hi, In a Java program I have to append to a existing string more efficiently so... for this? Thanks   Hi, You should use the StringBuilder class 

JavaMail Questions

sir i,have a assignment for these question plz help me sir - JavaMail
sir i,have a assignment for these question plz help me sir  ...; Hi Friend, Try the following codes: 1)ADT Stack: import...; } else { String str = " "; for (int i = 0; i <= top; i++) str 

Struts Questions

Still have the same problem--First Example of Struts2 - Struts
Still have the same problem--First Example of Struts2  Hi I tried... tried my own example. Its not displaying the "Struts Welcome" message and also the current time. I also tried the directory structure mentioned in the above link 

JDBC Questions

HI!!!!!!!!!!!!!!!!!!!!!
(null," You have withdrawn "+withdrawl+" shillings and your balance...HI!!!!!!!!!!!!!!!!!!!!!  import java.awt.*; import java.sql....=con.createStatement(); int i=st.executeUpdate("insert into bankdata(name,pass 

Java Beginners

hi.......
(null," You have withdrawn "+withdrawl+" shillings and your balance...hi.......  import java.awt.; import java.sql.*; import javax.swing.... from bank where branch='kannur'"); Statement st=con.createStatement(); int i 

Struts Questions

Hi - Struts
Hi  Hi Friends, Thanks to ur nice responce I have sub package in the .java file please let me know how it comnpile in window xp please give the command to compile 

Java Server Faces Questions

i have an ques. of advanced java
i have an ques. of advanced java  write a wap to implement AWT by login form 

Java Beginners

I have problem in my Project
I have problem in my Project  Dear Sir, i have problem in my project about Jtable i have EDIT JButton whenevery i was click on edit he is display all data from database but i want to select any row 

Spring Framework Questions

i have a problem in spring - Spring
i have a problem in spring  spring Aop: how to configure proxyfactorybean in xml file for providing advices for one particular class 

JSP Servlet Questions

I have doubt in jsp file.
I have doubt in jsp file.  I have doubt in jsp file. In a jsp file, there should be two buttons. One is start and other is stop. When we click on start then only stop should be enabled. Other wise it should be disabled. When 

Struts Questions

Hi - Struts
Hi  Hi Friends, I want to installed tomcat5.0 version please help me i already visit ur site then i can't understood that why i installed please give some idea for installed tomcat version 5 i have already tomcat 4.1 

Java Beginners

I developed a simple java web project in Struts now If I have to import the project in Eclipse Indigo how can I do it
I developed a simple java web project in Struts now If I have to import the project in Eclipse Indigo how can I do it   I developed a simple java web project in Struts now If I have to import the project in Eclipse Indigo how 

Java Beginners

Can I have multiple main() methods in the same class?
Can I have multiple main() methods in the same class?  Hi, Can I have multiple main() methods in the same class?   Hi, No, We cann't use multiple main() method within the same class. If we do this then the program 

JDBC Questions

hi
hi   I have connected mysql with jsp in linux and i have used JDBC connectivity but when i run the program, its not working the program is displaying 

PHP Questions

How to update record to database? I have trouble with the following code
How to update record to database? I have trouble with the following code  I have written the update statement but it still not work to update the record,what is the missing of the following code ?I need help,thankyou <?php 

Java Server Faces Questions

which tag i have to use - Java Server Faces Questions
which tag i have to use  Hi All, I have one Question Regadding Jsf. when i clicked on one dropdown list box.when i select one item it should.... for that what tag i have to use.please help me. Thanks, Puppy.  use 

JavaScript Questions

i have a problem to do this question...pls help me..
i have a problem to do this question...pls help me..  Write a program....   Hi Friend, Try this: import java.util.*; public class ReverseNumber... reversedNumber = 0; for (int i = 0; i <= num; i 

PHP Questions

Have you tried PHP resource site; PHPKode.com?
Have you tried PHP resource site; PHPKode.com?  http://www.phpkode.com is a good free open source PHP resource site which helps me a lot during my PHP learning. Have you tried it before 

Java Beginners

i have no programming knowledge is it possible for study java?
i have no programming knowledge is it possible for study java?  hello sir i have no programming knowledge is it possible to study java and jsp and servlet and struts.if it is then how i schedule for this and how to study 

WebSevices Questions

Axis2 sample program
Axis2 sample program  Hi.. I have tried the HelloWorldServie example in axis2. While running which showing as a faulty service. The error showned...(ArchiveReader.java:147) ... 46 more How to correct this error?   Hi Friend 

SQL Question

Can you see what i have done because i did it but i still have problem - SQL
Can you see what i have done because i did it but i still have problem  This is what i have done but i still have a problem:- Can you correct my mistakes? ------------------------------------------------------- create database 

JavaMail Questions

i have problem in that program sir - JavaMail
i have problem in that program sir  1.Develop multi-threaded echo server and a corresponding GUI client in Java 

Java Beginners

Hi
Hi   I need some help I've got my java code and am having difficulty to spot what errors there are is someone able to help import... and have replies written for them."); } else { System.out.println 

JSP Servlet Questions

depending on the form name i have to display the message
depending on the form name i have to display the message  depending on the form name i have to display the message. for example, i have 3 jsp pages like contact us,suggest us, feed back and i have to use servlet, if user clicks 

Java Beginners

Hi
Hi   I have got this code but am not totally understanding what the errors. Could someone Please help. Thanks in advance! import java.util.Random; import java.util.Scanner; private static int nextInt() { public class 

Java Beginners

software or i have to write a code for this suff
convert windows picture or fax viewer file into ms word or pdf   sir i want to convert windows picture or fax viewer file into ms word or pdf so for this is i have to take help from the java code or any software is present 

Java Beginners

Hi.... - Java Beginners
Hi....   Hi Friends, Thanks for reply can send me sample of code using ur idea... First part i have completed but i want to how to go in next page in 1st page i will give the continue button.....1st i click contiue 

Struts Questions

hi... - Struts
hi...  Hi Friends, I am installed tomcat5.5 and open... also its very urgent  Hi Soniya, I am sending you a link. I hope that, your problem will be solved. Please visit for more information 

Java Beginners

need a sample project using java technologies like jsp, servlets, struts
need a sample project using java technologies like jsp, servlets, struts  Hi everybody! I have learnt core java,jdbc,jsp,servlets & struts. Please guide me where can i find sample project like library management, CMS or any 

JSP Servlet Questions

Autocomplete textbox with database in jsp and follow the MVC model
Autocomplete textbox with database in jsp and follow the MVC model  i have one problem in my project i try to generate the autocomplete textbox with database mysql follow MVC Model but it not perform. So please Help me sir 

Design concepts & design patterns Questions

How to remove glass from the face
to remove any object from every place but. I have tried to remove a goggle from..., as given below image. Keep using brush, I have removed first glass... as I have done here. Final Image 

Java Beginners

hi.. i hv few error. pls. - Java Beginners
hi.. i hv few error. pls.  hi sir, i have few error. can u pls help...(""); System.out.print("Enter your choice=>"); String op = br.readLine(); int read...(""); System.out.println("\t "+title[i]+"\t 

Struts Questions

How to go about struts-2 vaidation framework/annotations with simple ui theme?
How to go about struts-2 vaidation framework/annotations with simple ui theme?  I have tried annotations and validator.xml to have field validation... help me out in this. Thanks in advance.   Hi Friend, Please visit 

Java Beginners

I need your help - Java Beginners
I need your help  For this one I need to create delivery class... the file name is ApplicationDelivery.java Your program must follow proper Java... to describe the purpose of the program.   Hi Friend, Try the following 

JavaScript Questions

regular expression expalanation i need
regular expression expalanation i need  hi......... here is my code...(form.email.value)) { document.write("You have entered valid email."); return true... your Email ID") emailID.focus() return false } if (checkEmail(emailID.value 

Java Beginners

write program have product - using loops
write program have product - using loops  Write a program...), name (String) and price (double). Your program should continue reading new...) of java.lang.Math class   Hi Friend, Try the following code: import java.util. 

Security Questions

any body have any solutions?
any body have any solutions?  Hi Friends, I just get down my computer, I am working on it, but suddenly get down and can√Ę‚?¨‚?Ęt get start again. If any body have any solutions 

Struts Questions

struts - Struts
struts  Hi, i want to develop a struts application,iam using eclipse... files where i have to keep them,and war files.(tell me the list of jar&war files... you.  hi, to add jar files - 1. right click on your project. 2 

Design concepts & design patterns Questions

Designing Printing Motion of a Paper
example because it is an animated example. I have tried here to give the real printer work effect. I have taken a printer and a blank paper. A blank paper...) and draw a rectangle shape like a blank paper as I have done here 

Interview Questions

When you look back on the position you held last, do you think you have done your best in it?
for the department. I think I should make a good choice... (follow with your strongest... developments in your career. 62. Give me a reason why I should hire you when I have the possibility of promoting someone from within this company 

Struts Questions

Hi
Hi  Hi All, I am new to roseindia. I want to learn struts. I do not know anything in struts. What exactly is struts and where do we use it. Please help me. Thanks in advance. Regards, Deepak 

PHP Questions

What changes I have to do in php.ini file for file uploading?
What changes I have to do in php.ini file for file uploading?  What changes I have to do in php.ini file for file uploading 

Java Beginners

i have created interface program for simple arithmetic operation but its show some error can i get reason and mistakes
i have created interface program for simple arithmetic operation but its show some error can i get reason and mistakes  import java.io.*; interface... is your code, we have modified it. import java.io.*; interface arith { int a=5 

Java Beginners

i have created interface program for simple arithmetic operation but its show some error can i get reason and mistakes
i have created interface program for simple arithmetic operation but its show some error can i get reason and mistakes  import java.io.*; interface... is your code, we have modified it. import java.io.*; interface arith { int a=5 

Java Beginners

Hello Sir I Have problem with My Java Project - Java Beginners
Hello Sir I Have problem with My Java Project  Hello Sir I want Ur Mail Id To send U details and Project Source Code, plz Give Me Ur Mail Id 

JavaMail Questions

i have problem in that program to my assignment sir - JavaMail
i have problem in that program to my assignment sir   Develop a programmer's editor in Java that supports syntax-highlighting, compilation support, debugging support, etc 

Swing AWT

instead of text boxe i have to show check box as selected.
instead of text boxe i have to show check box as selected.  i have... the database. when ever the valsue is there in textfield, instead of text boxe i have to show check box as selected. Thanks In advance R.Raveen. 

Design concepts & design patterns Questions

I have a small problem in my datagridview - Design concepts & design patterns
I have a small problem in my datagridview  i have datagridviewer in c#(platform) and i try that change cell beckground, this cell Should... the backcolor of individual cells please help me. Sorry for My English.(I am 

SQL Question

i have problem with this query... please tell me the resolution if this .........
i have problem with this query... please tell me the resolution if this .........  select length(ename)||' charecters exist in '||initcap(ename)||'s name' as "names and length" from emp 

SQL Question

i have problem with this query... please tell me the resolution if this .........
i have problem with this query... please tell me the resolution if this .........  select initcap(ename),job from emp where substr(job,4,length(job,4,3)))='age 

HTML Questions

I have posted a number of question but no one has answered?
I have posted a number of question but no one has answered?  No one has responded for ten days now. However my first question was answered on the same day. Is there a limit to the number of questions you can ask or am I doing 

Java Beginners

hi
* * * * * * * * * *print("code sample");   Hi Friend, Try... num=4; int p = num; int q = 0; for (int i = 0; i <= num; i++) { for (int j = p; j>= 1; j-- ) System.out.print(" "); p-=1; for (int k = 1; k <= i; k 

JSP Servlet Questions

i have got error while compiling simple tag handler
i have got error while compiling simple tag handler   javac.servlet.jsp not found! tell me what are the jar files required to run simple tag handler class   The package you have used javac.servlet.jsp does not exist 

Java Beginners

Hi
Hi  I want import txt fayl java.please say me...   Hi, Please clarify your problem! Thanks 

Struts Questions

Hi.. - Struts
Hi..   Hi Friends, I am new in hibernate please tell me.....if i am using hibernet with struts any database pkg is required or not.....without... me  Hi Soniya, I am sending you a link. I hope that, this link 

Java Beginners

inheritance....please help me friends...!!!... this is important project that i have to do it..
inheritance....please help me friends...!!!... this is important project that i have to do it..   Point ................. #x : int #y : int + Point() + Point(xCoordinate:int, YCoordinate:int) + getX() : int + getY() : int 

Java Beginners

hi
hi  i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n 

Java Beginners

hi
hi  i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n 

Java Beginners

hi
hi  i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n 

Java Beginners

hi
hi  i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n 

Design concepts & design patterns Questions

How to design a banner for no smoking message
, I have tried to make a no smoking message banner. You will be able to learn... then draw on the cigarette as I have done here. Write Text: You can take any color to write message but I have taken here "F42A41" color, choose 

JSP Servlet Questions

Hi
Hi  The thing is I tried this by seeing this code itself.But I;m facing a problem with the code.Please help me in solving me the issue. HTTP Status 500 - type Exception report message description The server encountered 

Struts Questions

Hi - Struts
Hi  Hi Friends, I am new in Struts please help me starting of struts and accept my request also..please send its very urgent.... I ahve jdk1.4,Tomcat4.1,and eclipse3.2 please let me know how to run struts using tomcat 

Development process Questions

hi
hi   i want to develop a online bit by bit examination process as part of my project in this i am stuck at how to store multiple choice questions options and correct option for the question.this is the first project i am doing 

Struts Questions

Struts - Jboss - I-Report - Struts
Struts - Jboss - I-Report  Hi i am a beginner in Java programming and in my application i wanted to generate a report (based on database) using Struts, Jboss , I Report 

Ajax Questions

hi - Ajax
hi  hi, i am doing Web surfing project. i used start and end timepicker field.it works well. i want to display total hours by using start and end... and end time field....total hours another textfiled in that i have to display total 

Struts Questions

Hi... - Struts
Hi...  Hi, If i am using hibernet with struts then require... of this installation  Hi friend, Hibernate is Object-Oriented mapping tool... more information,tutorials and examples on Struts with Hibernate visit 

Struts Questions

Hi.. - Struts
Hi..  Hi, I am new in struts please help me what data write in this file ans necessary also... struts-tiles.tld,struts-beans.tld,struts........its very urgent  Hi Soniya, I am sending you a link. This link 

Framework Questions

is it necessary to have depth knowledge on servlets jsp and jdbc to learn java frameworks
works i.e., struts,hibernate and spring.. i dont have that much depth or practical knowledge..my question is do i need to have depth knowledge of servlets jsp...is it necessary to have depth knowledge on servlets jsp and jdbc to learn java 

Swing AWT

in my project, i have to add scrollbars to a panel,. i need some example on it,how to doit.
in my project, i have to add scrollbars to a panel,. i need some example on it,how to doit.  in my project, i have to add scrollbars to a panel,. i need some example on it,how to doit. Thanks In Advance   Please 

Swing AWT

i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need for this
i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need for this   i have one txt field and one button.when i entere any test in testfield then only button should 

Swing AWT

i have one txt field and one button.when i entere any test in testfield then only button should be enabled.
i have one txt field and one button.when i entere any test in testfield then only button should be enabled.  i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need 

Mobile Applications Questions

The app was not installed on iphone because its resources have been modified
The app was not installed on iphone because its resources have been modified  Hi, I am getting following error while my client is installing my... resources have been modified" What is the solution? Thanks   Hi, You have 

Struts-Tutorials

Deploying Struts and testing struts 2 hello world application
Deploying Struts and testing struts 2 hello world application       I am assuming that you have already installed ant... Struts 2 Hello World Application works: Your browser sends a request 

Struts Questions

Hi i am new to J2ee Technology and struts - Struts
Hi i am new to J2ee Technology and struts  what exatly will happen when we hit the Login button? Once we enter in to the application, what will happen. How the UserID and Password validations will done. Can any one help 

Struts Questions

I tried to create a dropdown list using struts2.it is not working.can you find the errors in this code?
I tried to create a dropdown list using struts2.it is not working.can you find the errors in this code?  /jsp code for creating dropdownlist using... for controlling <struts> <package name="b" extends="struts-default"> <action 

Java Beginners

How can I learn Java?
How can I learn Java?  Hi, I have just completed a course in HTML and C programming language. I have some programming experience in visual basic. Now I want to learn Learn Java programming and become the expert in Java 

Struts Questions

Hi... - Struts
Hi...  Hello Friends, installation is successfully I am instaling jdk1.5 and not setting the classpth in enviroment variable please write the classpath and send classpath command   Hi, you set path = C 

Struts-Tutorials

Aggregating Actions In Struts Revisited
Aggregating Actions in Struts , I have given a brief idea of how to create action...Aggregating Actions In Struts Revisited... for every action. In this part, I will walk through a full-fledged practical 

Java Beginners

java i/o operations
java i/o operations  how to write integer data to a file in java using random access file object or file writer or data outputstream i have already tried the write and writeInt methods....plz help 

Struts Questions

How do i retain values in the drop down - Struts
How do i retain values in the drop down  Hi, I have a jsp page... with the drop down. My problem is whenever i do this the values in the drop down gets reset while the others in the text boxes don't. How do i retain the values 

Struts Questions

Hi... - Struts
Hi...  Hello, I want to chat facility in roseindia java expert please tell me the process and when available experts please tell me  Firstly you open the browser and type the following url in the address bar 

Struts Questions

Deployment of your example - Struts
Deployment of your example  In your Struts2 tutorial, can you show how you would war it up so it can be deployed into JBOss? There seems to be a lot of unnecessary files in it, or am I mistaken?  Hi friend, Please 

Java Server Faces Questions

struts
struts  i have no any idea about struts.please tell me briefly about struts?**   Hi Friend, You can learn struts from the given link: Struts Tutorials Thanks 

Java Beginners

Java I/O Assistance + Loop
Friend, We have modified your code: import java.io.*; import java.util....Java I/O Assistance + Loop  I'm trying to make this program write... and append all odd numbers 1-100 and finally close file. But for some reason I 

Framework Questions

struts
struts  Hi what is struts flow of 1.2 version struts? i have struts applicatin then from jsp page how struts application flows Thanks Kalins Naik   Please visit the following link: Struts Tutorial 

Struts Questions

struts
struts  <p>hi here is my code in struts i want to validate my form fields but it couldn't work can you fix what mistakes i have done</p>... }//execute }//class struts-config.xml &lt;struts 

Java Beginners

struts
struts  hi i would like to have a ready example of struts using "action class,DAO,and services" for understanding.so please guide for the same. thanks  Please visit the following link: Struts Tutorials 

Advertisements Advertisements
 

 

 

DMCA.com