Hi,
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 java.net.SocketException. 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 ]