Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help me out.

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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 ]
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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