Tomcat 7 « Tomcat « JSF Q&A





1. Tomcat 7, JSF 2.0 and @PostConstruct    stackoverflow.com

I have no idea what I'm doing wrong, please help:

  1. Fresh Tomcat 7 with no extra jars in /lib folder
  2. Simple web-app with mojarra 2.0.3 libs in WEB-INF/lib (jsf-api.jar, jsf-impl.jar)
  3. Works fine except @PostConstruct ...

2. Having trouble using Ajax with JSF on a Tomcat 7.0 server    stackoverflow.com

I am a complete beginner when it comes to Ajax, and for some reason I cant get an easy example to work... The javascript:

var xmlhttp;
function reloadIssues() 
{
    if (window.XMLHttpRequest) ...

3. Tomcat7 open index.html from directory    stackoverflow.com

I have webapp in JSF2, something like mywebdomain.com/mywebsite/portal/index.xhtml Now I need to add an admin interface, I have created admin folder and this is working well mywebdomain.com/mywebsite/portal/admin/index.xhtml Users of this application will certainly not remember ...

4. How can I create a folder inside a server (Tomcat 7)?    stackoverflow.com

Im using java and jsf and I would like to create a folder within the server and then temporary save the files and delete it afterwards(not the folder itself). I've tried this ...

5. java.lang.ClassNotFoundException: javax.faces.application.ApplicationFactory    stackoverflow.com

I am writing a web application using JSF 2. I have downloaded mojarra-2.1.3-FCS-binary.zip and myfaces-core-assembly-2.1.3-bin.zip, and with each library, I'm getting the following exception:

java.lang.NoClassDefFoundError: javax/faces/application/ApplicationFactory
    at java.lang.ClassLoader.defineClass1(Native Method)
 ...

7. Issue after upgrading to Tomcat 7    coderanch.com