Rhtml files and routes

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

put it in your project/public/yourcontroller/, try it again

On 4ÔÂ16ÈÕ, ÏÂÎç7ʱ37·Ö, Ratnavel S. <rails-mailing-l…@andreas-

wangscu wrote:

put it in your project/public/yourcontroller/, try it again

I tried putting that .class file in project/public/twains/… and tried

Am getting the same error…

While googling i came across that i need to make a entry in routes
something like

map.connect ‘/applet’

If i do this while starting my server am getting error saying need
controller as params…

its accepting only like map.connect ‘:controller…’

Can u guess what mistake i would have done…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs