[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Preview image with Ruby

luciosan

10/3/2007 2:18:00 PM

Hi

Two years ago, I've projected in PHP a web site for preview and
download JPG images; that site, use an APPLET (
<http://www.lawrencegoetz.com/programs/lgv... ) for the preview.
Now, I'm re-project the site with ruby and I don't know how implement
it.

I've created a views named preview.rhtml with its controller and
model... but I don't understand where I've to put the APPLET CLASS. In
the same directory of preview.rhtml or in public?

Thank's.


--

I'm using an evaluation license of nemo since 41 days.
You should really try it!
http://www.malcom-ma...

1 Answer

John Joyce

10/3/2007 3:25:00 PM

0


On Oct 3, 2007, at 9:20 AM, luciosan wrote:

> Hi
>
> Two years ago, I've projected in PHP a web site for preview and
> download JPG images; that site, use an APPLET (
> <http://www.lawrencegoetz.com/programs/lgv... ) for the preview.
> Now, I'm re-project the site with ruby and I don't know how implement
> it.
>
> I've created a views named preview.rhtml with its controller and
> model... but I don't understand where I've to put the APPLET CLASS. In
> the same directory of preview.rhtml or in public?
>
> Thank's.
>
> --
> I'm using an evaluation license of nemo since 41 days.
> You should really try it!
> http://www.malcom-ma...
>
>
This is probably a Rails question, so it should probably be directed
to the Rails list.
However, it's a simple one.
Put your Java applet in the public directory or a sub-directory of
public, and link to it in your rhtml view.