Displaying Marshalled Object from HTTPServlet::FileHandler

A

Aaron Becker

Hi. I have a series of objects I have marshalled to disk as files.

When I browse the marshalled files in the directory browser, I would
like them to be able to be loaded by the marshaller and then display
information about themselves as HTML embedded in the directory listing
HTML page.

How do I go about implementing this?

Thanks.
 
A

Aaron Becker

Aaron said:
Hi. I have a series of objects I have marshalled to disk as files.

When I browse the marshalled files in the directory browser, I would
like them to be able to be loaded by the marshaller and then display
information about themselves as HTML embedded in the directory listing
HTML page.

How do I go about implementing this?

Thanks.

Looks like I just need to inherit from HTTPServlet::FileHandle and
override the set_dir_list method.

I'm a newbie with Ruby. What's the easiest way to do this?

Thanks.
 

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
474,202
Messages
2,571,057
Members
47,666
Latest member
selsetu

Latest Threads

Top