Search Results

Showing results 1 to 40 of 56
Search took 0.01 seconds.
Search: Posts Made By: staneja
Forum: Java Feb 16th, 2009
Replies: 1
Views: 549
Posted By staneja
I am creating a simple application using Swings . I am executing search on the database and result i have shown in table.

My first query resulted in 8 rows which was shown clearly.

Now on same...
Forum: Java Feb 16th, 2009
Replies: 4
Views: 4,616
Posted By staneja
Can you please tell me how you solved this issue. Its occurring for me also.

I am running a query , sometime it results in 8 rows and sometime it gives 3 rows.

My first quesry resulted in 8...
Forum: Java Apr 11th, 2008
Replies: 1
Views: 587
Posted By staneja
Hi , I added the follwing code in my applet and it solved my problem
try{
// Step 1: get a Runtime object
Runtime r = Runtime.getRuntime();
r.gc();
Thread.sleep(1);
...
Forum: Java Apr 9th, 2008
Replies: 1
Views: 587
Posted By staneja
I am trying to display an Image using applet. Image is updated after every 4 seconds so i want my applet to show updated image.I am not sure where
i should load the image i have tried to load it in...
Forum: Java Apr 8th, 2008
Replies: 0
Views: 544
Posted By staneja
i am woring on a project that finds the CPU temprature and shows in the graph. I am using applet to disply this.The CPU temp program is running and fter every minute the Image is modifed but when i m...
Forum: Java Dec 3rd, 2007
Replies: 2
Views: 1,571
Posted By staneja
I am executing a project that have 100 jar file attached to it

I am able to execute it in Eclipse but i want to run it from batch file but the problem is that i am not able to set class path ,...
Forum: Java Nov 7th, 2007
Replies: 9
Views: 5,043
Posted By staneja
Hi TransKim

Write some code ...get an error and ask us ...we are here for you in that case

But if your teacher ask you to do something and you are simple coming to us to do that.....then we are...
Forum: JSP Sep 12th, 2007
Replies: 5
Views: 4,423
Posted By staneja
You do one thing before craeting a war file you remove Source folder from src directory and let it have only complied classes

In this way when you will paste it in the webapps folder it wont be...
Forum: JSP Sep 12th, 2007
Replies: 3
Views: 1,510
Posted By staneja
I have one doubt about WAR file........

Like i am creating a project with mysql databse and deploying it through WAR file

My question is if i want to deploy it on some other machine then i am...
Forum: MySQL Sep 12th, 2007
Replies: 0
Views: 1,209
Posted By staneja
I have one doubt about WAR file........

Like i am creating a project with mysql databse and deploying it through WAR file

My question is if i want to deploy it on some other machine then i am...
Forum: JSP Sep 12th, 2007
Replies: 1
Views: 2,705
Posted By staneja
Hi i am making a new user page where user will fill username and password and i want to put some client side validation on it

Suppose user has given wrong values in password and Confirm password...
Forum: MySQL Sep 12th, 2007
Replies: 2
Views: 1,482
Posted By staneja
Thanks a lot buddy,....it worked for me
Forum: MySQL Sep 12th, 2007
Replies: 2
Views: 1,482
Posted By staneja
Hi All

I am trying to create 2 tables

Table 1 with cust_id , username and password (Cust_id is primary key here)

Table 2 wth cust_info that will store info for that cust........now i want...
Forum: Java Aug 29th, 2007
Replies: 1
Views: 1,811
Posted By staneja
I am passing an object of class "String" to hello function and i want to pribt all the chars so i am using foreach loop

My main motive is to use foreach so please help me to type cast it
...
Forum: Java Aug 21st, 2007
Replies: 6
Views: 3,495
Posted By staneja
Forum: JSP Aug 16th, 2007
Replies: 9
Views: 1,430
Posted By staneja
Forum: Java Aug 16th, 2007
Replies: 6
Views: 3,495
Posted By staneja
Hi Jwenting

Your answer was really not at all helpful to me , First of all i Know Java Language and that's why i am trying to implement this in Java

Secondly i didnt asked for any code i just...
Forum: Java Aug 14th, 2007
Replies: 6
Views: 3,495
Posted By staneja
Hi All

I want to implement "FIX protocol" The Financial Information eXchange (FIX) protocol using java technology

can any of you please guide me what are the things i need to know in java to...
Forum: JSP Aug 13th, 2007
Replies: 9
Views: 1,430
Posted By staneja
hi.............I pasted War file in Web-apps and called it from browser

this is error stack

Yes i added web.Xml File with follwoing code

<?xml version="1.0" encoding="UTF-8"?>
<web-app...
Forum: JSP Aug 10th, 2007
Replies: 9
Views: 1,430
Posted By staneja
Hi Jweting

Thanks for your wonderful reply , i do agree that ppl may spread virus like this.

The code i have written is absolutely correct , i think web.xml you have already seen.

I have...
Forum: JSP Aug 9th, 2007
Replies: 9
Views: 1,430
Posted By staneja
I am attaching a war file that prints hello using servlet

This is code for web.xm

<?xml version="1.0" ?>
- (file:///D:/sumit/WEB-INF/web.xml#) <web-app>
-...
Forum: JSP Aug 9th, 2007
Replies: 0
Views: 688
Posted By staneja
Hi , i am trying to run Servlet since last 3 days , i have executed servlet so many times with same method but this time its troubling me . This is code of web.,xml

<?xml version="1.0"?>...
Forum: JSP Aug 9th, 2007
Replies: 2
Views: 1,408
Posted By staneja
Yes i added web.Xml File with follwoing code

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" >
<servlet>
<servlet-name>hello</servlet-name>
...
Forum: JSP Aug 8th, 2007
Replies: 1
Views: 1,796
Posted By staneja
What should be the encoding format of Web.xml file while saving it form notepad
Forum: JSP Aug 8th, 2007
Replies: 2
Views: 1,408
Posted By staneja
I ahve created a directory Structure
Sumit -> WEB-INF -> src
-> classes

and i putted Servlet file in src , compiled class file in classes folder and created Web.xml...
Forum: Java Aug 1st, 2007
Replies: 14
Views: 2,406
Posted By staneja
Hi..........in general what you can do is .....create one lib folder in your project and copy the driver file for connection in that and set calss path to your lib folder...........

set classpath...
Forum: JSP Jul 20th, 2007
Replies: 2
Views: 1,668
Posted By staneja
Hi

Yes it has nothing to do JSP but since its part of Core java and it is used for bussiness loin i put it here.

and i modified the code and it worked for me ,,this is modified code -:
...
Forum: Java Jul 19th, 2007
Replies: 3
Views: 756
Posted By staneja
Hey......... it worked for me...thanks a lot
Forum: JSP Jul 19th, 2007
Replies: 2
Views: 1,668
Posted By staneja
I am calling this constructor but it is not getting complied


public conn() {
Class.forName("com.mysql.jdbc.Driver");

con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root"...
Forum: Java Jul 19th, 2007
Replies: 3
Views: 756
Posted By staneja
Sorry but i am suing follwoing line to craete connection-:

con=DriverManager.getConnection("jdbc:mysql:///dbetech","root","");
Forum: Java Jul 19th, 2007
Replies: 3
Views: 756
Posted By staneja
I am trying to create a calss with a constructior that creates connection with MYSql database , i am using database name as dbetch . I have set the path varable but still it id throwing error


...
Forum: Computer Science Jul 3rd, 2007
Replies: 6
Solved: exe file
Views: 1,708
Posted By staneja
EXE means executable file.

We can save any file as exe and it will be executed also but whatever we have written inside it will be executed

For example if you save a Blank notepad file as...
Forum: Java May 28th, 2007
Replies: 12
Views: 6,248
Posted By staneja
Oh........If you can find the frequencey of character than do one thing

Pick the words with even frequency and 1 word with odd frequency

Like i netered word barbara
Now whats frequent of ...
Forum: Java May 25th, 2007
Replies: 12
Views: 6,248
Posted By staneja
hey i think what you can do is you find the frequency of characters in a word
Like ""madam" is having 2 m and 2 "a" and 1"d" so u can make pallindronme for it

Its just a logic that u can think...
Forum: Java Apr 5th, 2007
Replies: 6
Views: 1,120
Posted By staneja
Can you please tell me how to mark it solved.

I didnt find any option to do so
Forum: Java Apr 4th, 2007
Replies: 2
Views: 1,985
Posted By staneja
Well i am doing a very simple program that is to calculate the number of occurrance of a character in a string

Hello World

The character H appears 1 times
The character E appaers 2 times...
Forum: Java Apr 3rd, 2007
Replies: 6
Views: 1,120
Posted By staneja
Well I would like to say thanks

I was getting this error because i forgot to put array brackets after args

I mean instead of String args[] i had written String args

so the problem is...
Forum: Computer Science Apr 2nd, 2007
Replies: 4
Views: 1,578
Posted By staneja
hey it sounds a very interesting question if you are not allowed to use anything apart from two Stack

Tell me ARe we allowed to use temp varaibe here
Forum: Java Apr 2nd, 2007
Replies: 7
Views: 1,240
Posted By staneja
Be honest Be truthful and be thankful when looking for any help from anyone.

Please do read the Infraction second last reply that gonna help you a lot and will surely teach you a lot .

Just...
Forum: Java Apr 2nd, 2007
Replies: 35
Views: 5,961
Posted By staneja
Hello zhapool (http://www.daniweb.com/techtalkforums/member151943.html)

Buddy here people are keen to help you but they want a feel that you are right person to help.Me too have asked so many...
Showing results 1 to 40 of 56

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC