This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "File Upload with out HTML" Watch "File Upload with out HTML" New topic

File Upload with out HTML

Kash Mhai

Joined: Apr 01, 2005
Posts: 29
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?


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

Joined: Jan 10, 2002
Posts: 63232

Originally posted by Kash Mhai:
Is this possible?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you checked out Aspose?
subject: File Upload with out HTML
It's not a secret anymore!