Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!

igwe kalu kalu ogba

Ranch Hand
+ Follow
since Feb 03, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by igwe kalu kalu ogba

Hello and a happy new year to you all.
I am bidding for the intranet design for a fairly large company, 400 employees, 7 branches. I just wanted to know what kind of problems you feel an intranet should solve and if there are any innovations you would add to this kind of software. Also, all the web 2.0 noise being made, any uses of this?
Thanks.
15 years ago
Thanks so much. That is really the right solution, you're right, not everyone will be using this kind of application. It's really for the some pretty experienced programmers in my unit. But still, it helps not to explain this to everyone. Thanks a lot.
15 years ago
Hello, I have a JWindow application, when compiled with Java Tiger I could use the setAlwaysOnTop method so that whatever I am viewing, the window comes up. But this can't be used in jdk 1.4. Are there any JNI packages I can use for this? Or really any other ways to make this possible.
Thanks.
15 years ago
Hi Rob, I just figured out that all you need to do is tab out from the cell. Thanks for the help.
15 years ago
Hello, I have a swing application which includes a JTable and a button on the canvas. The JTable is editable and the function of the button is to save the contents of the table once it has been edited.
Now, when the JTable is being edited, assuming the cursor sign (I think that's what it's called) is blinking in once of the cells, and you click on the save button, an exception comes up. Is there a way of setting up my JTables so that when the mouse is not focused on them, or something, the editable state is set to false?




That is how I get the data in the table. But when a cell is being edited and I click on save, an error occurs. Any help would be appreciated.
Many Thanks,

Igwe.
15 years ago
Hello, In StaX, is it possible to stop parsing a document. So that maybe if an XML document has 30 tags. maybe when the tag count is at 15, to stop parsing the document entirely?
Thanks.
Hello, In Java 5, there is a method :

setAlwaysOnTop(true);

which makes sure that your JFrame always displays no matter which other windows are opened. I was wondering if there is an equivalent for this in jdk 1.4. And an equivalent that actually works.

Many thanks.
15 years ago
Hello, I have classes generated with the Apache AXIS wsdl2Java tool. I can easily use them to access webservices in JBOSS 3.4.2 but I seem to have run into a snag with JBOSS4.

But When I try to run any of my web services, this is the error I get.



I have the jboss-net-client.jar in my lib. I don't know what to do anymore. I have been having one problem after another after migrating to JBOSS 4. Please any help on how to end my problems once and for all will be most appreciated. Many thanks and Best Wishes,
Igwe
15 years ago
Hello, I want to use my SQL select statement to select a certain number of records within a range. For example, if I use the SQL statement

select * from mychildren.

I would get a resultset containing x amount of rows, say 2000.
Now my problem is that for my program retrieveing 2000 rows from a table is both memory and time consuming. Can I just choose from row 1 to 50. then decide to select from row 51 to 100 and the like. Is this possible in SQL.

If I select incrementally the program can run a lot faster. Thanks and please let me know if this is possible or other possible solutions.
Thank you so much
15 years ago
Hi, I arrived at a minor solution. Would be grateful for any help going forward:



This is OK, but the problem is that req cannot use the methods defined for either PaymentRequest or InterBankPaymentRequest.

For example If I did something like:

long x = 453333;
req.setAmount(x);


The compiler would throw an exception saying

cannot find symbol
symbol : method setAmount (long)
location: class java.lang.Object
req.setAmount(x);

Why is it still checking in java.lang.Object instead of the class itself? Thanks.
15 years ago
Hello, I have this slight dilemma. I have 2 java classes. One is PaymentRequest and the other is InterBankPaymentRequest.

InterBankPaymentRequest extends PaymentRequest. So in the class declaration, you would have

public class InterBankPaymentRequest extends org.tempuri.PaymentRequest

Now, this is what I want to do:

I want to create a new object of type PaymentRequest or InterBankPaymentRequest, and be able to change it to either type dynamically.

So, I could have :

org.tempuri.InterBankPaymentRequest req = new org.tempuri.InterBankPaymentRequest();

But later in my code, I could say:

req = new org.tempuri.PaymentRequest ();

Is it possible to do something like this? Thanks.
15 years ago
Hello, I am trying to access a web service on a remote server and I get this exception on some machines. I was able to download the certificate for the site on which the web service is being hosted. Is there a way I can set it as a system property or something, so that all requests from my program can find it? Thanks. The certificate is a .cer file.

Exception is

javax.net.SSLHandshakeException: could not find trusted certificate
The Problem I actually have is this:
The variable is being declared in the <%! %> tags.
A button is clicked on the page, and after loading, the value of this variable should still be displayed on the page. You know that after the page resubmits to itself, it is as if a new page has been loaded.

So I'm looking for a way to resubmit the page to itself and still be able to display the last value of the variable.
So far I am only able to achieve this by declaring the variable in the <%! %> tag. The problem is that the variable has the same value on every other browser on my Local Area network even though the page has not been resubmitted.
Thanks.
15 years ago
JSP
Hello, I was wondering if there is any code to add to my jsp page to make sure that 2 different people viewing the page see different pages. ie. To ensure that a new instance of the jsp page is sent to every different browser on which the page is viewed. Is this possible?
Thanks.
15 years ago
JSP