Preview image with Ruby

L

luciosan

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/lgviewer/> ) 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.
 
J

John Joyce

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/lgviewer/> ) 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.
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top