Zoltan Tailor

Greenhorn
+ Follow
since Jun 24, 2012
Merit badge: grant badges
For More
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 Zoltan Tailor

K. Tsang wrote:Did you try declaring and casting your list as List<Option>?



Then you don't need to cast it again in the for loop.



Thanks, unfortunately it does not work this way but a friend of mine suggested to change the HQL just simply to: "FROM options", and that did the magic!

Thanks anyway it solved
Hi Guys,

Here is my Options.hbm.xml, Options.java and ConfigurationLoader.java. The ConfigurationLoader fails because it throws an exception here: option = (Options)lists.get(i);
Its: "java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to database.Options".

What can be the problem?

Thanks,


Hi Guys,

I have an index.html page which contains a frameset looks like this:

I have an applet running in the applet.html. What i want is to redirect the frame named "xy" to page2.html.

I tried to use this code:

But it really can not work as the frame xy does not exist in applet.html, but exists in index.html.

So how can i do it like in javascript:

Is it possible with java applet?

Many thanks!
11 years ago