# What's wrong with this applet tag (trying to get an applet rendering in a RoR page)

**URL:** <https://www.ruby-forum.com/t/whats-wrong-with-this-applet-tag-trying-to-get-an-applet-rendering-in-a-ror-page/161512>\
**Category:** Rails\
**Created:** [February 27, 2009, 1:44am UTC](https://www.ruby-forum.com/t/whats-wrong-with-this-applet-tag-trying-to-get-an-applet-rendering-in-a-ror-page/161512 "2009-02-27T01:44:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [February 27, 2009, 1:44am UTC](https://www.ruby-forum.com/t/whats-wrong-with-this-applet-tag-trying-to-get-an-applet-rendering-in-a-ror-page/161512/1 "2009-02-27T01:44:22Z")

</div>

Hi,

Any ideas why this tag:

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/](http://blog.gregnet.org/)

---

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [March 1, 2009, 12:19pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-this-applet-tag-trying-to-get-an-applet-rendering-in-a-ror-page/161512/2 "2009-03-01T12:19:55Z")

</div>

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:

On Fri, Feb 27, 2009 at 1:43 AM, Greg H. \<
