WL6.1 + IIS, request.getInputStream is not working. Please help.

I'm running IIS + WL 6.1 and in my servlet code, when I use request.getInputStream(),
it has nothing in the input stream
for e.x.
InputStream istream = request.getInputStream();
BufferedInputStream buf = new BufferedInputStream(istream);
byte[] b = new byte[1024];
while(buf.available()>0){
buf.read(b);
System.out.println("printing:"+b);
buf.available is not greater than zero.
But when I tried with just WL6.1, everything is fine.
I'm using forward path to forward my request.
Please help.
thanks
Vijay

Too much code to review in depth.
Couple of things that jumped out at me
1 - request.sendRedirect sent at the end. You should do any request forward/redirects as soon as possible in the jsp - before your response gets committed. It is illegal to forward/redirect after a response has been committed. That might explain the errors.
2 - As a suggestion, view source on the page, and save the file as html. Or use the functionality to "save a webpage" to your local computer. Try loading that HTML page in all the browsers. That should help you diagnose is it the HTML code, or is it the JSP side of things that is broken.
hope this helps,
evnafets

Similar Messages

Maybe you are looking for

  • Can I purchase a gift card?

    Can I buy a gift card with a credit card? With my walmart card I tried to buy a prepaid mastercard and it wouldnt let me. Is this always true or does it depend on the merchant/cc company?  

  • Is it possible to sort the catalog codes?

    Hi We use catalogs on notification for object, part, damage etc. The code is numeric. But for the user it can be difficult to find the correct code to use, as the list is not sorted. Is there a way to sort the list of catalog codes on the description

  • Bic Mapíng Designer - There is not SDA/SCA number for this projects

    Hi!! Some one help me please I don't can see the option Build / Assign SDA/SCA projects I modified the file bic_mapping_designer.ini with this line CmdLnArg4=ProjectAdmin, but i still can not see the option. Regards

  • How do I fix this SUID file error?

    After upgrading to Snow Leopard, I had a bunch of problems but seem to have solved most of them by upgrading my RAM to 4GB. But I keep getting this error when I verify permissions. I have no idea how it happened. Warning: SUID File "System/Library/Co

  • No req is getting generated with VB

    Dear  PP gurus, I have a finished Production FG01  for which SF01 and SF02  are the assemblies required . In SF01  there is  a raw material RM01 and in SF02  there is another raw material RM02. In the  MRP views of RM01 ,:  i have mentioned MRP type