• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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).
 
Are you here to take over the surface world? Because this tiny ad will stop you!
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic