aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes need help in upload a video file in jsp page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "need help in upload a video file in jsp page." Watch "need help in upload a video file in jsp page." New topic
Author

need help in upload a video file in jsp page.

Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

how to insert video file on jsp page using absolute path from computer directory..???
any idea...?


do or die..!!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60077
    
  65

In your subject, you mention "upload", but in the body, it sounds like you just want to display the video. Which is it?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

Bear Bibeault wrote:In your subject, you mention "upload", but in the body, it sounds like you just want to display the video. Which is it?


hello sir..
but i want to open video on jsp page using request.getParameter() method in which i pass absolute path of video file
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Anand Gajjar wrote:
but i want to open video on jsp page using request.getParameter() method in which i pass absolute path of video file


absolute path of the client's computer or the server?

Client's Browser
Modern day browsers DO NOT send up the full path to the server. They just send up the file name and the file contents. So it would be impossible to link to a file on the user's computer through a file input. Plus with security settings most browsers will not allow html/javascript to reference local files.

Server Path
Only way you can serve up the file to the client is to make sure the file can be accessed from a http url.

Eric
Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help in upload a video file in jsp page.
 
Similar Threads
jstl populating a menu via iteration
doubt in transfering value using script
doubt in transfering a vidoe file
play vedio in jsp
Relative URL specifications, JSP 1.2.1