It's been a long time since I used Applets, but I think the problem is the
use of CODEBASE with ARCHIVE. With CODEBASE, you're telling the browser
that your code should be found as loose class files in the /applet directory
rather than in the ARCHIVE. I think what you want is just:
<APPLET
archive="/applet/JavaLibrary1.jar"
code="org.gregnet.NewJApplet.class"
width=350 height=200>
</APPLET>
On Fri, Feb 27, 2009 at 1:43 AM, Greg Hauptmann <
[email protected]> wrote:
> Hi,
>
> Any ideas why this tag:
>
> <APPLET
> codebase="/applet"
> archive="JavaLibrary1.jar"
> code="org.gregnet.NewJApplet.class"
> width=350 height=200>
> </APPLET>
>
> is giving me this error (from Rails standard out)
>
> ActionController::RoutingError (No route matches
> "/applet/org/gregnet/NewJApplet.class" with {:method=>:get}):
>
>
> Any ideas?
>
>
>
>
> --
> Greg
> http://blog.gregnet.org/
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---