Rails paths when loading a Java applet


#1

I’ve built a Java applet and now I’m trying to load it using Rails,
it’s failing to load.

The problem seems to be that Rails is changing the dots in my
classpath to forward slashes which then cause my applet’s dependencies
to not load. Here’s an example dependency from the logs that’s
failing:

ActionController::RoutingError (No route matches
“/com/objex/panywhere/Pedigree_RS_Bundle.class” with {:method=>:get}):

So how can I tell Rails that I’m loading a Java applet and to not mess
with anything in my and tags?

Here’s my embed code that works perfectly outside of Rails:

No Java Support.

Surely I don’t have to make custom routes for every single one of my
applet dependencies ?

Thanks,


Greg D.
http://destiney.com/


#2

Did you ever figure this out? I am having the same problem and can’t
find a
good solution anywhere.


#3

No one has given me a viable response yet. I will keep you in the loop
if i
find anything out.