Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NTLM + Jakarta File Upload  RSS feed

Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!