Hi,
I need to render the results of another program, which are stored in the form of applets, each stored in their own directories.
The applet-related data is referenced in a plain html file, which contains statements like this:
<html> <head> <title>XOPmeet Playback</title> </head> <body TOPMARGIN=0 BOTTOMMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 SCROLL="NO"> <applet code=com.sts.webmeet.client.AWTClient.class
archive="webhuddle_voip.jar,clientproperties.jar,jl1.0.jar" .........
I can render the above plain html file from my controller with no problems. However, the browser sees that applet tag and then sends in a GET request like this:
GET /report/play_webrec/com/sts/webmeet/client/AWTClient.class
That "com/...." part of the path is within one of the jar files.
I need to control access to the applets, so I cannot just place the applet related code in the public side of the web site.
How can I send applets from within a Rails controller?
Thanks!
David