How to make a call to an applet in RoR?


#1

Hi…
I need to call a java applet from my rails application…
Can anyone please help and tell me…how do I do it???
Thank you so much…


#2

What do you mean by call?

Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/

On 04/02/2009, at 4:57 PM, Jeba M. <rails-mailing-list@andreas-


#3

Julian L. wrote:

What do you mean by call?

Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/

On 04/02/2009, at 4:57 PM, Jeba M. <rails-mailing-list@andreas-

On the click of a link…I want a java applet to be opened…
moreover…I want to pass some parameters to this applet…
Is this possible…
Thank you…


#4

Yep. Put the applet into public and reference it like normal.

Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/

On 04/02/2009, at 5:16 PM, Jeba M. <rails-mailing-list@andreas-


#5

Julian L. wrote:

Yep. Put the applet into public and reference it like normal.

Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/

On 04/02/2009, at 5:16 PM, Jeba M. <rails-mailing-list@andreas-

does that mean…I should use the applet tag from html…and keep my
applet.class file in the public folder…
Thanks…


#6

Yep and use <%= url_for ‘/something.class’ %> instead of the path to
the class.

Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/

On 04/02/2009, at 6:28 PM, Jeba M. <rails-mailing-list@andreas-