wood burning stoves*
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
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: 61766
    
  67

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: 61766
    
  67

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

Joined: Jan 10, 2002
Posts: 61766
    
  67

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: 61766
    
  67

Looks to me like you are just reading the file from the filesystem rather than doing an upload.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: datastream with additional parameter