• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

accessing .dcr files from jsp pages

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can we access .dcr i.e. director files from jsp pages. what i have done is that i have published the director code in html along with which it makes a .dcr file. so is there any way by which i can access it through jsp or servlet.
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe you should elaborate on you question! It is not really clear what you want to do!

I don't know anything about Director so I do not know what those files do but if you want to read them (and extract some data from them) in your servlet or jsp you can do that using plain File IO.

If you would like to refer to them in your resulting page (HTML,WAP, xml, ...) you can place the referring code in your jsp or servlet just like you would refer them in an HTML page. The only thing you will have to take care of is that those files are accessible to the browser. So you will have to put them in your webcontainer (just like you would a HTML page, image, CSS file, ...)
 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dcr is Macromedia Shockwave or director? If yes, it is usually separate file (or more files?) included in html using object tag and displayed in browser (like images or applets).

You can place the object tag in jsp page same way as into html (except that some parameters may be generated by jsp code if needed).
 
What are you saying? I thought you said that Santa gave you that. And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic