Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
How to call a java applet in rails application?
3 Posts
How to call a java applet in rails application?

Hi,

I have added a applet tag in my rhtml file like

and placed that HelloWorld.class in the project root folder but am still getting a error

ActionController::RoutingError (No route matches "/HelloWorld.class" with {:method=>:get}):

Can some one help me in fixing this,

Thanks, Ratnavel

I think you need to put HelloWorld.class in the public directory. ($RAILS_ROOT/public)

hi use xml for the applet and call it through the javascript . then applet work perfectly

3 Posts
Login to add your message