aspose file tools*
The moose likes Servlets and the fly likes File Upload with out HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "File Upload with out HTML" Watch "File Upload with out HTML" New topic
Author

File Upload with out HTML

Kash Mhai
Greenhorn

Joined: Apr 01, 2005
Posts: 29
Hi,
I need to upload a file using a servlet, but WITHOUGHT USING HTML. I mean I need to pass a variable to a servlet and it should upload the file. Eg., I cal a servlet like this http://localhost:7001/sampleapp/abc.servlet?fname=abc.txt
and t he abc.txt should be uploaded. Is this possible? I have uploaded files using Multipart Request and all, but in this condition i need to bypass the HTML totally. Is this possible?

Kash


-------------<br />There are wheels within wheels...<br />P.G Wodehouse
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Originally posted by Kash Mhai:
Is this possible?


No


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Upload with out HTML