Andres Santana

Greenhorn
+ Follow
since Jan 08, 2007
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 Andres Santana

M Krishnan, did you compile your answer... this code



Throws an Exception: java.lang.ClassCastException.

Apparently you cannot cast arrays.
Solution I had is:



Anonymous Arrays....
You can find kathy sierra's book for SCJP 1.4 at Amazon - SCJP 1.4

I just bought that book, I recomend you to buy an used one, they're in perfect condition and you can save some dollars.


This is the "web.xml" from a sample application from Web Logic.

web.xml - click to download

---
Thanks
Andres Santana
Well, it seems to me this is an access issue. If you declare your local variables in the TRY{} block, those variables will only be visible within that code block.

You can try putting, the declaration of your variables outside the TRY{} block so they can be visible/accesible from the whole method.

Thanks.

a-s
14 years ago