How can i change the path for uploadin videos??

i m using javax.servlet.servletcontext for setting the path for storin upload videos...
by using the getrealpath able to store videos in web-inf file...
how can i change the location...

this is the part of code in which i want to change my storage location:
** * The base path corresponds to the base directory of the
* application context's WEB-INF directory. This means that
* this directory is NOT visible to the end user.
public static String getBasePath(javax.servlet.ServletContext context)
{ return context.getRealPath("/") + "WEB-INF" + directorySep;}
/** * The temporary directory used to store files while they are
* being uploaded. */
public static String getTempPath(javax.servlet.ServletContext context)
{ return getBasePath(context); }
/** * Gets the upload directory - used to indicate the local file
* system storage area.
can u tell me now how to change the context value???
and how to change the storage loction??

Similar Messages

  • How can i change the setting for audio-video for my face time to built in only so i can have my skype camera ?

    Good evening,
    The last few days my I lost the ability on Skype to be seen by the other party ... I can see them but they cannot see me. At the same time my Face Time sent me some messages error.
    When I open my Skype and go to Preference and go to audio/video I see my image ... and when I go back to make a call the camera is off (no light). When I look at the bottom where I can have a drop  down arrow I have Face Time (built in).
    On my other Macpro  (that work well) I have at the same place  built-in only.
    Cannot change anything on my MacBook air ... no drop in.
    Please Help and thank you !

    There are no settings for video resolution or frame rate.
    Regarding iOS developer policies:
    https://developer.apple.com/devcenter/ios/index.action

  • I no longer want to merge my work laptop with my icloud account on other devices.  How can I change the setting for the laptop?

    I accidentally agreed to set up my work laptop icloud account to merge with my other devices and want to keep the work information separate.  How can I change the setting for the PC at work?

    Sign out of iCloud.

  • How can I change the password for the USER in SAP.

    How can I change the password for the USER in SAP?
    also I want to change the Language and  date Format b/c it's displaying in German language..

    Hi,
    Assuming that User has already his/her user-id and password, and now he/ she wants to change it.
    select the client and provide Log-in credentials. Now, instead of 'ENTER' there is one Tab: 'New Password' (up, left hand). Click it.
    Now, system will ask for new password to change.
    If you are asking from Basis point of view, then T.code: SU01 - User Maintenance.
    Enter User's id and Click Change icon.
    It will lead to Page: Maintain User.
    Here, Select tab: Logon Data
    There is a Sub-Tab: Password.
    Here, key-in change password and SAVE.
    For Language and Date format, contact your Basis-Personnel.
    Best regards,
    Amit

  • I have installed Itunes on my laptop. However, the apple store opens in German language. I need it in English. How can i change the language for istore through the itunes?

    I have installed Itunes on my laptop. However, the apple store opens in German language. I need it in English. How can i change the language for istore through the itunes?

    Go to the bottom of the page, click the flag, then select your country.

  • How can i change the font for a theme in iDVD.

    how can i change the font for a theme in iDVD. For example; the text of the rotation theme in the background of the movie. i want to change the font of the rotating text there. How do i do this?

    Have a look at this: http://hints.macworld.com/article.php?story=20080130180258257

  • How can I change the settings for being timed out (I don't want to be timed out ever)

    How can I change the settings for being timed out (I don't want to be timed out ever)?

    I am sorry but this isn't something that you can set. The system has timeouts built into the code.
    Andrew

  • How Can I change the Authentication for this Dynpage

    Hello ,
    I have created a rss feed in special Dnypage.   When I try to connect with rss reader  to dynpage it occurs an error 500.  The problem is that no logon screen appears and the portal would start the Dynpage with the User Guest.
    How Can I change the Authentication for this Dynpage ? I need a LogonScreen
    RSS URL:
    /irj/servlet/prt/portal/prtmode/rss/prtroot/com.geberit.ep.uwlquick.uwlquickstarter?mode=rss

    Hi ,
    sry the entry in xml does not help. No Logon Prompt
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
        <property name="SecurityArea" value="NetWeaver.Portal"/>
        <property name="Vendor" value="xx.com"/>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb,com.sap.portal.pcd.glservice,com.sap.portal.ivs.iviewservice,usermanagement,,com.sap.netweaver.bc.uwl"/>
      </application-config>
      <components>
        <component name="uwlquickstarter">
          <component-config>
              <property name="SafetyLevel" value="no_safety"/>
            <property name="ClassName" value="com.xx.portal.uwl.uwlquickstarter"/>   
          </component-config>
              <component-profile>
                   <property name="AuthScheme" value="default"/>
              </component-profile>
        </component>
      </components>
      <services/>
    </application>

  • How can I change the language for the Quiz Results page?

    How can I change the language for the Quiz Results (labels on buttons and text labels)? Is this possible only manually each time, or are general settings possible?

    For Quiz Slides you've already added to your project file you will need to change the labels manually.  If you change your Quiz Settings and Master Slides that control the defaults and then add new Quiz Slides, THEN those slides will carry your new settings.

  • How can i change the ringtone for different contacts.  "edit contacts" won't let me`??

    how can i change the ringtones for different contacts on the razor.  "edit contacts" wont allow me to

    Here is the Instructions your Looking For:  Down towards the Bottom of the Instructions shows how to set Ringtones for each Contact.
    How do I download and use ringtones on my DROID  Razr & RAZR MAXX?
    Quick links
    Set any of your songs on your SDcard as a phone ringtone
    Choose Phone ringtones through settings menu
    Customize the text message ringtone
    Assign a ringtone to a specific contact
    Download ringtones from Play Store      
    1. Set any of your songs on your SDcard as a phone ringtone:
    Touch Apps > My music
    While the music is playing, touch the phone Menu Key > More > Use as ringtone 
    The ringtone is set as your default incoming call ringtone and copied to your Phone ringtone list.       
    Note: The above instructions are for the My music player and not for other players such as Play music.      2. Choose Phone ringtones through settings menu:
    Press the Menu key
    Touch Settings
    Touch Sound
    Touch Phone ringtone  (If option is greyed out, make sure handset volume is not set to Silent Mode)
    Select a Phone ringtone from the list. Press OK to set. (Music files you have set as Incoming Call ringtone from your SDcard will be included in this list along with downloaded and preloaded ringtones.
    3. Customize the text message ringtone
    From the homescreen or from within the applications tray, touch Text messaging
    Press the Menu key (On the left with 4 squares)
    Touch Messaging Settings
    Touch Select ringtones (if option is greyed out, make sure Notifications is turned on / actived)
    Touch on any Notification ringtone to select and hear a sample.
    Press OK to set as notification ringtone
    CLICK HERE for instructions on creating your own custom ringtone for Text Messages
    4. Assign a ringtone to a specific contact:
    Press Contacts icon on homescreen or tap on Contacts application from the Applications Tray
    Touch and select the specific contact
    Press the menu key
    Touch Options
    Touch V (down)  icon next to Ringtone
    Choose a Phone ringtone from the list and tap OK to set.
    Note: To assign a music/song from your memory card as a ringtone, first follow step1 above and follow step 4 again. 5. Download ringtones from the Play Store
    From the applications menu, touch Play Store
    Touch search  to search for ringtones.
    Answers others found helpful
    How do I setup and use Bluetooth on my DROID RAZR MAXX?
    How do I transfer files to/from my DROID RAZR MAXX?
    How do I set up and use the Smart Actions application using the DROID RAZR MAXX?
    How do I use the DROID RAZR MAXX for video chat?
    How do I force my DROID RAZR MAXX to reboot or restart?

  • How can I change the duration for all clips in iMovie 10.2

    How can I change the duration for all clips in iMovie 10.2?  I'm used to working in the older version of iMovie where all I had to do was click on the gear on the clip and change the duration. ALso could use the tool bar to set the duration for all clips. Can't figure out how to do that in this new version. Any suggestions would be appreciated.

    In the timeline select the clip whose duration you want to change. Click the adjust button at the top of the viewer and then click the i button and you can set the duration. For multiple clips select them all and in the i button type in the duration you want and it will be applied to all the selected clips. You can also change the duration of a clip in the timeline by putting the cursor over the beginning or end of a clip and dragging. A popup will show the new duration.

  • How can i change the phonenumber for my security code in keychain on ios 7.03

    how can i change the phonenumber for my security code in keychain on ios 7.03?

    i have changed the phonenumber under icloud preferences keychain. after the update on ios 7.03 there is no sms arriving for the security code because there is a double international code in the telephone number like +49 +49. How can i fix this?

  • How can i change the paasword for my backup?

    how can i change the password for my backup?

    Actually what I'm looking for to backup my data but unfrotunetely I can't because always asked me for the correct pasword to allowed to restore my data. thx Libby 101a

  • How can I change the location for the backup from iphone to itunes?

    How can I change the location for the backup from iphone to itunes? I want to backup to my external harddisk and not the computer itself. How do I do it?

    Moving the iOS device backup location
    Open a command prompt by hitting the start button and typing CMD<Enter> in the search box that opens up, or with Start > Run on older Windows.
    To move the current backup folder from C: to D: (for example) type in this command and press <Enter>
    Move "C:\Users\<User>\AppData\Local\Apple Computer\MobileSync\Backup" "D:\Backup"
    Where <User> is your Windows user name.
    To make iTunes look for the data in the new location type in this command and press <Enter>
    MkLink /J "C:\Users\<User>\AppData\Local\Apple Computer\MobileSync\Backup" "D:\Backup"
    If your preferred drive has a different letter or you already have a folder called "Backup" then edit "D:\Backup" accordingly in both commands.
    If you have Windows XP then you'll need a third-party tool such as Junction to link the two locations together instead of the MkLink command. The source folder is C:\Documents and Settings\<User>\Application Data\Apple Computer\MobileSync\Backup
    tt2

  • How do I change the thumbnail for a video file?

    Can I change the thumbnail for a video file (ex. .mov) in Bridge CS4?

    Can I change the thumbnail for a video file (ex. .mov) in Bridge CS4?
    Not to my knowledge. It seems it takes a snapshot from about the 10th second of the movie and creates a thumbnail for it. On a Mac the finder thumbnail shows the first frame of a movie, both don't seem to be able in getting customized.
    It will be down to a good naming convention I'm afraid. Not having CS4 installed anymore but on Bridge CS6 .mov files play on an reasonable sized scale in good quality in the preview window, maybe that will help you?

Maybe you are looking for

  • HT4061 how to check my i phone's warranty

    i want to check my iphone's warranty

  • Issue Screen Scrolling Very Jumpy - How can it be improved?

    I have setup 3 MS Windows Server 2012 R2 Remote Desktop Servers, connecting to Wyse C10LE terminals.  When scrolling in documents the display screen does not do so clearly.  I've tried reducing the encryption level and security settings but still no

  • NCA Macro For R12

    Dear All, Actually we are using Macro for Uploading Data in oracle 11 i but Now my company have changed the version to Oracle R 12 the MAcro we are using in Send_rows macro developed by Below Mentioned People , Now i need something like this for R12

  • How to reinstall photoshop cc

    Here is my case: - I tried to installe photoshop cc, but something went wrong. It is listed as installed in the creative cloud under "my apps" - but it is NOT installed on my mac (mavericks). I have even uninstalled as much photoshop as I could find.

  • Skype on Mac OS 10.3.4 ?

    Hi all, I run an eMac with 256 MB RAM on OS 10.3.4 and I once installed Skype on it, but never used it much. Now I have a contact that wants to skype with me, but when I opened Skype it said I need to upgrade and the upgrade requires at least 10.3.9