Setting name of image in servlet.

Hy. I have a servlet which gets pictures as byte[] and write it out. This works fine, but how do I give these pictures a name? I tried:
response.setHeader("Content-Disposition","attachment;filename=" + attachmentName);
This works under IE when I save the file, but not under Netscape. Also in the context menu this name does neither in IE nor in Netscape appear.
Is there another possibility to tell the name of a picture?

Here is how I would do it in ASP:
Response.AddHeader "content-disposition", "attachment; filename=" & fileName
Response.AddHeader "content-length", Len(strData)
Response.ContentType = mimeType
Response.Write strData
Response.Flush
%>
Perhaps you can see what you more you need to do to finish your project?

Similar Messages

  • File names of images in IPhoto

    I have two questions. Does anyone know how to see the photo/file name of images loaded into IPhoto? Is there a setting that you can turn on to show the file name under each image?
    Secondly. While trying to find answers to the above question I did discover the export originals option which would allow me to export images into a separate folder that does list the image numbers. This is a work around but not really what I'm after.
    Doing this export I did get a folder of images with their respective file numbers attached. However, what is interesting and I'm hoping someone can answer is that many of the images that should have had my own personal image number, were actually labeled Slide 1, slide 2, etc, etc. When I originally imported these images they contained a number that looked like this 00478-22135. Does anyone know if the dash between the number may not be recognized by IPhoto which it then just labels a generic number it makes up on import? Or any other reason why it would not have accepted my original file name? I know it does accept some file names since several images with a different number format such as D223567 imported just fine and then exported with the correct original file names. Any suggestions are greatly appreciated.
    MacBook Pro Mac OS X (10.4.7)
    MacBook Pro   Mac OS X (10.4.7)  

    Jim:
    Under the View menu select "Titles" to get the file names. I don't know what you did but I just tried an import of a file titled 00478-22135.jpg and it kept the file name OK.
    When you exported the files what was the Album name and did you use the "Use Album Name" option in the export". If the Album was titled Slides then you would get new file names titled "Slide-1.jpg", etc. That may be the reason.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB file backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Missing Art and "Set Poster Frame" Images

    Has anyone come across this yet? I have a very large library and since upgrading to iTunes8, well over 75% of the artwork or 'Set Poster Frame' images either have been found or I have created over the years does not show up in any of the iTunes view in the main window. All of the art is located in the correct "Album Artwork" folder. To make matters more confusing, it seems to be random as far as what files are effected. So it does not matter if it has been media that I have loaded in or something I have purchased from the iTunes Store. And to make matters more annoying, ALL the art work shows up in the "Now Playing" window. I have run the "Get Album Artwork" a couple of times to see if that would help but it has not. I have also randomly played various songs or movies to see it that would help iTunes find the art. That doesn't work either. Any Ideas?

    I'm working on Twilight Zone right now. I'd like to have a different image for each episode: the broken glasses from "Time Enough at Last", or the gigantic alien from "To Serve Man"; i.e., an image that will reflect the content of THAT episode. Then, for the grid view, where you simply see the show names of all the shows you have (TZ Season 1, Season 2, etc.), I'd like the generalized 'box cover' image to display. I've tried right-clicking on the SHOW in the grid view, and then pasting an image into the "Artwork" box on the Info tab. I've then used the "Set Poster Frame" function (as outlined in the help section you cited in your reply) to choose a specific image from a specific episode. But iTunes won't retain my choices - it either shows the box cover image for all the episodes, or show the 'Poster Frame' from whichever episode I happened to first perform that function on. Thank you for your help.

  • How to import images that have the same name as images already imported

    I am trying to import images into LR3.  I have a number of images with duplicate names.  Some of them are duplicate images that I simply have stored in different directories and some are images that are not duplicates but have the same name.  LR3 refuses to import any images that has the name of an image that has already been imported.  Is there anything I can do about this.  If not, it kind of makes the softwares useless to me.
    In hopes of a solution . . .
    --Kenoli

    Thanks.  I'm sure making sure all file names are discrete makes sense.  I guess I need to find some kind of bulk re-name utility. 
    Additionally, I am dealing with a very large set of unorganized images and one of the uses I would like to put LR3 to is to organize the images into directories and get rid of duplicates while inspecting them to make sure that I don't trash differing images with the same names.  One of the challenges is identifying these images so I can re-name them.
    I have been working with Apple's Aperture, which doesn't rely simply on the name to identify images since it uses a more complicated algorithm to differentiate images from each other.  It is one thing I really like about Aperture.  What I like about LR3 is that it lets me use actually file directories to store images rather than moving them into its own file system like Aperture does.  I don't like having files locked into a system that is software dependent.
    Also, I finally found the checkbox that tells LR to import "duplicates."  I couldn't find it before.  I don't find LR3 as intuitive as I'd like.  I've always had to spend more time figuring out how Adobe software does things than I would like. I've had little luck with Adobe's support site, aside from this forum.
    Thanks for you helpful suggestions.
    --Kenoli

  • Missing set name or handle name -- FormHandlers

    Hi All,
    I'm trying to implement FormHandler for learning purpose. I've a form(regform.jsp) with four fields and corresponding FormHandler component(Registration.java).
    In regform.jsp, I've submit button in the following way,
    *<dsp:input type="submit" bean="/testform/registration.registration" value="Register"></dsp:input>*
    and Registration.java, I've used like *handleRegistration(DynamoHttpServletRequest req,
                   DynamoHttpServletResponse res)*
    After submitting the form, I'm getting the below exception
    07:44:38,031 ERROR [ContainerBase] Servlet.service() for servlet jsp threw exception
    atg.droplet.DropletException: Missing set name or handle name (ServletRequest, ServletResponse) for class: com.sim.emp.Registration. Can't deliver value= wewe
    at atg.droplet.EventSender.sendEvent(EventSender.java:597)
    at atg.droplet.FormTag.doSendEvents(FormTag.java:791)
    at atg.droplet.FormTag.sendEvents(FormTag.java:640)
    at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
    at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2442)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:602)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:461)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:480)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:561)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1123)
    at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:805)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:231)
    at atg.filter.dspjsp.PageFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    Please suggest me where I've done the mistake.
    Thanks,
    Kushal
    Edited by: 916721 on Oct 16, 2012 8:04 AM
    Edited by: 916721 on Oct 16, 2012 8:05 AM

    Hi Shaik,
    Input tags in the following way,
    Name          : <dsp:input type="text" bean="/testform/registration.name" value=""></dsp:input><br></br>
         DOB               : <dsp:input type="text" bean="/testform/registration.dob" value=""></dsp:input><br></br>
         Designation     : <dsp:input type="text" bean="/testform/registration.designation" value=""></dsp:input><br></br>
         Email ID     : <dsp:input type="text" bean="/testform/registration.emailID" value=""></dsp:input><br></br>
         <dsp:input type="hidden" bean="/testform/registration.successUrl" value="success.jsp"></dsp:input>
         <dsp:input type="hidden" bean="/testform/registration.failureUrl" value="regform.jsp"></dsp:input>
         <dsp:input type="submit" bean="/testform/registration.registration" value="Register"></dsp:input>
    Setters:
         public void setName(String name) {
              this.name = name;
         public void setDesignation(String designation) {
              this.designation = designation;
         public void setEmailID(String emailID) {
              this.emailID = emailID;
         public void setDob(String dob) {
              this.dob = dob;
         public void setSuccessUrl(String successUrl) {
              this.successUrl = successUrl;
         public void setFailureUrl(String failureUrl) {
              this.failureUrl = failureUrl;
    Thanks,
    Kushal

  • Any way to keep original file name as image name for web gallery?

    Hi,
    I wonder if there is any way to keep the original file name as image name for a web gallery (instead of "picture-1.jpg)
    People often send us the thumbnails or the image from the web and we have to search forever to find the image in AP - if we could keep our original filename then this would be a second away.
    Hope somebody has an idea
    thanks

    Hi William,
    I finally had time to play - unfortunately it does
    not work the way you described above.
    I´m just exporting a set of images using the "Stock
    Black" Theme - marked name only - batched the
    filename to masterfile - but the actual picture names
    are still "picture-1.jpg" - "picture-2.jpg".
    did I miss anything? thanks
    I see what you want, you don't care about the screen name so much but want the generated file names to be the same as the version names. From earlier messages though I am not quite sure why this is a problem, since you said other people were picking the images they wanted - say Image1 and 23 and 8. That to me says those people are going through the directory using Finder or Explorer, not using the HTML.
    Is it the case you are giving people web galleries on CD? If so, then perhaps also export a "browse" directory with exported images using the version names, so that people can use the right name.
    Or perhaps it's the case that people are downloading the images from the web, and then using the downloaded file names to send you requests. I'm not sure how to fix this yet and do not know if 1.1 offers something for this.

  • Aperture finder windows shows set name in arabic text

    When I open the finder window to find images/videos etc through web browsers, the set name in Apertue is shown in Arabic.
    Here's an example of how it looks. I'm not arabic, nor using that charset.
    I don't know if this is truly arabic or any other language.
    I've done all the database cleaning in Aperture.

    Are you sure you looked in the systems library folder and not your library folder?
    The complete path is
    /Library/Application Support/iLifeMediaBrowser/Plug-Ins

  • How do I set the thumbnail image of my videos that export to my computer?  I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.

    How do I set the thumbnail image of my videos that export to my computer?  I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.
    Or how does Premiere 11 determine where to set the image for the video it is exporting? 
    I already know how to use Freeze frame and save the image to my computer by Publish+Share/Computer/ Immage.
    Thanks,
    Mike

    Mike
    This is not Adobe. Rather user to user. We are all visitors here.
    Just a bit of history....back in the days of Premiere Elements 4, you could set a "poster frame" in what was called the Project area. You did this by right clicking a blank area there and, from the drop down menu that appeared, selecting View/Preview Area, and using the poster frame feature there.
    As I said, when a video imports into Premiere Elements, the thumbnail of the import has been presenting as the first frame of the video. With this Preview area "poster frame" option, you could set the video's thumbnail in the Project area so that the first frame was another frame in the video. But, this "perk" was restricted to thumbnails of the video in Project area.
    If you exported to file with the first frame modified video, the export's thumbnail in Windows Explorer would present with other than the real first frame or the poster frame as the first frame.
    Also, in more recent versions, I have observed that the export to file does not display the real first frame of the video in Windows Explorer. Seems random, but I have not kept track.
    And, remember, at the onset I wrote
    As far as I have ever seen, Premiere Elements Windows uses the first frame of the video for its thumbnail in the program.
    I know of no way within Premiere Elements to control what the program opts to do in this matter. In some compatibility
    issues, it opts to give no image but a generic one.
    I did not say that you can expect to have the Premiere Elements' export file's thumbnail in Windows displaying with its real first frame. And, the more you get into this, depending on the versions, more details need to be added to my comment about "...first frame of video for its thumbnail in the program..."
    I would have to look into all this further to get perspective on the contributing factors.
    ATR
    Add On...The Poster Frame feature appeared in versions 4, 7, 8, and 9 by my count.

  • How to set a background image to fill the entire screen on any device in a spark mobile application

    Hi,
    I started developing a mobile application with Flex.
    I'm trying to set a background image to fill the whole screen. I've been stucked at this point for days now. I tried everything and no solution seems to work for me.
    I'm using a TabbedViewNavigatorApplication and i need to set some background images on views.
    I need my image to fill the entire screen on any device. i don't need to mantain image aspect ratio,  just need it to be fullscreen. This seemed to work when setting a custom skin on the TabbedViewNavigatorApplication, however this blocked all my views for some reason and all components contained in view became invisible.
    Can you please tell me how can i achieve this?
    Kind regards,
    Dan

    Basically you need a larger image which can accommodate any device. The trick is to show only what each device can display, so therefore some clipping will occur based on device. Have something centered and towards margins have a  gradient or just plane colors that way the stuff in the middle will be visible on every device while nobody will care if you are clipping from the color fill.
    C

  • How to set a background image in Web dynpro for Java?

    Hi,
    Experts,
    As i  want to set a background image in my application can u please suggest how to get background image. send any sample scenarios.
    Thanks in advance,
    Shabeer ahmed

    Hi,
    I don't  think it can be done in WDJ.
    Maybe something can be done on the portal end.
    Refer to http://help.sap.com/saphelp_nw70/helpdata/en/79/affe402a5ff223e10000000a155106/frameset.htm
    Changing the theme can help maybe but I do not know how to go about that
    Regards,
    Himanshu

  • Error while running package ORA-06553: PLS-553 character set name is not re

    Hi all.
    I have a problem with a package, when I run it returns me code error:
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-553: character set name is not recognized
    The full context of the problem is this:
    Previously I had a developing data base, then was migrated to a new server. After that I started to receive the error, so I began to check for the solution.
    My first move was compare the “old database” with the “new database”, so I check the nls parameters, and this was the result:
    select * from nls_database_parameters;
    Result from the old
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     US7ASCII
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     10.2.0.1.0
    Result from the new
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     US7ASCII
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     10.2.0.1.0
    As the result was identical, I decided to look for more info in the log file of the new database. What I find was this:
    Database Characterset is US7ASCII
    Threshold validation cannot be done before catproc is loaded.
    Threshold validation cannot be done before catproc is loaded.
    alter database character set INTERNAL_CONVERT WE8MSWIN1252
    Updating character set in controlfile to WE8MSWIN1252
    Synchronizing connection with database character set information
    Refreshing type attributes with new character set information
    Completed: alter database character set INTERNAL_CONVERT WE8MSWIN1252
    alter database character set US7ASCII
    ORA-12712 signalled during: alter database character set US7ASCII...
    alter database character set US7ASCII
    ORA-12712 signalled during: alter database character set US7ASCII...
    Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3132.trc:
    Regards

    Ohselotl wrote:
    Hi all.
    I have a problem with a package, when I run it returns me code error:
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-553: character set name is not recognized
    The full context of the problem is this:
    Previously I had a developing data base, then was migrated to a new server. After that I started to receive the error, so I began to check for the solution.
    My first move was compare the “old database” with the “new database”, so I check the nls parameters, and this was the result:
    select * from nls_database_parameters;
    Result from the old
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     US7ASCII
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     10.2.0.1.0
    Result from the new
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     US7ASCII
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     10.2.0.1.0
    As the result was identical, I decided to look for more info in the log file of the new database. What I find was this:
    Database Characterset is US7ASCII
    Threshold validation cannot be done before catproc is loaded.
    Threshold validation cannot be done before catproc is loaded.
    alter database character set INTERNAL_CONVERT WE8MSWIN1252
    Updating character set in controlfile to WE8MSWIN1252
    Synchronizing connection with database character set information
    Refreshing type attributes with new character set information
    Completed: alter database character set INTERNAL_CONVERT WE8MSWIN1252
    *********************************************************************This is an unsupported method to change the characterset of a database - it has caused the corruption of your database beyond repair. Hopefully you have a backup you can recover from. Whoever did this did not know what they were doing.
    alter database character set US7ASCII
    ORA-12712 signalled during: alter database character set US7ASCII...
    alter database character set US7ASCII
    ORA-12712 signalled during: alter database character set US7ASCII...
    Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3132.trc:
    RegardsThe correct way to change the characterset of a database is documented - http://docs.oracle.com/cd/B19306_01/server.102/b14225/ch11charsetmig.htm#sthref1476
    HTH
    Srini

  • Brand new macbookpro; recent install Yosemite; computer now opens to my name and image but no place to put the password but nothing happens when trying to click on restart etc.

    Macbook Pro purchased December 2014.....was fine until update iOS  to Yosemite 2 days ago. Now, when turned on my image with my name comes up on the screen...no place to put your password.....at the bottom...restart, but used cursor to click on the restart and also my name, the image etc....nothing happens.
    I shutdown to go into the Recovery OS....and got the screen about resetting the password....which doesn't need reset. The third choice seemed more appropriate regarding the keyboard...but could not click on any of them with the cursor.
    Spent an hour with Apple support who ended up referring me to an Apple store that's a 100 mile round trip from me. Can't believe they can't help me...and can't believe this is happening to a brand new Mac.....guess Apple is no different than any other computer...install an update or upgrade...and immediately have problems.
    Exasperated,
    Joe......good thing my Dell is working

    Resetting User Password in Lion and Mountain Lion
    Boot into your Recovery Partition by holding down the Command and R keys whilst booting.
    When the Recovery screen appears, go to the Utilities menu and open Terminal.
    In Terminal, type:
    resetpassword
    ...a small app will open and allow you to choose the user for whom you want to change the password. If you are the admin, be certain that you choose your admin user. Type in your new password twice and give yourself a good hint. Click OK (or Done or whatever) and reboot, enjoying the use of your new, hopefully memorable, password.
    Good luck,
    Clinton

  • I want to find the image tag name from Image layer name InDesign JavaScript?

    I want to find the image tag name from Image layer name InDesign JavaScript?

    Hi,
    You can use following script to fetch image tag name and the layer name on which it lie:
    var imgBox = app.activeDocument.rectangles // fetch all rectangular frames from the active document
    for(var i = 0; i< imgBox.length; i++)
      if(null != imgBox[i].associatedXMLElement )
                var b = imgBox[i]
               alert("Image tag name "+imgBox[i].associatedXMLElement.markupTag.name + "\n exist on layer " + imgBox[i].itemLayer.name)
    Hope this would help you to resolve your problem.

  • Document Set name as refiner in Search results?

    I'm wondering if there is a way to use the document set name as a refiner in a search results page so a user can search a specific site or document library and choose the document set name to narrow the results? Initially I thought I could create a
    shared column on the document set (in the properties of the document set type itself) which looked up or calculated the document set name and then this would be shared with the documents within the set. I couldn't find a way to get the name of the set.
    What would be the best way (if any), of getting the search results or document properties themselves (if I created a column which contained the document set name for e.g.) to show the document set (if populated) that the document belongs to?
    Document Library
    Document 1
    Document 2
    Document Set A
         Document A1
         Document A2
    Document Set B
         Document B1
    How can I get search results to show a refiner on Document A1 and A2 indicating they're in the same Document Set A? I realise I need crawled/managed property but how best should I set this up?
    If this is not possible can anyone suggest an alternative please?
    Many thanks!
    Scott

    Hi,
    I am afraid that there is no existing managed properties on the document which we can count on to know which document sets the document belongs to.  Just like what you said "created a column which contained the document set name", this could
    be a workaround to achieve what you want.
    To do that:
    1. Add a new site column named DocumentSetName and add it to
    DocumentSet Content Type. And give value "DocumentSet_A" for document set A and "DocumentSet_B" for document set B.
    2. In the Document Set settings, enable the newly added column as
    Shared Columns. It means that all documents added to this document set will share the column and its value.
    3. Reindex this document library.
    4. In the Search Results refiner, add the automatically created Managed Property
    as Refiner. 
    With this method, you can filter the documents with the name of document sets when searching office documents in search center. The only information you need input manually is Value of the site column.
    http://blogs.technet.com/b/sharepoint_made_easy/archive/2013/03/19/step-by-step-configuration-to-add-custom-refiners-in-the-refinement-panel-of-search-results-page-for-sharepoint-online.aspx
    Moreover, if you have the requirement to create batch of DocumentSets without any manual input, you can refer to the following link which explain how to create them with proper settings and default values.
    http://www.c-sharpcorner.com/Blogs/12139/how-to-create-document-set-using-csom-in-sharepoint-2013.aspx
    Miles LI TechNet Community Support

  • Recordsets disappear from menu when adding mysql_query ("SET NAMES 'utf8'"); below the connection in php

    I hope someone can help with this. I'm trying to create a
    dynamic site using dreamweaver CS3, with php5 and mysql5 in the
    background but I'm having difficulty with recordsets disappearing
    from the server behaviour menu when tweaking the code to allow set
    characters or set names for utf8.
    For a while, I've been having a problem getting my
    dynamically generated master list pages (eg lists of jobs) to
    display international characters like an accented french e (and
    other languages) and for these to display correctly when viewed in
    phpmyadmin also. So, I've placed headers at the top of the page for
    utf8 and created the content metatag for utf8 in the page code.
    Where needed I've added ENT_QUOTES utf etc for htmlentities and
    added accept-charset utf-8 in the <form> action area.
    (one thing I haven't done in the form action area is add
    <enctype="multipart/form-data">, but I'm not sure if this
    will make any difference)
    In the backend, the innoDB database is collated and built
    using utf8_unicode_ci. I'm on a shared host -so can't directly
    access php.ini or adjust the connection settings through
    phpmyadmin. But I can write .htaccess files (currently with the
    defaultcharset set to utf8 also).
    At this point - all list pages display the correct characters
    when retrieved from the database - indicating that the headers are
    working. But - in phpmyadmin the letters are garbled, and garbled
    on return on update forms (content management). I solved this by
    adding the &#xxxx; equivalents in insert and update forms to
    display the text correctly on the list pages - but again it's not
    convenient to see all of this in phpmyadmin, as I'd like to be able
    to read it there as it should be, and to dispense with the need to
    add &#xxxx references on the insert and update forms.
    So...a bit of searching, and I read that in order for the
    international characters to display in phpmyadmin correctly, I
    needed to amend my php page code so that for all instances where I
    see the connection to the database, before the SELECT, INSERT and
    DELETE queries, I need to add either mysql_set_charset('utf8',
    $connection) or use three lines of code referencing mysql_query SET
    NAMES, SET CHARACTER SET and SET COLLATION_CONNECTION for utf8.
    I did that, and it removed all of my recordsets in the
    sidebar menu! Not too good. I'm left with a task of rebuilding
    pages now.
    So I placed the mysql_set_charset line in the connection.php
    file in the DW Connections folder below the connection there
    instead. [I didn't precede the mysql etc line with a $ sign - I
    wonder if that's the issue?]
    With this change I could use the Insert forms to add the
    international characters directly into the database and see through
    phpmyadmin that all was hunky dory. But then the problems came with
    first loads of the master list page.
    So, I can get international characters into the database now
    (which is a step in the right direction for me), using an insert
    form on the website, but I still can't get the international
    characters to display on the returned page on first loading eg on a
    list of jobs. Note that the detail pages display fine when clicking
    the master links, and when I return from the detail page back to
    the master list - the characters are ok. They just don't seem to
    display when the master page loads for the first time which is
    really perplexing me.
    I suspect that I need to add the mysql_set_charset line below
    the $connection and before the selects, inserts etc at all
    instances on the webpage, but this just removes the recordset from
    the menu, so this doesn't seem to be a good option.
    Can anyone point me in the right direction as I'm been stuck
    on this for ages. It may be something simple like adding $ in front
    of the mysql_query, but then again maybe not.
    I've tried other forums - but people seem to be content with
    viewing but not offering assistance. I don't believe that what I'm
    doing here hasn't been done before....all I want is for my pages to
    display international characters and for these to display correctly
    in phpmyadmin so that when I insert, update and delete records
    using webforms I don't have to resort to using &#xxx inserts.
    Help please!

    .oO(08Green)
    > So...a bit of searching, and I read that in order for
    the international
    >characters to display in phpmyadmin correctly, I needed
    to amend my php page
    >code so that for all instances where I see the connection
    to the database,
    >before the SELECT, INSERT and DELETE queries, I need to
    add either
    >mysql_set_charset('utf8', $connection) or use three lines
    of code referencing
    >mysql_query SET NAMES, SET CHARACTER SET and SET
    COLLATION_CONNECTION for utf8.
    Usually you only need to send a SET NAMES 'utf8' right after
    the
    connection to the DB has been established. That way all data
    that is
    transferred between the DB and your script will be handled as
    UTF-8.
    > I did that, and it removed all of my recordsets in the
    sidebar menu! Not too
    >good. I'm left with a task of rebuilding pages now.
    >
    > So I placed the mysql_set_charset line in the
    connection.php file in the DW
    >Connections folder below the connection there instead. [I
    didn't precede the
    >mysql etc line with a $ sign - I wonder if that's the
    issue?]
    I've never used mysql_set_charset().
    Here in my applications it always works like this:
    * the default charset in my InnoDB tables is ISO-8859-1, I
    only use
    UTF-8 in the columns that really need it (text data, but not
    INT or
    DATE columns)
    * SET NAMES 'utf8' at the beginning
    * all files (HTML and PHP) are encoded as UTF-8 without BOM
    * all pages delivered as UTF-8 (my pages are
    script-generated, so I use
    an appropriate header() call to define the content-type and
    encoding)
    That's it. Oh, and I don't use phpMyAdmin ...
    > With this change I could use the Insert forms to add the
    international
    >characters directly into the database and see through
    phpmyadmin that all was
    >hunky dory. But then the problems came with first loads
    of the master list
    >page.
    In the first part of your posting it sounded as if it worked
    almost
    correctly, before you tried to fix the broken phpMyAdmin
    appearance.
    Is that correct?
    > So, I can get international characters into the database
    now (which is a step
    >in the right direction for me), using an insert form on
    the website, but I
    >still can't get the international characters to display
    on the returned page on
    >first loading eg on a list of jobs.
    They did display correctly first, didn't they? So it seems
    that you
    broke your script just in order to fix some PMA problem.
    Revert that.
    Make your script work for normal input/output from/to a
    website first
    and don't worry about PMA for now.
    What do you need PMA for BTW? It may have many other issues
    as well and
    should only be used if really necessary or if you're not
    familiar with
    the command line interface. The only thing that we are using
    it is to
    get a dump from a remote DB, where I don't have shell access
    to call
    mysqldump directly (yes, I could also write a little PHP
    script for
    that, it's already somewhere on my TODO). But here on my
    local system I
    always use the MySQL command prompt if I have to directly
    work on some
    tables or to import the dump from remote.
    Anyway, if you need PMA, your might try their group or forum.
    I'm sure
    there's an FAQ as well. Maybe it's just a configuration
    issue.
    > I've tried other forums - but people seem to be content
    with viewing but not
    >offering assistance. I don't believe that what I'm doing
    here hasn't been done
    >before....all I want is for my pages to display
    international characters and
    >for these to display correctly in phpmyadmin so that when
    I insert, update and
    >delete records using webforms I don't have to resort to
    using &#xxx inserts.
    The bug here is PMA itself. ;-)
    Micha

Maybe you are looking for

  • Can not launch swing application from Java Web Start 1.6.0_37

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Tes

  • Closing an open path

    I have a path that, although it looks closed, is open so does not fill correctly. How do I close it? I'm using FW8 on OS X. Thanks, Jake. P.S. Apologies if I'm being dumb and have missed something obvious!

  • Error Message - Could not be moved to the mailbox "(null)"

    The archive button in macmail will not let me archive an email using one of my IMAP accounts, making me think I accidentally deleted an Archive folder during setup.    I get the following error message. The message [subject] could not be moved to the

  • Notes not syncing iCloud

    I've been reading a few posts on here & get the general gist - However.  I am rather worried about getting duplicate entries so want to be sure about the correct process before proceeding. 1) I have a MacBook Pro - runnig Lion - tried the USB sync to

  • Toshiba - Satellite Click 2-in-1 13.3 keeps crashing

    Hi , I just bought a new Toshiba - Satellite Click 2-in-1 13.3 laptop and have had nothing but problems with it. It keeps crashing for no reason. When in idle mode or running an application? I then get a message saying " No bootable device please res