• 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 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

download dialog box opens

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I recently started learning JSF and everything seemed quite simeple until I tried running my first JSF webapp.. Whenever I try to run the login.xhtml on the server, instead of showing me the webpage, eclipse shows me a file download dialog box! Can someone please help me with my first app?
 
Ranch Hand
Posts: 92
Mac Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Man, this is odd!!!

Does the file to be downloaded belong to your project at least?

It's really strange, if you don't write code for generating a SaveAs dialog box, that should not open. Have you not written code for that in your login.xhtml?

You'd better share the code with everybody here so that we can properly try to help.


NOTE: I'm still in search of how to open a dialog box from the browser, prompting the user for download. It seems that your problem might be the solution I'm in need here.

Regards!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic