*
The moose likes Other Open Source Projects and the fly likes NTLM + Jakarta File Upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "NTLM + Jakarta File Upload" Watch "NTLM + Jakarta File Upload" New topic
Author

NTLM + Jakarta File Upload

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
Hi Guys, Please refer to the following URL before understanding my problem. Click here
Well I have developed a web application that is a simple file upload, using commons jakarta file upload. Before my request goes to the file upload servletFileUpload.parseRequest(request) method, I am doing the authentication as mentioned in the above web page, i.e. NTLM authentication using the handshake process of browser and the server. But what happens is, my request objects gets corrupted. And when I pass my request object to the parse() method of jakarta file upload, it simply returns nothing on the post of the.

<form name="frmPR" method="post" action="/upload/servlet/GatewayServlet" enctype="multipart/form-data"> I went to their forums and jakarta gurus say that this is the requirement that the request should not have been parsed, before it comes to the parse() method of jakarta file upload.

It seems like the NTLM authentication, destroys the request object, any idea to save the browser request object or headers object inside of request.

Please let me know if any of you have any solution to this.

Awais Bajwa
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NTLM + Jakarta File Upload
 
Similar Threads
Uploading a file Error...?!
Struts ActionForm getting cleared after submission
Struts ActionForm getting cleared after submission
upload file question
NTLM authentication (jCIFS) breaks file upload