Raynmune Corsan

Greenhorn
+ Follow
since Nov 04, 2005
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 Raynmune Corsan

Thanks for the ans Adeel Ansari & Madhu Kaparapu.

Have a good day.
[ November 10, 2005: Message edited by: Bear Bibeault ]
18 years ago
JSP
hello nice people:
i was learning the rhino doc at here, but i am a javascript beginner and...

Please if you know how to import java classes using rhino, help me. I want to do something like.
If my java clas is

public class MyClass{...}

Then i want to get an object on javascript doing this:

var myObject = new Packages.myPackage.MyClass();

Suggestion are wellcome.
hello people. (Administrators please excuse me for my "beginner" attitude).
My question is how to handle the files (permissions, PATHs etc ..) .jsp and .class, for do something like:
var anyVar = Packages.?.anyClass();

ideas are wellcome. thanks
18 years ago
JSP
My name is Raynmune and my last name is the Lord. Please dont hate me for that
18 years ago
Dear Bear Bibeault: thank you. My problem persists.
this is my situation.

every file has the pertinent read permissions
18 years ago
hello.
my class is:

and when i do this in my .jsp:

sends me the error:

Packages.Direct is not a constructor.

both, the class and the .jsp are in the same PATH.
plaese help me. [banghead]

Even when i put the entire package where the class is

Do not work

thanks for replies
18 years ago
JSP
hello.
my class is:

public class Direc {
int x;
int y;
Direc(int x, int y){
this.x=x;
this.y=y;
}
Direc(){
}
}

and when i do this in my .jsp:

var direc = new Packages.Direc();

sends me the error:

Packages.Direct is not a constructor.

both, the class and the .jsp are in the same PATH.
plaese help me.
18 years ago