gulelat / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
1 stars 0 forks source link

Java 6 Facelets IE8 MIME Error #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create plain web application in Netbeans 6.9.1
2. Select defaults, GlassFish 3, Java EE 6
3. Frameworks: JSF 1.2 + Facelets 1.1.14
4. Use IE 8 as default browser
5. Run project, "Hello from Facelets" should display in browser
6. Add gmaps4jsf-1.1.3-u3.jar to libraries
7. Run project, IE as to save file. Unknown file/MIME type

What version of the product are you using? On what operating system?
Windows XP Professional ver 2002 SP 3

Please provide any additional information below.

Original issue reported on code.google.com by kevin.ho...@gmail.com on 19 Aug 2010 at 4:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
It is not a GMaps4JSF issue at all. It is a NetBeans one.
The problem is that when NetBeans 6.9 creates a JSF 2.0 project it misses the 
faces-config.xml.
So to solve this issue then you should create (faces-config.xml) in the config 
folder as follows:
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
              version="2.0">
</faces-config>

Just create it empty and everything will work OK.

Kindly inform us if you want more help.

Enjoy using GMaps4JSF!

Original comment by Hazem.sa...@gmail.com on 21 Aug 2010 at 12:38