Bookmark Topic Watch Topic
  • New Topic

Please help me out.  RSS feed

Posts: 21
  • Mark post as helpful
  • send pies
  • Report post to moderator

I am posting this question again because it hasnot be answered yet. Please help meout.

i am writing an application whcih allows Users to upload Fils onto the BEA Weblogic Server

My JSP is something like this

<form name="uploadForm" method="post" action="upload" enctype="multipart/form-data" onSubmit="return validate()">
<input type="submit" value="Update" name="Option">
<input type="submit" value="Upload" name="Option">
<input type="submit" value="Search" name="Option">
<input type="submit" value="Checkin" name="Option">
<input type="submit" value="Checkout" name="Option">
<input type="submit" value="Delete" name="Option"><br><br>
<input type="file" name="fileName"><br>
<input type="text" name="checkout"><br>
<input type="submit" value="CheckoutDirectory"><br>

And the Servlet that uploads file is :-

The problem i am facing here is that What do i use to transfer control from servlet to the JSP to allow more files for upload. If i use RequestDispatcher it fails when i try to checkout the File. If i use Response.sendRedirect("UserTask.jsp"); it fails with I am using BEA Weblogic Server. Please help me out.

[Edit by Dave - code tags added]
[ March 02, 2006: Message edited by: David O'Meara ]
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
It fails with a SocketException, but you haven't told us if there is any other information with the exception.

How large are the files you are uploading? If they are large, have you tested with smaller ones?
Author and ninkuma
Posts: 66424
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once. If you want more answers, you can clarify your question in the original post. If you feel you have posted in the wrong forum, ask a sheriff or bartender to move it for you. But please do not cross-post. It wastes everyone's time when multiple redundant conversations take place.
[ March 02, 2006: Message edited by: Bear Bibeault ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!