Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Uploading file

 
trupti nigam
Ranch Hand
Posts: 627
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a servlet that creates a xml file and sends it using serveletOutputStream.
How can I display the contents of the file on the JSP?
Right now I have a single JSP that is not used to display the output to client.
The request comes in as plain text over HTTP and response is sent over HTTP Connection. there is no view for my application.

thanks.
trupti
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65535
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your post is full of contradictions. You named it "uploading file", but there is no talk of uploading (moving a file from the client to the server). Then you talk about JSP pages, but claim that there is no view. Which is it?

You'll need to be a lot clearer about what you are trying to accomplish before anyone will be able to help you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!