• Post Reply 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Unable to shown uploded file  RSS feed

Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm successfully uploded file into server & i want to show that uploded file in same JSP page(With using frameset).But problem is i'm unable to show
the uploded file in same jsp, means can't transfer the value to the second frameset in same JSP.Can anybody help me to give some code for this.
Please help me.... without your's help i'm not able forward my project
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To do this, you will need 2 HTML file and 2 JSPs:
  • One to contain the frameset (frameset.html)
  • One to contain the Upload button (upload.jsp)
  • One to display the result of the upload (results.jsp)
  • One mostly blank html page to use as a place holder for the results frame until you're ready to display data in it (blank.html)
  • Your frameset.html will look something like this:

    In the <html:form> tag of your upload.jsp, specify target="resultsFrame". Then when your action processes the upload file and forwards to the results.jsp, it will be displayed in the resultsFrame.
    Trust God, but always tether your camel... to this tiny ad.
    RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!