Hi,
I have added a applet tag in my rhtml file like
<applet code="HelloWorld.class" width="200"
height="200">
</applet>
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
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
put it in your project/public/yourcontroller/, try it again On 4月16日, 下午7时37分, Ratnavel Sundaramurthi <rails-mailing-l...@andreas- s.net> wrote:> Hi, > > I have added a applet tag in my rhtml file like > > <applet code="HelloWorld.class" width="200" height="200"> > </applet> > > 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 > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
wangscu wrote:> put it in your project/public/yourcontroller/, try it againI 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.. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---