File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes datastream with additional parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "datastream with additional parameter" Watch "datastream with additional parameter" New topic
Author

datastream with additional parameter

Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
Hi All,

I'm sending zip file through DataStream from the client and at the servlet i'm retrieving it some thing like following code



upon recieving i would write it to the writer to reconstruct the ziped file.
Well,my question is if i were to send along some other parameters then how to go about doing so?.Can somebody clarify this please.
[ September 09, 2008: Message edited by: Prashanth Bhanu ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60755
    
  65

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "Servlet" in a forum completely dedicated to questions on servlets isn't very helpful.

Please go back and change your post to add a more meaningful subject by clicking the .


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
Hi Bear Bibeault,
Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
Hi Bear Bibeault

I aplogise for using inappropriate subject.I'm not allowed to modify as this feature is only available for "administrators".Please suggest

Thanks
[ September 09, 2008: Message edited by: Prashanth Bhanu ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60755
    
  65

No, you can change the topic of your own post.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60755
    
  65

How are you uploading the file?
Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
Hi,

Below is the code i used to upload the file


Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60755
    
  65

Looks to me like you are just reading the file from the filesystem rather than doing an upload.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: datastream with additional parameter
 
Similar Threads
Ip camera view
read Content
Including / accessing .txt files inside .jar file
passing an object to a method
Writing and Reading JPEGS from stream