Open a dwg(AUTO CAD )file in a jsp pageor servlet

i am try to open a .dwg file in a web browser .i have given content type as a
response.setContentType("image/x-dwg");
or
response.setContentType("image/vnd-dwg");
users has the auto cad software
please respond asap

Having the software installed unfortunately is not enough; the browser has to have a configuration item that says that content-type X is handled by installed application Y. If Autocad is not being triggered for the given content-types, then the browser is not configured properly. See this document for Firefox:
[http://support.mozilla.com/en-US/kb/Managing+file+types?style_mode=inproduct#Adding_download_actions|http://support.mozilla.com/en-US/kb/Managing+file+types?style_mode=inproduct#Adding_download_actions]

Similar Messages

  • How to cluster the war file conatining the jsp and servlet by using wl6.0sp1?

    There three wlsever6.0 sp1.
              One is admin server and doesn't join the cluster.
              Two servers are cluster server.
              I use the admin console to deploy the war file and the war file conatains
              the jsp and servlet.
              How to config the one of the clustered servers as the primary one, so that
              the client can request the jsp?
              If the one of the clustered servers is closed, can the client be redirected
              to another clustered server?
              Does the proxy server need to be exist?
              

    There three wlsever6.0 sp1.
              One is admin server and doesn't join the cluster.
              Two servers are cluster server.
              I use the admin console to deploy the war file and the war file conatains
              the jsp and servlet.
              How to config the one of the clustered servers as the primary one, so that
              the client can request the jsp?
              If the one of the clustered servers is closed, can the client be redirected
              to another clustered server?
              Does the proxy server need to be exist?
              

  • Unable to open AutoCAD dwg in 2010 file format with Illustrator 15/CS 5

    Hello,
    We are trying to open some dwg's with illustrator that are saved in the 2010 file format. We get an error "The file "XXXXX.dwg" is an unknown format and cannot be opened.", if we save the same file down to the 2007 format it opens as expected. Try to understand if that format just does not work with Illustrator 15 or if there is a template setting we did or what as it is all dwg's in that file format and as I said same file saved a format down works fine. The issue with tis solution is most of our illustrator users dont' have AutoCAD so this is creating a bottle neck.
    Thanks,
    Tyler

    This is a workaround, but the Dassault Systems ( the company that sells SolidWorks and Catia ) has a free CAD program called DraftSight that will open a
    2010 DWG file. You could then do a SaveAs to an earilier DWG format that AI can work with. They have free versions for both Windows and Mac.
    http://www.3ds.com/products/draftsight/download-draftsight/
    I use the Windows version, and it works pretty good - but my background is more CAD than AI.
    Good Luck

  • How to creat the interface of auto CAD file with labview

     Hi
    I have been controling  2-axis Piezo motor  with labview. Now I have to use the dwg or dxf file  to move the piezo controller axis. How I can  transform the  dwg or dxf  file into  decimal number 1, -1   to create interface with my labview.

    Hi Nusrat,
    So it sounds like you want to create a CAD drawing and then control your piezo motor via LabVIEW by moving the CAD drawing?  Is that correct?
    If that is correct - I don't know of a way to do this I'm afraid.  I don't think it's really possible.
    The only potential way to do this is to use SolidWorks as your CAD program and then convert the SolidWorks drawing into an STL file, which can then be imported into LabVIEW as a 3D picture control.  I can't think of any other way to achieve this.
    These examples might help you:
    LabVIEW Interface VIs for SolidWorks
    STL Geometry in 3D Picture Control
    The Pitch Perfect Tuner
    Develop Motion Applications with RIO and SolidWorks
    NI SoftMotion for SolidWorks
    Connect NI LabVIEW and DS SolidWorks
    I hope that helps.
    Oli
    LabVIEW Student Ambassador
    National Instruments UK

  • Viewing Auto CAD file in DMS Screen

    Hi,
    Our client wants to view Autocad file within SAP DMS Screen (SAP Screen side panel).
    As per my study, We need Visual Enterprise Generator (VEG) to view 2D, 3D and few other format files.
    VEG will convert CAD files into lightweight format (Viewer format) and it will get stored in the same Content server where the Original stored.
    I understand that VEG is not part SAP ECC, we have to get seperate license for VEG.
    Is there any other way, will fulfill my requirement?
    Else, What is the licensing cost, technical requirements to implement VEG?
    Please help me on this.
    Thanks,
    Ravi

    Hi Ravi,
    Can you check details on integration in the links below
    CAD Integration - Product Lifecycle Management - SCN Wiki
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/hub/uuid/50657fc1-ea1a-2c10-558c-adad9e8620be
    Hope this helps.
    Regards,
    Deepak Kori

  • Problem in Auto-cad

    Hi friend,
    I have this problem while opening Auto-cad converted to png:
    unable to convert the autocad file reason : error while opening the input file error code: -1012
    what is the problem?
    thanks

    Here is a Note from the guide:
    Note If there are problems converting the auto-cad file, an error message is displayed. NCS uses a native image conversion library to convert auto-cad files into raster formats like PNG. If the native library cannot be loaded, NCS returns the "unable to convert the auto-cad file" message. If you receive this error, make sure all the required dependencies are met for the native library. To find any dependency problems, use ldd on Linux platforms. The following dlls must be present under the /webnms/rfdlls NCS installation directory: LIBGFL254.DLL, MFC71.DLL, MSVCR71.DLL, and MSVCP71.DLL. If dependency problems occurred, you may need to install the required libraries and restart NCS.
    http://www.cisco.com/en/US/docs/wireless/ncs/1.0/configuration/guide/maps.html#wp1147486
    Sent from Cisco Technical Support iPhone App

  • View CAD Files in Forms?

    I am trying view AutoCAD files in Oracle Web Forms. Until now, we have been using an ActiveX component in a client-server environment where all the clients are on Windows. We now have a need to move over to thin-client architecture and hence need to find a solution where I can view AutoCAD drawings through a web browser. The Oracle 8i database runs on a Solaris server and we are currently using Forms 6i.
    Has anyone had any experience or know of any technologies which allows for CAD drawings to be viewed (either embedded in forms or in a new browser window) regardless of what platform the client is on? Any help will be greatly appreciated.
    Thank You.
    Jay Kurji.

    ActiveX would not be working on the Web Forms in an embedded way. That's bad news. What you can do is use the AciveX and open the CAD file in a separate browser window by using web.show_document.
    If for you the client side platform idependence means LINUX or any other OS that has a browser, then I think you will have problems unless you can transform the Auto CAD file to simple image files. But then you loose the intelgine maps you will only have dumb GIFs.

  • Ai CS4 has stopped opening some dwg files

    Hi, Hoping someone can help me out.
    I have been using illustrator CS4 for a couple of years with no issue, just recently it will no longer open or place all dwg files.
    I contacted our cad team and found out that they have upgraded from AutoCAD 2011 to AutoCAD 2012, however, they are still saving the dwg files in 2004 dwg format as they were previously.
    Just to confirm I can open 2004 dwg files saved in AutoCAD 2011 but cant open the newer 2012 CAD version. "The file "TGdean.dwg" is an unknown format and cannot be opened."
    Any help would be greatly appreciated.
    Thanks in advance. Deano.

    Hi Mylenium,
    Sorry for the delay, I have being trying a few other options as well. I have downloaded the trial version of CS5.5 and still have the same issue. Additionally I have upgraded the dxfDWG.ai plug-in which also has not worked.
    I have done as you mentioned but i'm afraid I can't understand the lines of symbols and their meanings. I have copied the first paragraph out of each file and have identified 3 changes. These are:
    Differences
    Original                              2012
    B]  It% jã= *v% †á{                 It% jã= Æx% H Ú
    ø ¾gK ¹$                              A–Æz`œÅl'
    WÊ?D + O                            WÊ?D +«M
    here are the paragraphs that these are extracted from:
    Original document
    AC1018     h À                          €   àR   V                                                                              h@ø÷’*µï Ý ññ»éëߦÛ<ƒ >™$^
      ·GÞ³ MÈB»‹¦# Z}©Š/ ]ÔËüRYO;
    Û®2 šPî`x6ý’I2öÞ}IÜ‘O ò¤élÐkÄ0· ;¡"Ê"‘&#157;á‹ ÚFÖÆ¢øFj –s Ù /ghÔ÷JJÐWhvPV  bRdAëSdAËSdAkRdAkRdA  (Ÿ„ ^¤              
    martinhorton           B]  It% jã= *v% †á{     Manager      Company    Category      Part Number IS 10738   Description      Project    Designer   Administrator Engineer   
    Authority      Cost Center      Vendor      User Status      Design Status   WorkInProgress   Checked by      Engr Approved by      Mfg Approved by                                     ðU  ÁQdAË dAë dAËQdAËQdAø ¾gK ¹$ %m Ô6((&#157;WÊ?&#157;D + O    ç   P    7   °N
    Document opened and saved in 2012
    AC1018     h À    ?    ?                €   àR   V                                                                              h@ø÷’*µï Ý ññ»éëߦÛ<ƒ >™$^
      ·GÞ³ MÈB»‹¦# Z}©&#143;/ ]ÔËü(DO;
    Û®2 šPî`x6ý’I2öÞ}IÜ‘O ò¤îlÐkÄ0· ;¡"Ê"‘&#157;á‹ ÚÖKÛèøFj –s Ù /ghÔ÷JJÐWhvPV  bRdAëSdAËSdAkRdAkRdA  æg‡ fn                 alantyrrell           &#141;&#144;  It% jã= Æx% H Ú     Manager      Company    Category      Part Number IS 10738   Description      Project    Designer   Administrator Engineer   
    Authority      Cost Center      Vendor      User Status      Design Status   WorkInProgress   Checked by      Engr Approved by      Mfg Approved by                                      ðU  ÁQdAË dAë dAËQdAËQdA–Æz`œÅl' %m Ô6((&#157;WÊ?&#157;D +«M    ç   P    7   HM 
    I have managed to run the command prompt and it concludes that the document opened and saved in 2012 is longer than the original?
    Can you help any further?
    Cheers!

  • Error while opening a dwg file :java.lang.NoSuchMethodException: Method

    Hello Experts,
    I tried to integrate WebCenter Content with Autovue ,the integration was good untill i get this error while trying to open a dwg file checked in Content Server using View in Autovue option in Actions :
    java.lang.NoSuchMethodException: Method fileOpen(com.cimmetry.core.SessionID, com.cimmetry.core.DocID, com.cimmetry.core.Authorization, <null>, java.lang.Boolean, <null>) not found in class com.cimmetry.jvueserver.VCETConnection
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.d(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ah.run(Unknown Source)
    Any suggestions would help me,
    Thanks in Advance
    Raj

    Hi Raj,
    The solution to this problem is posted in My Oracle Support:
    Error: "java.lang.NoSuchMethodException: Method fileOpen" when Trying to View Files Using AutoVue Integrated to Oracle Universal Content Management (UCM) (Doc ID 1341644.1).
    It has all the details, step by step.
    Jeff

  • How to open a DWG file with AutoCAD options (AppleScript)?

    Hi,
    I'm looking for help specifying the AutoCAD options when opening DWG files.  I have DWG files of floor plans that I always want to open at the same scale. 
    I can successfully open a DWG file with the default options using:
    open POSIX file "/Users/crmckinnon/Desktop/cabin_floor_plan.dwg" as alias without dialogs
    But I don't want the default options, so if I try to specify them:
    open POSIX file "/Users/crmckinnon/Desktop/cabin_floor_plan.dwg" as alias with options {class:AutoCAD options, scale unit:"autocad inches"} without dialogs
    I get a "Can't find alias" error.  How do I specify the AutoCAD options?  I'm sure this is due to my lack of understanding of AppleScript.  Any help would be appreciated!
    Thanks,
    Chris

    I'll answer my own question.  Here's how I specified the options:
    open POSIX file filePath as alias with options {pGSO:original size, pASU:inches, pASR:12.0 / 0.1875} without dialogs
    I had to look in the Apple Script dictionary to get the "codes" to use.  The variable names didn't work.  I think that's because some have "global" in the name which is a keyword in Apple Script.  Here's what the codes translate to:
    pGSO = "global scale options"
    pASU = "scale unit"
    pASR = "scale ratio"
    Thanks,
    Chris

  • How do I disable auto-recovery files from opening every time I open Photoshop?

    Hi! I have read several forums about how to disable the auto-recovery feature. However, I don't want to disable the auto-recovery because I like that it saves my work in case of crash. It's just annoying that everytime I open photoshop all those previous files auto open. Is there anyway to make it stop? I read that there is a file that you delete, but will that stop the auto-recovery feature? Thanks in advance for your help!
    Oh! It's Photoshop CS 6 and the os is Mountain Lion. Thanks!

    On Windows, if Photoshop crashes, the autorecovery files are not cleared. On next launch, Photoshop sees those autorecovery files and reopens them.
    When Photoshop closes successfully, it deletes these autorecovery files, and thus on the next launch no recovery files should be opened.
    So if your files are continually opening, then Photoshop is in essence crashing every time you close it (assuming you are trying to close Photoshop each time).
    May need to look at doing things like recreating the preference files or running Photoshop in a new user.

  • Does anybody know why Illustrator will open Solidworks DWG files saved in R2007-2009 version but not version R2010?

    Does anybody know why Illustrator will open Solidworks DWG files saved in R2007-2009 version but not version R2010?

    Evidently Solidworks changed the output of their files to a format that AI cannot interpret. Just backsave in Solidworks to the required version.

  • Does anyone else have trouble opening Autocad dwg files in Illustrator CS4?

    When I try to open some .dwg files from Autocad I get the message " Version of this LPF file is not supported" Can anyone help with this? Does the problem lie with the (autocad) sender or with Illustrator? Stumped and needing to get on with work!

    It probably dies not support that version, for instance v2010

  • When i try and open the auto cad Lt that i just downloaded i get this error The directory may be locked by another process or have been set Read Only. Directory: '/Users/hockaday' Please correct this problem and press OK to exit the application.

    i get this error why i try and open the auto cad that i just downloaded
    The directory may be locked by another process or have been set Read Only.
    Directory: '/Users/hockaday'
    Please correct this problem and press OK to exit the application.

    I did install it in the admin account.  Actually the computer has four accounts, one for my husband, where I installed it.  One for me which also is set to admin, one is called TEST and has nothing in it and one is guest user.
    I don't know how AutoCad is interfacing with the account.  That is why I am not sure what to do about it.  I read other threads in various places and some seemed to point to something having to do with having multiple users.  The solutions were not clear.  I was hoping someone else had this problem and could tell me what to do.  I tried apple support but no help.  I have not tried AutoCad yet as I assumed they wont help since this is a free educational version of their product.

  • CS6 opens with Auto Recovery files every launch.

    I know where the recovery files are.  Finding and deleting them isn't the issue.  
    My understanding of Auto Recover is that when a working file is saved and closed, the corresponding Auto Recover psb should be trashed automatically. 
    Every evening I save and close all my work, quit Photoshop and shut down the Mac.  Every morning when I start Photoshop, at least one Auto Recovery file opens.  It's the last file(s) I was working on the previous evening.  
    I've toggled Auto Recover on/off, trashed the folder and had CS6 recreate it.  Nothing works.  Every morning, I am presented with a psb of the previous evening's work.
    My scratch disk is a dedicated 100gb SSD.  I have triple verified that CS6 is not writing recovery files to a different location.
    Any ideas?
    Thanks,
    Rob

    Is there any problem at/after quitting Photoshop?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by pressing command-alt-shift/ctrl-alt-shift while starting Photoshop until the appropriate dialog appears after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)

Maybe you are looking for