Search Results

Showing results 1 to 40 of 46
Search took 0.01 seconds.
Search: Posts Made By: lucky1981_iway
Forum: JavaScript / DHTML / AJAX May 5th, 2009
Replies: 1
Views: 377
Posted By lucky1981_iway
There are many ways to do it. You can use regular expression etc. Simplest way is to use loop. For eg

function test() {
var str = "This \'is\' very \'important\' \'topic\' to discuss";
for (var...
Forum: JavaScript / DHTML / AJAX May 4th, 2009
Replies: 4
Views: 1,084
Posted By lucky1981_iway
Thanks for your help. I 'm able to sort out my problem after seeing your example.
Forum: JavaScript / DHTML / AJAX May 3rd, 2009
Replies: 2
Views: 533
Posted By lucky1981_iway
If i understand your question correctly then you can use "href" tag to do this.
Forum: JavaScript / DHTML / AJAX May 3rd, 2009
Replies: 4
Views: 1,084
Posted By lucky1981_iway
Hi,

I have a web page. In that there is a toggle button to show or hide advanced search options. Below that there is a "IFrame A"(Table).

IFrame A conatins "IFrame B" (Table Contents). Based...
Forum: Java Jul 7th, 2008
Replies: 4
Views: 1,161
Posted By lucky1981_iway
You should try adding your executable class (main method) to manifest file. build the jar file again with -M option and you are done.
Forum: Java Jul 7th, 2008
Replies: 1
Views: 406
Posted By lucky1981_iway
You have to add logic for "y not equal to y1" for non-duplicate values
Forum: Java Jun 27th, 2007
Replies: 2
Views: 780
Posted By lucky1981_iway
Post full algorithm so we can explain you correctly.
In the above snippet , if i'm understanding correctly then you are drawing something with this on screen. For that you are assigning coordinates...
Forum: Java Jun 27th, 2007
Replies: 1
Views: 629
Posted By lucky1981_iway
It will not ask to map virtual host until you don't change in your local machine configuration and Jboss configuration.

Did you defined any virtual host for your machine ....? If so, then make...
Forum: Java Jun 26th, 2007
Replies: 1
Views: 2,234
Posted By lucky1981_iway
You can do virtual hosting, using this:


<?xml version="1.0"?>
<!DOCTYPE jboss-web>

<jboss-web>
<context-root>myapp</context-root>
<virtual-host>apphost1</virtual-host>
</jboss-web>
Forum: Java Jun 26th, 2007
Replies: 30
Views: 8,388
Posted By lucky1981_iway
As per my understanding there are 2 types of SSL connection

1) One-Way SSL Authentication URL Outbound SSL Connection
here server is responsible for accepting your connection.(it's policies are...
Forum: Java May 20th, 2007
Replies: 4
Views: 2,449
Posted By lucky1981_iway
Communication Layer using Java is not a good idea. Here you have to actually write code in C (if you are actually writing device driver) and defining the functions prototype in Java. (Using JNI). So...
Forum: Java May 15th, 2007
Replies: 7
Views: 2,049
Posted By lucky1981_iway
Do you have Scrolling option in your JTable ...?
Forum: Java May 13th, 2007
Replies: 10
Views: 1,898
Posted By lucky1981_iway
First thing you didn't do anything in your code so that it exit if anybody enter "result > 2" So it loops until 10 times and after that it exit.
Replace your existing code with this


if (result...
Forum: Java May 13th, 2007
Replies: 5
Views: 1,712
Posted By lucky1981_iway
The reason of 2 duplicate lines depends on the person who wrote the program. I don't know what he want to achieve by doing this...!!

The reason that it prints"*" 7 times is as follows
...
Forum: JSP May 9th, 2007
Replies: 9
Views: 3,605
Posted By lucky1981_iway
Ah what i was thinking yeasterday !!

Buddy you are doing this
"double repmax = update.getRepmax(userName);" Till this point of time you didn't passed the connection to "MuscleSchedule"
...
Forum: Java May 9th, 2007
Replies: 3
Views: 1,118
Posted By lucky1981_iway
To remove last element from temp LinkedList use temp.pollLast(). It will retrieves and removes the last element of list and returns null if list is empty.
Forum: JSP May 8th, 2007
Replies: 9
Views: 3,605
Posted By lucky1981_iway
In your exception stacktrace this line gets printed "Exception: connection to database was lost" It means something is wrong with passing the connection. While checking whether con is null or not "it...
Forum: JSP May 8th, 2007
Replies: 9
Views: 3,605
Posted By lucky1981_iway
Post the code of your DBConnect class so we can find out the problem.
Forum: Java May 8th, 2007
Replies: 2
Views: 990
Posted By lucky1981_iway
Yup, i had posted to various forums.

Thanks
Forum: Java May 8th, 2007
Replies: 2
Views: 990
Posted By lucky1981_iway
Hi,

I'm using AspectJ in my project. There are some problems which i'm facing currently . One of the major issue is
" My cross views only show the static join point . Now the problem is there is...
Forum: Java May 8th, 2007
Replies: 10
Views: 2,733
Posted By lucky1981_iway
Hi Kashyap,

Did you tested the functionality of AspectJ with Web Services ...? I used WSIF demo also but i'm facing various issues .If you have any documents or links pointing to this then please...
Forum: Java May 7th, 2007
Replies: 1
Views: 1,311
Posted By lucky1981_iway
You are writing the return type of method as String but where is your return statement in method ...? So you are receiving this error "missing return type"


private String generate( int low,...
Forum: Java May 7th, 2007
Replies: 28
Views: 3,099
Posted By lucky1981_iway
Hi Peter,

The problem you faced was due to modification of original values of the object. Since you modified the value by "some" and "any". It prints "some" and "any" all the times.

For...
Forum: Java May 3rd, 2007
Replies: 1
Views: 690
Posted By lucky1981_iway
First wrong thing you are doing is " Using array for this purpose ".
java does not allow variable-sized arrays so it would be a wastage of memory. Since your file size would not be fixed.
...
Forum: Java May 2nd, 2007
Replies: 1
Views: 4,982
Posted By lucky1981_iway
The warning is not critical.

Where are you defining log4j configuration ? i mean in your program or in XML config file or *.properties file ?

If asynchronous logging is a requirement, then...
Forum: Java May 2nd, 2007
Replies: 5
Views: 1,022
Posted By lucky1981_iway
What co-ordinates you are taking ?
Forum: Java May 2nd, 2007
Replies: 3
Views: 905
Posted By lucky1981_iway
Use try catch block for this purpose
Forum: Java May 2nd, 2007
Replies: 6
Views: 14,701
Posted By lucky1981_iway
Declare the array
int [] arr ;
Get the array size from user like this


InputStreamReader in = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(in);
String size =...
Forum: Java Apr 29th, 2007
Replies: 1
Views: 6,180
Posted By lucky1981_iway
Hi,

What type of application you are working on ?

You can use RXTX. And you can download the comm.jar(2.0.3) from sun site since it's generic for all platform. I used this jar for one of my...
Forum: Java Apr 27th, 2007
Replies: 4
Views: 9,744
Posted By lucky1981_iway
First thing it depends on your configuration, type of driver you are using and all .You can set your properties like this :

Scenerio #1 : Direct JDBC Connection:
If you wish to use a straight...
Forum: Java Apr 27th, 2007
Replies: 1
Views: 770
Posted By lucky1981_iway
For example you can do like this. It all depends on your requirments.

import java.util.ArrayList;





public class ArrayPass {ArrayList<Integer> arraylist = new ArrayList<Integer>();
Forum: Java Apr 25th, 2007
Replies: 4
Views: 9,744
Posted By lucky1981_iway
Did you included the driver jar file in your class path ...?Secondly, which class of driver you are using Type2 or Type3 or type 4 ...? If you didn't specified then go to environemnt variable and in...
Forum: Java Apr 25th, 2007
Replies: 3
Views: 1,172
Posted By lucky1981_iway
I'm not able to understand some parts of your code.... If user enters pepperoni and mushroom together then what does it mean ...?
Will you put both mushroom and pepperoni together in all the ordered...
Forum: JSP Apr 20th, 2007
Replies: 4
Views: 7,288
Posted By lucky1981_iway
Post error message so we can know what type of error you are receiving.

If i understand correctly, then for example you can do like this


.
.
.

Vector<Map> vs = new Vector<Map>();
Forum: IT Professionals' Lounge Apr 18th, 2007
Replies: 11
Views: 4,752
Posted By lucky1981_iway
Forum: Java Apr 18th, 2007
Replies: 1
Views: 6,330
Posted By lucky1981_iway
To follow up all the left processing after the ok button is clicked you can do like this

1) Define a new function in which you put all the code you want to process after the dialog box is clicked...
Forum: Java Apr 17th, 2007
Replies: 7
Views: 1,620
Posted By lucky1981_iway
From how much period you are using java ?
Did you read the basics of java yet ?
Forum: Java Apr 16th, 2007
Replies: 3
Views: 2,296
Posted By lucky1981_iway
You want to take printout of which thing ...?
You can add print job listener to your printjob and then you can implement your own set of actions.
Or in actionPerformed of button event you can...
Forum: Java Apr 16th, 2007
Replies: 3
Views: 2,296
Posted By lucky1981_iway
PrintService[] services3 = PrintServiceLookup.lookupPrintServices(null, null);
AttributeSet aset3 = new HashAttributeSet();
aset3.add(new PrinterName("my printer name", null));...
Forum: Java Apr 16th, 2007
Replies: 8
Views: 1,524
Posted By lucky1981_iway
If you don't want to clear the text box then don't define the setText code in your actionPerformed method. Jus store the index value of the item in that method. Define a new method for setting the...
Showing results 1 to 40 of 46

 


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

©2003 - 2009 DaniWeb® LLC