How to get the full image directory when i upload the image to web page???

hai, how to get the full image directory when i upload the image to web page???
here is the example:
<form action="uploadfile.jsp" method="post">
image<input type="file" name="image" />
<input type="submit" value="submit"/>
<%
String s=request.getParameter("image");
%>
<%=s%>
</form>
i upload the image from C:\image\center.gif. i use request.getParameter just can get the image name like "center.gif". Can anybody help me how to get the full path name. Thanks a lot..

There is no need to get the path. It is also fairly pointless as the server cannot access the client's local file system.
Carefully read this article how you can upload files the right way: http://balusc.blogspot.com/2007/11/multipartfilter.html

Similar Messages

  • When i try and open a tab that is the same as the page im currently on i closes it self. not when i type the full address, but when i use the arrow keys to select the url and press enter

    when I try and open a tab that is the same as the page I'm currently on it closes it self. Not when I type the full address, but when I use the arrow keys to select the url and press enter. I just don't like typing in the same address 5 times, when the older Firefox worked.

    Hi
    AutoPunch enabled? Command click in the bottom half of the Bar Ruler to turn it off
    CCT

  • How to get credit for a Charge when not got the itrms

    How to get a credit note when charged from the credit card even not received the goods I.e bought keys for Farmville 2  with 17.99 but did not get the keys.

    If you've been charged but haven't received the items then try the 'report a problem' link to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • When online and asked to fill in phone no., the iPhone presents a numeric keyboard that does not have space, hyphen or parenthesis keys. How to get a full keyboard to come up all the time?

    When asked to input my phone number on some online forms (Yelp, donation), a numeric keyboard comes up on my phone. This keyboard has 0-9 characters, + # symbols, and the words "pause" and "wait.". There is no option for parentheses for area code, no hyphen option, no period option and no space option. As a result, numbers run in a single row. I then get the message "Invalid phone number" or "Invalid Format.". The sites then won't allow me to continue. This numeric keyboard is useless. How do I get either a numeric keyboard with the needed features or, better yet, get the alpha-numeric pad we usually see?  This seems so weird on Apple's part.

    MaryAmanda wrote:
    Does anyone know anything about onsite specifics?
    I'm wondering where the onsite warranty can be in effect.  Like, can it be used in ANY city in the US?  Can it be used only in metrololitan areas?  What is a metro area in Lenovo's eyes?
    Does anyone know where I can get better and accurate info on the onsite warranty?  Like a coverage map would be very helpful.  Because why should I spend the money on it, if I can't access it?
    Looking forward to more info...thanks.
    There is no coverage map as such.
    I live in what is considered a rural area and had techs driving 60-70 miles one way to get to me, never an issue.
    Obviously, YMMV.
    In my not-so-modest experience, both onsite and accidental damage upgrades are worth every penny if one intends to keep their ThinkPads for an extended period of time.
    Good luck.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • How to get a Sum of rows, when i use the property max. rows p. page ?

    Hi all.
    I've got a query and get a lot of rows (amounts) back.
    Now i want to have max. 21 rows per page.
    So, first i used the property "max. rows p. page"=21.
    But i want a have Sum-Field p.page too, which shows the sum of the amount p. page at a >fixed place (bottom, left) at the page.
    this didnt work well....
    Because when i have 30 rows, then the sum will shown at the second page (because the sum-field its after the repeating frame).
    ...Now i forgot the property and placed a function and two placeholder in the query like this:
    Function:
    :cp_row:=:cp_row +1;
    if (mod (:cp_row,21)=0)) then :CP_pagenr:=:CP_pagenr+1;
    Placeholders: cp_row, cp_pagenr
    Now i want to use :CP_pagenr to change the group - but Report Builder says: I cant... because placeholder are not allowed to change a group.
    So.. perhaps anyone can give me a hint how i can do this ?
    Thanks a lot...

    hello.
    that sound to me as you wanted a running total. check out the metalink knwoledge base and search for running total and you will find a note on how to do that.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I have the iPhone 4. and when I updated the software to iOS6 My notifications don't make a sound anymore, the only sound that I get are text messages, or Email. I checked to see if the other apps were muted and they weren't. How do I fix this??

    I have the iPhone 4. and when I updated the software to iOS6 My notifications don't make a sound anymore, the only sound that I get are text messages, or Email. I checked to see if the other apps were muted and they weren't. How do I fix this

    You cannot update iPhone 4 to IOS 8.1.2, the highest you can update is IOS 7.1.2.
    Unless you've iPhone 4S (looks similar to iPhone 4)

  • I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !

    I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !
    I also tried resetting settings all to no avail ...I looked up some advice and watched utube video advice on how to fix without success..
    The volume control button on side does not work ,I got the iPad last August and wonder if it is a fault that means I must return it for replacement from where it was purchased ?

    The Retrospect you used way back when is no longer around. The company was sold and that company produced a new version of Retrospect - Retrospect 8.x
    So, as you've been told, you would have to be running a Tiger system with an old version of Retrospect software (5.x or 6.x - you would need to know) assuming you can find the software.
    As best I can remember you cannot extract files from a Retrospect backup except using the software since Retrospect did not normally make a file by file backup rather it created an archive of the files in the backup. I'm assuming that the EMC/Retrospect people have told you that old Retrospect backups are not accessible by Retrospect 8.x?

  • How can you get your ipod touch open when you forgot the password and its disabled and not connected to wifi

    How can you get your iPod touch open when you forgot the password and its disabled and not connected to the Internet Connection and you don't want to reset it.

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:                         
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • When I send an email it displays the full email address instead of just the name even thought the person is in my contacts. How to fix?

    When I send an email it displays the full email address instead of just the name even thought the person is in my contacts. How to fix?

    Hi Sunny C,
    Welcome to the Support Communities!  The "From" field should be showing by default, but you can check or change your settings for Mail with the instructions below:
    Mail (Yosemite): Set Mail preferences
    http://support.apple.com/kb/PH19178
    In the Composing pane, you can set the email account that you want to send new messages from.
    Also, check the View command on the Menu bar.  View > Message Attributes should have a checkmark beside the "From" field.
    Cheers,
    Judy

  • How do I get the beeping to stop when playing in the Timeline?

    This is probably one of the most elementary questions, but for some reason I can't seem to figure out - or find in the documentation - how to get FCE to stop beeping when I play something assembled in the timeline.
    In other programs I've tried (Adobe Premiere Pro for example), you hit the space bar and it plays - with audio in-tact and in sync. Here, I hear a steady beep.
    Doing some research, I found that this might have something to do with unrendered audio; the problem is, every time I try to render audio with this program, as soon as it finishes it locks up BEFORE the audio file is written to the disc. And I've let it sit for over five hours - nothing.
    Any help anyone could provide would be greatly appreciated.
    Quad 2.5 GHz PowerPC G5   Mac OS X (10.4.7)  

    Thanks for the reply Max. The original video came from a DVD which I ripped via HandBrake. I then, after three days of googling and finally getting an answer from some one on this forum, re-exported the resulting MPEG4 into a DV format file through MPEG Streamclip.
    After reading that it needs to be in 48k format, I re-exported from MPEG Streamclip and this time, hit the option for "Resample to 48k". I brought it back into FCE and put it on the timeline, but still needed to render.
    This time, I watched the folder the render sequence file went into. As soon as it finished, the render file DISSAPEARED. I'm assuming it was moved or deleted but I don't know where it could have been moved to.
    Trying to use anything in the FCE interface now results in the application locking up. I can't exit it or use it at all - it's force quit or let it sit (which as I said, I've let it sit for 5+ hours earlier).
    Prior to starting that render, I set the permissions on the folder ~/Documents/Final Cut Express Documents/ to read and write using Finder and applied it recursively (to all sub-folders). So there aren't any permissions problems.
    Honestly, I want my money back for this program. This is unacceptable. Any Apple technicians want to give a crack at this?

  • How do you get back in your ipod when you forgot the password

    how do you get back in your ipod when you forgot the password?

    Connect the iPod to your computer and restore.  Place the iPod in recovery mode if necessary. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • The icon that appears when you change the volume is stuck on my phone.  how do i get it off my screen

    the icon that appears when you change the volume is stuck on my screen.  Can anyone help?

    Hi antdagreat601,
    Welcome to Apple Support Communities.
    If you haven't already, I'd first try restarting or resetting your iPhone:
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Restarting your device
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
    Press and hold the Sleep/Wake button until the Apple logo appears.
    Resetting your device
    Note: Reset your device only if you are unable to restart it.
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If the volume icon doesn't go away, see our iPhone Troubleshooting Assistant for more help:
    http://www.apple.com/support/iphone/troubleshooting/
    Have a great day,
    Jeremy

  • How to get Ken Burns effect to zoom out so the whole pic is visible

    I want to start or end with the full pic in view - just as the FIT command does.
    Then I want Ken Burns to Zoom/pan to make it interesting.
    But I can't figure out how to re-size the frame beyond the 4:3 (or whatever is restricting it) ratio.
    Tried dragging the frame edges with CTRL, ALT, SHIFT, and COMMAND. Nothing seems to release the constraint.
    Thanks in advance.

    I want to start or end with the full pic in view - just as the FIT command does.
    If by "Fit" you mean the image exactly matches the display area, then you would have to "pre-crop" your scan to one of the available aspect ratios either before or after making your scan. If by "Fit" you mean "letterbox" or "pillar" views, then as Appleman said, you would have to either use the mentioned automator action or almost any graphic application. I prefer the manual approach so I can add a "text" area, frame, texture the background and/or image, and/or create other special effects.
    But, how do I zoom the view out past the edges of the photo? If I press the FIT button in KB effect, it does it. But I loose the ability to zoom/pan... Unless there is some trick to getting KB effect to start or end with a FITted picture?
    There isn't. iMovie '08 automatically scales the content to make the smallest dimension "fit within" the display area and, therefore, does not allow the "over-zoom" effect of "fitting" the larger dimension within the display area. You can however do this in iMovie HD. So if you want the "built-in" capability, this is a case where you should be using the the older application -- otherwise you will have to letterbox/pillar the content to get iMovie '08 to "Fit" your image as you wish.

  • Sharepoint Workflow : how to get document full path + file name into variable?

    Hi,
    Anybody knows how to get document full path + file name into a variable in Sharepoint 2010 workflow?
    Example http://sp1:80/InvoiceQueue/Shared Documents/123.pdf
    I am using List Workflow which links to a document library.

    Hi SAMSUNG,
    According to your description, my understanding is that you want to get the full path of a document in a list workflow.
    You can set the variable to the Enconded Absolute URL of the document. The screenshot is my testing. In my testing (in the red area), when the title of a document was equal to the tile of the current item, set a variable to the Enconded Absolute URL of the
    document. I used ‘Log to history list’ to check the value of the variable in Workflow History .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • I am uploading receipts using the PURCHASE_ORDER_RECEIPT EIP.  When I upload serialized assets each one is processed as a separate receipt (receiver_id). How can I have these all aggregated on the same receipt?

    I am uploading receipts using the PURCHASE_ORDER_RECEIPT EIP.  When I upload serialized assets each one is processed as a separate receipt (receiver_id). How can I have these all aggregated on the same receipt?
    Is there a parameter I should be using in the XML or is there a setting in Peoplesoft that will accomplish this?
    Jim

    sundy.liu wrote:
    Unfortunately however, even with the TCP tweaks enabled, I still only get a little over 1 Gb/s through the two aggregated Gig ports. It seems as though the aggregation is only using one port, though MRTG graphs of the two switch ports do in fact show that they are both being utilized equally, essentially splitting the 1 Gb/s speed between
    the two ports.
    Problem with the server? switch? Aggregation software? All the above? At any rate, I seem to be missing something.. Any help regarding this issue would be greatly appreciated!If you're only running a single stream, that's all you'll see. Teaming/aggregating doesn't make one stream go faster.
    If you ran two streams simultaneously, then you should see a difference between a single 1G interface and an aggregate of two 1G interfaces.
    Darren

Maybe you are looking for

  • How to get all signature fields in a .pdf from C#

    Does anyone have some sample code that shows how to "iterate" all signatures in a .pdf from C#? Using the SDK and the Javascipt object model I know how to sign a document but I can't figure out how to "get all the signatures". Basically I want to ope

  • File association for .rexx files

    Hi all, This will be my first post here. I've searched the web (and this forum) for an answer to my question, but have up untill now not been able to find it. I have installed Regina Rexx, cuz I want to use that language as my command language. I've

  • Long Delay Release Background Job

    Dear Expert We now use BI Netweaver 2004 many times background jobs have release status in long time, so the jobs can not be active if I change priority to A, the jobs can be active Why I must change priority the job for active ? How to solve this pr

  • Using headless with JAVA 1.3

    i have wrote a program which draws images, acording to its input. when working with java 1.4, one can set the system property "java.awt.headless" to "true", and by that creating images in offscreens programs. I am using a server which runs on Free BS

  • Thumbnail (preview) widget

    It has been quite some time since I created a custom control and I need a mental jump-start. I need a widget that scans a folder and displays thumbnails (and the name of the file) of all the images contained in the folder. The widget needs to display