JSF 1.2 GraphicImage

I got a simple application (JSF) developed using JDeveloper.
The first page is used to register a new product, the info you provide is a title/name, description, category, quantity, and a picture.
When the page is submitted, the information is registered into a mysql db and the picture file is copied to a folder .
(I verified all the information the file location as well as the file path in the DB. EVERYTHING is correct.)
This is where the problem starts:
The submit process in the first page will do the processing discussed earlier, then the user is directed to a listing page. This page lists all products with their respective image.
9 out 10 tests, the page will not load the picture (only the picture, everything else is loaded correctly: title, description...) of the new item(s) unless if I redeploy the application. and 1 in 10 tests, the application will behave normal as supposed.
Any help will be greatly appreciated.
Note: I am using GraphicImage tag
Sincerely,

It seems like you are running weblogic server 10 with assertion enabled.
          The issue is a bug in JSF 1.2 reference implementation. Please refer to
          https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=452+
          for detail. The bug has been fixed. However, the JSF1.2 library bundled weblogc 10 does not catch the fix.
          As a workaround, you can disable assertion to ignore the error. Please update if the workaround works.
          Thanks,
          -Fred.

Similar Messages

  • BLOB download from table

    Hello everybody,
    I am newbie here and not very experienced with JSF. :)
    I have a mySQL database with different kind of data in it. My web application displays the results of a SELECT directly on the browser via a table; some of the fields contain BLOB (pdf) objects that are displayed as an alphanumeric string: my idea would be to have something like a link to download the blob instead!
    Is there a JSF solution to my problem?
    Thanks!

    This is what I did
    In my JSF page
    < h:graphicImage height="262" width="350" url="#{img.imgurl}"/>
    The call a servlet to display the BLOB image code below
    public class ImageBean {
         private String imgurl;     
         public ImageBean(String incidentid, String image_id){
         this.imgurl = "/faces/dispImage?fieldhh_inspectionid="+incidentid+"&pictures="+image_id;
         public void setImgurl( String imgurl){
              this.imgurl = imgurl;
         public String getImgurl(){
              return(imgurl);
    } // end class
    My Servlet Stuff
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import oracle.sql.BLOB;
    public class dispImage extends HttpServlet {
         ServletConfig svconfig = getServletConfig();
         Connection connection_mysql = null;
         protected void doPost(HttpServletRequest request,
                                                      HttpServletResponse response) throws ServletException, IOException {
    doGet(request,response);
    protected void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException {
    int t_number = 0;
    int image_number = 0;
    ServletOutputStream out = response.getOutputStream();
    t_number = Integer.parseInt(request.getParameter("fieldhh_inspectionid"));
    image_number = Integer.parseInt(request.getParameter("pictures"));
    response.setContentType("image/jpeg");
         byte[] bytes = null;
         Blob blob = null;
         ServletContext context = getServletContext();
         String mysql_driver =context.getInitParameter("jdbcDriver");
         String user = context.getInitParameter("username");
         String password = context.getInitParameter("password");
         String dbURL =context.getInitParameter("dbUrl")+"?user="+user+"&password="+password;
         try{
         Class.forName(mysql_driver);
         Statement stmt = null;
         ResultSet rset = null;
         connection_mysql = DriverManager.getConnection(dbURL);
         connection_mysql.setAutoCommit( false );
         stmt = connection_mysql.createStatement();
              String selString = "select image from images where incidentid = "+t_number+" and image_id ="+image_number;
              byte [] image;     
              rset = stmt.executeQuery(selString);
              while(rset.next()){
              blob = rset.getBlob(1);     
    bytes = blob.getBytes(1,(int)blob.length());
              out.write(bytes);
              out.flush();
              out.close();
         } // end try
         catch(Exception e){
         e.printStackTrace();
         e.getMessage();
    } // end of doGet
    public byte[] getBlob(int tfir_num, int image) {
    byte[] bytes = null;
         ServletContext context = getServletContext();
         Blob blob = null;
         try{
         Statement stmt = null;
         ResultSet rset = null;
         stmt = connection_mysql.createStatement();
         String selString = "select image from images where incidentid = "+tfir_num;
              rset = stmt.executeQuery(selString);
         while(rset.next()){
              blob = rset.getBlob(1);
    rset.close();
    bytes = blob.getBytes(1, (int)(blob.length() ));
              connection_mysql.close();
         } // end try
         catch(Exception e){
         e.printStackTrace();
         e.getMessage();
    //     System.out.println("DONE returning byte");
         return(bytes);
    }// end dispImage class

  • Using myfaces tomahawk inputFileUpload componet

    I am using myfaces tomahawk inputFileUpload componet for the following requirement
    1. I need to upload images to my user profile page.
    2. Resize the image to fit my desired image size to be shown on the page
    Promblems
    1. The file i upload is done fine and images also show but
    the image is stored or refrenced to the local machine , so if i delete or change file location the image dosent show.
    what i need is to store the images in a seperate folder on the server or any other place and image should point to that location.
    2. Now the image uploaded displayed using jsf's
    <h:graphicImage url="fileupload_showimg.faces"/>component where "fileupload_showimg.faces"
    is a jsp page containing the following code
    which is a scriplet
    <%@ page import="java.io.File,
                     java.io.InputStream,
                     java.io.FileInputStream,
                     java.io.OutputStream"%><%@ page session="false" %><%
        String contentType = (String)application.getAttribute("fileType");
        String fileName = (String)application.getAttribute("fileName");
        String allowCache = request.getParameter("allowCache");
        String openDirectly = request.getParameter("openDirectly");
        if(allowCache == null || allowCache.equalsIgnoreCase("false"))
            response.setHeader("pragma", "no-cache");
            response.setHeader("Cache-control", "no-cache, no-store, must-revalidate");
            response.setHeader("Expires", "01 Apr 1995 01:10:10 GMT");
        if(contentType!=null)
            response.setContentType(contentType);
        if(fileName != null)
            fileName = fileName.substring(fileName.lastIndexOf('\\')+1);
            fileName = fileName.substring(fileName.lastIndexOf('/')+1);
            StringBuffer contentDisposition = new StringBuffer();
            if(openDirectly==null || openDirectly.equalsIgnoreCase("false"))
                contentDisposition.append("attachment;");
            contentDisposition.append("filename=\"");
            contentDisposition.append(fileName);
            contentDisposition.append("\"");
            response.setHeader ("Content-Disposition", contentDisposition.toString());
        byte[] bytes = (byte[])application.getAttribute("fileSizeBytes");
        if (bytes != null)
             response.getOutputStream().write(bytes);
    %>works fine but the image shown in its original size most of the time very large.
    I tried to fix the image size by changing the code to
    <h:graphicImage url="fileupload_showimg.faces" width="300" height="500"/>But now the image is shown is deformed
    i need it to be fixed in size and not deformed

    me again I think the first part of the problem is been solved now
    the 2nd problem is still there hope i can fix that also

  • Is it possible to display PDF file as a h:graphicImage?

    I am using a servlet to convert my PDF file into bytearray stream and write the content to reponse as below
    String contentType = URLConnection.guessContentTypeFromName(pdfFileName);
    BufferedInputStream input = null;
    BufferedOutputStream output = null;
    try {
    input = new BufferedInputStream(new FileInputStream(imageFile));
    int contentLength = input.available();
    response.reset();
    response.setContentLength(contentLength);
    response.setContentType(contentType);
    response.setHeader(
    "Content-disposition", "inline; filename=\"" + pdfFileName + "\"");
    output = new BufferedOutputStream(response.getOutputStream());
    while (contentLength-- > 0) {
    output.write(input.read());
    output.flush();
    And in my JSF i am using
    <h:graphicImage value="/pdfRenderer" id="pdf" />
    But i am getting a unnown image shown in the rendered page.

    Hi,
    pon_jsf, have you succedded to display the pdf file with <h:graphicImage>
    Because i have also same requirement. i also want to display the pdf file with <h:graphicImage>
    Basically i want to print the pdf file with print dialog box but i dont know print dialog not displaying with mycode. so i have trying another way to display the pdf file
    I want to print the jsp page directely with calling javascript function window.print() on onload so that i will get print dialog.
    so i need that pdf file must display in my jsf page.
    with code
    <h:panelGrid>
    <h:graphicImage url="#{barcode.pdfFilePath}"/>
    </h:panelGrid>
    but when i am running it was not displaying the pdf content in my jsf page.
    Thanks
    Indira.

  • Using IFRAME in JSF to display a PDF file

    2 all,
    How do i display a PDF file inside a JSF page in a IFRAME tag?
    I store the PDF file location (like d:\images\pdf1.pdf) in my database. I cant give this location directly into the src attribute cos then the file will be rendered to only users who have access to that folder (the application is a internet application). IFRAME would be ideal as the display is very very neat (esp for pdf files).
    To get this working i tried the examples given in balusc blogs (on image servlet) but the problem is that my servlet is not getting called. Find below the web.xml and imageDisplay.jsp pages that i tried
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>WorkFlowTool</display-name>
    <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
    </context-param>
    <filter>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
      <init-param>
       <param-name>maxFileSize</param-name>
       <param-value>20m</param-value>
      </init-param>
    </filter>
    <filter>
      <display-name>SecurityCheckFilter</display-name>
      <filter-name>SecurityCheckFilter</filter-name>
      <filter-class>filters.SecurityCheckFilter</filter-class>
    </filter>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>SecurityCheckFilter</filter-name>
      <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <listener>
      <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
      <servlet-name>Image Servlet</servlet-name>
      <servlet-class>servlets.ImageServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>Image Servlet</servlet-name>
      <url-pattern>/imageServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <session-config>
      <session-timeout>60</session-timeout>
    </session-config>
    <welcome-file-list>
      <welcome-file>/jsp/index.jsp</welcome-file>
    </welcome-file-list>
    <error-page>
      <error-code>500</error-code>
      <location>/jsp/error.jsp</location>
    </error-page>
    <resource-ref>
      <res-ref-name>jdbc/JDDS</res-ref-name>
      <res-type>java.lang.Object</res-type>
      <res-auth>Container</res-auth>
      <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </web-app>
    imageDisplay.jsp
    <HTML>
    <HEAD>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
    <f:loadBundle basename="messages" var="msg" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <LINK rel="stylesheet" type="text/css" href="../theme/Styles.css"
         title="Style">
    </HEAD>
    <body topmargin="0" leftmargin="0">
    <f:view>
         <h:form id="CaseLookUp">
              <h:dataTable value="#{pc_ImageDisplay.dataModel}" var="var">
                   <h:column id="one">
                        <f:facet name="header">
                             <h:outputText value="H1" id="HOne"/>
                        </f:facet>
                        <h:outputText value="#{var.caseID}" id="IDONE"/>
                   </h:column>
                   <h:column id="two">
                        <f:facet name="header">
                             <h:outputText value="H2" id="HTwo"/>
                        </f:facet>
                        <h:graphicImage value="imageServlet?file=#{var.PODocPath}" id="image"/>
                   </h:column>
              </h:dataTable>
         </h:form>
    </f:view>
    </body>
    </HTML>The image servlet is what i got from balusc's site (http://balusc.blogspot.com/2007/04/imageservlet.html).
    I dont know why my servlet is not getting called. Can someone help me with this pls?
    okay let me post the modified code for my image servlet here
    public class ImageServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
         public void doGet(HttpServletRequest request, HttpServletResponse response) {
            // Define base path somehow. You can define it as init-param of the servlet.
    //        String imageFilePath = "/images";
            // In a Windows environment with the Applicationserver running on the
            // c: volume, the above path is exactly the same as "c:\images".
            // In UNIX, it is just straightforward "/images".
            // If you have stored images in the WebContent of a WAR, for example in the
            // "/WEB-INF/images" folder, then you can retrieve the absolute path by:
            // String imageFilePath = getServletContext().getRealPath("/WEB-INF/images");
            // Get file name from request.
            String imageFileName = request.getParameter("file");
            System.out.println("Inside the image servlet ---->>>> " + imageFileName);
            // Check if file name is supplied to the request.
    //        if (imageFileName != null) {
    //            // Strip "../" and "..\" (avoid directory sniffing by hackers!).
    //            imageFileName = imageFileName.replaceAll("\\.+(\\\\|/)", "");
    //        } else {
    //            // Do your thing if the file name is not supplied to the request.
    //            // Throw an exception, or show default/warning image, or just ignore it.
    //            return;
            // Prepare file object.
            File imageFile = new File(imageFileName);
            // Check if file actually exists in filesystem.
            if (!imageFile.exists()) {
                // Do your thing if the file appears to be non-existing.
                // Throw an exception, or show default/warning image, or just ignore it.
                return;
            // Get content type by filename.
            String contentType = URLConnection.guessContentTypeFromName(imageFileName);
            // Check if file is actually an image (avoid download of other files by hackers!).
            // For all content types, see: http://www.w3schools.com/media/media_mimeref.asp
            if (contentType == null || !contentType.startsWith("image")) {
                // Do your thing if the file appears not being a real image.
                // Throw an exception, or show default/warning image, or just ignore it.
                return;
            // Prepare streams.
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open image file.
                input = new BufferedInputStream(new FileInputStream(imageFile));
                int contentLength = input.available();
                // Init servlet response.
                response.reset();
                response.setContentLength(contentLength);
                response.setContentType(contentType);
                response.setHeader(
                    "Content-disposition", "inline; filename=\"" + imageFileName + "\"");
                output = new BufferedOutputStream(response.getOutputStream());
                // Write file contents to response.
                while (contentLength-- > 0) {
                    output.write(input.read());
                // Finalize task.
                output.flush();
            } catch (IOException e) {
                // Something went wrong?
                e.printStackTrace();
            } finally {
                // Gently close streams.
                if (input != null) {
                    try {
                        input.close();
                    } catch (IOException e) {
                        e.printStackTrace();
                        // This is a serious error. Do more than just printing a trace.
                if (output != null) {
                    try {
                        output.close();
                    } catch (IOException e) {
                        e.printStackTrace();
                        // This is a serious error. Do more than just printing a trace.
        }

    Thanks Balusc!!
    I have made use of your code to display PDF files in an IFRAME tag too!!! I just dint believe that this would be possible. Please just take a look at my JSP page.
    <h:form id="CaseLookUp">
         <%
         String path = request.getContextPath()+"";
         out.print(path);
         %>
    <iframe scrolling="auto" src="<%=path%>/imageServlet?file=D:\70-229 V5.pdf" width="80%" height="600" ></iframe>
         </h:form>

  • Problem in Tiles2 intrigation with jsf when we keep jsp in folder location

    I have download “myfaces-example-tiles-1.1.10” from official apache web site. As it is code and I hvae create new one application it is working fine with java 1.5 and tomcat 6 in my eclipse.
    This example keep jsp file page1.jsp in root folder when we move this file in any other folder it geives error.
    When I put the home.jsp file in any folder it is given the error below are details what I have done and what I want and wht is the error.
    Error message which I got:
    An Error Occurred:
    javax.faces.FacesException
    Caused by:
    java.io.IOException - Error including path '/template/template.jsp'. java.lang.NullPointerException: context
    +- Stack Trace
    javax.faces.FacesException
    at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandlerImpl.java:126)
    at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderView(JspTilesTwoViewHandlerImpl.java:110)
    at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:146)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:147)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:426)
    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
    at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderView(JspTilesTwoViewHandlerImpl.java:92)
    at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:146)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:147)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:349)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.tiles.TilesException: Error including path '/template/template.jsp'. java.lang.NullPointerException: context
    at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:427)
    at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
    at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandlerImpl.java:124)
    ... 31 more
    Caused by: java.io.IOException: Error including path '/template/template.jsp'. java.lang.NullPointerException: context
    at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:201)
    at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
    at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
    ... 33 more
    This is the project struture:::----
    /MCMS/WebContent
    /MCMS/WebContent/common
    /MCMS/WebContent/common/footer.jsp
    /MCMS/WebContent/common/header.jsp
    /MCMS/WebContent/common/menu.jsp
    /MCMS/WebContent/css
    /MCMS/WebContent/css/tiles.css
    /MCMS/WebContent/images
    /MCMS/WebContent/images/logo.jpg
    /MCMS/WebContent/jsp
    /MCMS/WebContent/jsp/home.jsp
    /MCMS/WebContent/META-INF
    /MCMS/WebContent/template
    /MCMS/WebContent/template/template.jsp
    /MCMS/WebContent/WEB-INF
    /MCMS/WebContent/WEB-INF/lib
    /MCMS/WebContent/WEB-INF/tlds
    /MCMS/WebContent/WEB-INF/faces-config.xml
    /MCMS/WebContent/WEB-INF/struts-tiles.tld
    /MCMS/WebContent/WEB-INF/tiles.xml
    /MCMS/WebContent/WEB-INF/tiles-config_1_1.dtd
    /MCMS/WebContent/WEB-INF/web.xml
    /MCMS/WebContent/index.jsp
    This is the jar file which I am using in my proect:
    batik-awt-util-1.6-1.jar
    batik-ext-1.6-1.jar
    batik-gui-util-1.6-1.jar
    batik-util-1.6-1.jar
    commons-beanutils-1.7.0.jar
    commons-codec-1.3.jar
    commons-collections-3.2.1.jar
    commons-digester-1.8.jar
    commons-el-1.0.jar
    commons-fileupload-1.2.1.jar
    commons-io-1.3.2.jar
    commons-lang-2.4.jar
    commons-logging-1.1.1.jar
    commons-logging-api-1.1.jar
    commons-validator-1.3.1.jar
    jstl-1.2.jar
    myfaces-api-1.1.8.jar
    myfaces-impl-1.1.8.jar
    oro-2.0.8.jar
    standard-1.1.2.jar
    tiles-api-2.0.5.jar
    tiles-core-2.0.5.jar
    tiles-jsp-2.0.5.jar
    tomahawk-1.1.10.jar
    xmlParserAPIs-2.0.2.jar
    Web.xml:------
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    <display-name>MCMS</display-name>
    <!-- Tiles ViewHandler config file -->      
    <context-param>      
    <description>Tiles configuration      
    definition files and a listener need to be defined.      
    the listener will initialize JspTilesViewHandlerImpl with tiles definitions.      
    </description>
    <param-name>tiles-definitions</param-name>      
    <param-value>/WEB-INF/tiles.xml</param-value>      
    </context-param>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
    <description>Set the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>Set the threshold size - files
    below this limit are stored in memory, files above
    this limit are stored on disk.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>SourceCodeServlet</servlet-name>
    <servlet-class>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/jsp/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>SourceCodeServlet</servlet-name>
    <url-pattern>*.source</url-pattern>
    </servlet-mapping>
    </web-app>
    faces-config.xml:---
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
    <application>
    <view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl</view-handler>
    </application>
         <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>nav_page1</from-outcome>
    <to-view-id>/jsp/home.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    tiles.xml:---
    <!DOCTYPE tiles-definitions
    <!ENTITY % Boolean "(true|false)">
    <!ENTITY % ContentType "(string|template|definition|object)">
    <!ENTITY % ClassName "CDATA">
    <!ENTITY % RequestPath "CDATA">
    <!ENTITY % DefinitionName "CDATA">
    <!ENTITY % BeanName "CDATA">
    <!ENTITY % PropName "CDATA">
    <!ENTITY % Location "#PCDATA">
    <!ELEMENT tiles-definitions (definition+)>
    <!ELEMENT definition (icon?, display-name?, description?, put-attribute*, put-list-attribute*)>
    <!ATTLIST definition id ID #IMPLIED>
    <!ATTLIST definition preparer CDATA #IMPLIED>
    <!ATTLIST definition extends CDATA #IMPLIED>
    <!ATTLIST definition name CDATA #REQUIRED>
    <!ATTLIST definition role CDATA #IMPLIED>
    <!ATTLIST definition template CDATA #IMPLIED>
    <!ELEMENT put-attribute (#PCDATA)>
    <!ATTLIST put-attribute id ID #IMPLIED>
    <!ATTLIST put-attribute name CDATA #REQUIRED>
    <!ATTLIST put-attribute type (string|template|definition|object) #IMPLIED>
    <!ATTLIST put-attribute value CDATA #IMPLIED>
    <!ATTLIST put-attribute role CDATA #IMPLIED>
    <!ELEMENT put-list-attribute ( (add-attribute* | item* | bean* | add-list-attribute*)+) >
    <!ATTLIST put-list-attribute id ID #IMPLIED>
    <!ATTLIST put-list-attribute name CDATA #REQUIRED>
    <!ATTLIST put-list-attribute role CDATA #IMPLIED>
    <!ELEMENT add-attribute (#PCDATA)>
    <!ATTLIST add-attribute id ID #IMPLIED>
    <!ATTLIST add-attribute type (string|template|definition|object) #IMPLIED>
    <!ATTLIST add-attribute value CDATA #IMPLIED>
    <!ATTLIST add-attribute role CDATA #IMPLIED>
    <!ELEMENT add-list-attribute ( (add-attribute* | item* | bean* | add-list-attribute*)+) >
    <!ATTLIST add-list-attribute id ID #IMPLIED>
    <!ATTLIST add-list-attribute role CDATA #IMPLIED>
    <!ELEMENT bean (set-property*)>
    <!ATTLIST bean id ID #IMPLIED>
    <!ATTLIST bean classtype CDATA #REQUIRED>
    <!ELEMENT set-property EMPTY>
    <!ATTLIST set-property id ID #IMPLIED>
    <!ATTLIST set-property property CDATA #REQUIRED>
    <!ATTLIST set-property value CDATA #REQUIRED>
    <!ELEMENT item (#PCDATA)>
    <!ATTLIST item id ID #IMPLIED>
    <!ATTLIST item classtype CDATA #IMPLIED>
    <!ATTLIST item icon CDATA #IMPLIED>
    <!ATTLIST item link CDATA #REQUIRED>
    <!ATTLIST item tooltip CDATA #IMPLIED>
    <!ATTLIST item value CDATA #REQUIRED>
    <!ELEMENT description (#PCDATA)>
    <!ATTLIST description id ID #IMPLIED>
    <!ELEMENT display-name (#PCDATA)>
    <!ATTLIST display-name id ID #IMPLIED>
    <!ELEMENT icon (small-icon?, large-icon?)>
    <!ATTLIST icon id ID #IMPLIED>
    <!ELEMENT large-icon (#PCDATA)>
    <!ATTLIST large-icon id ID #IMPLIED>
    <!ELEMENT small-icon (#PCDATA)>
    <!ATTLIST small-icon id ID #IMPLIED>
    ]>
    <tiles-definitions>
    <definition name="layout.example" template="/template/template.jsp" >
    <put-attribute name="header" value="/common/header.jsp" />
    <put-attribute name="menu" value="/common/menu.jsp" />
    </definition>
    <definition name="/home.tiles" extends="layout.example" >
    <put-attribute name="body" value="/jsp/home.jsp" />
    </definition>
    </tiles-definitions>
    template.jsp:--
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"
    %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <head>
    <meta http-equiv="Content-Type" content="text/html;CHARSET=iso-8859-1" />
    <title>Myfaces - Tiles</title>
    <link rel="stylesheet" type="text/css" href="css/tiles.css" />
    </head>
    <f:view>
    <body>
    <div id="lftBar">
    <f:subview id="menu">
    <tiles:insertAttribute name="menu" flush="false" />
    </f:subview>
    </div>
    <div id="level0">
    <div id="level1">
    <div id="topBar">
    <f:subview id="header">
    <tiles:insertAttribute name="header" flush="false"/>
    </f:subview>
    </div>
    <div id="level2">
    <f:subview id="content">
    <tiles:insertAttribute name="body" flush="false"/>
    </f:subview>
    </div>
    </div>
    </div>
    </body>
    </f:view>
    header.jsp:---
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"
    %><h:graphicImage id="logo" url="/images/logo.jpg" />
    menu.jsp:--
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <h:form>
    <h:panelGrid columns="1" >
    <h:commandLink action="nav_page1">
    <h:outputText value="Page1" />
    </h:commandLink>
    </h:panelGrid>
    </h:form>
    ----------------------------------------

    Despite the fact that in preferences it says the folder is located in "C:\itunes
    Setting iTunes prefs -> Advanced simply sets the locaion of the iTunes Music/Media folder. It does not set the location of the iTunes folder, which the default location is \My Music\iTunes\. This contains the library files, which tells iTunes where/what everything is.
    We have drive space for 'personal' use on the C Drive. This is where I keep my itunes folder,
    Is this the \iTunes\ folder an in it is the iTunes library.itl file, iTunes music library.xml, iTunes media folder, Artwork folder, Previous iTunes libraries folder and a few other files?
    If so, hold Shift and launch iTunes. Select *Choose library* and select the *iTunes library.itl* file in this folder.
    iTunes will not create an iTunes folder in \My Music\.

  • How to get the id of my session in jsf page

    hi
    i saved the adress of an image in my session
    i would like to get this adress in my jsf; the problem is that the key used to save my image is dynamic:it is the id of my session
    my java code look like this:
    HttpSession s=SessionUtil.getSession();
    String adressePagesWeb=s.getServletContext().getRealPath("/")+"pages/";
    s.setAttribute(s.getId(), adressePagesWeb+s.getId()+"piechart.png");and my jsf look like:
    <h:graphicImage value="#{<%=request.getSession().getId()%>}" id="log"/>but this doesn't work
    please help me

    No, it doesn't work as you sayed ! every user has it's own session so you can give the same name for an attribute and it will be stored in the user session:
    HttpSession s=SessionUtil.getSession();
    String adressePagesWeb=s.getServletContext().getRealPath("/")+"pages/";
    s.setAttribute("A_CHOOSEN_NAME", adressePagesWeb+s.getId()+"piechart.png");and for the picture you must keep the session id as a part of it's name !

  • Display images in rows & columns using dataTable in JSF 2.0, netbeans 6.9.1

    Hi,
    I have to display only images on a web page in JSF2.0 in Netbeans. I am using datatable and column to do so. But there is one problem.
    All images are display only in single column(i.e. vertically). I want to display in rows and columns not only column.
    e.g. One row will have atleast 3 images and more rows like this.
    Which attribute should i use of datatable? or should i use some other tag?
    My code is:
    <h:dataTable var="images"
    value="#{jsfMBean.allImages}"
    rules="none"
    cellpadding="20"
    border="0" >
    <h:column>
    <h:graphicImage value="faces/WEB-INF/upload/#{images.picid}" width="300px" height="100px" />
    </h:column>
    </h:dataTable>
    Thanks.
    NetBeans 6.9.1
    JSF 2.0 with facelets
    glassfish 3.0
    Enterprise java beans
    PrimeFaces 3.0

    I believe you are looking for the panelgrid, not the datatable.
    Note that there are a few useful websites online that list the available JSF tags plus their properties, such as these:
    http://www.horstmann.com/corejsf/jsf-tags.html
    http://www.exadel.com/web/portal/jsftags-guide

  • Form included in JSF Fragments doesn't work

    Hi there i have a simple form placed in JSF page fragment, the fragment is included in several pages. It renders , but the button action doesn't do what it is supposed to do.
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
        Document   : AddAdvertForm
        Created on : 09-May-2008, 12:14:50
        Author     : Mirza Asif
    -->
    <div style="height: 400px; width: 400px; -rave-layout: grid" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <f:subview id="AddAdvertForm">
            <h:selectOneMenu id="dropdown1" style="left: 100px; top: 40px; position: absolute; width: 125px" value="#{AddAdvertForm.cat}">
                <f:selectItems id="dropdown1SelectItems" value="#{AddAdvertForm.dd1data}"/>
            </h:selectOneMenu>
            <h:selectOneMenu id="dropdown2" style="left: 100px; top: 70px; position: absolute; width: 125px" value="#{AddAdvertForm.type}">
                <f:selectItems id="dropdown2SelectItems" value="#{AddAdvertForm.dd2data}"/>
            </h:selectOneMenu>
            <webuijsf:staticText id="staticText1" style="font-weight: bold; left: 10px; top: 10px; position: absolute" text="Step 1. Choose Advert.   "/>
            <webuijsf:staticText id="staticText2" style="left: 70px; top: 100px; position: absolute" text="Title:"/>
            <webuijsf:staticText id="staticText3" style="left: 35px; top: 130px; position: absolute" text="Description:"/>
            <webuijsf:staticText id="staticText4" style="left: 12px; top: 40px; position: absolute" text="Select Category:"/>
            <webuijsf:staticText id="staticText5" style="font-weight: bold; left: 10px; top: 220px; position: absolute" text="Step 2. Please give your personal details."/>
            <webuijsf:staticText id="staticText6" style="left: 63px; top: 250px; position: absolute" text="Name:"/>
            <webuijsf:staticText id="staticText7" style="left: 53px; top: 310px; position: absolute" text="* E-mail:"/>
            <webuijsf:staticText id="staticText8" style="left: 43px; top: 340px; position: absolute" text="Phone No:"/>
            <webuijsf:staticText id="staticText9" style="left: 65px; top: 70px; position: absolute" text="Type:"/>
            <webuijsf:staticText id="staticText10" style="left: 50px; top: 280px; position: absolute" text="Location:"/>
            <webuijsf:staticText id="staticText11" style="left: 230px; top: 310px; position: absolute" text="#{AddAdvertForm.emailMsg}"/>
            <webuijsf:textField id="textField1" style="left: 100px; top: 100px; position: absolute" text="#{AddAdvertForm.title}"/>
            <webuijsf:textField id="textField2" style="left: 100px; top: 250px; position: absolute" text="#{AddAdvertForm.name}"/>
            <webuijsf:textField id="textField3" style="left: 100px; top: 310px; position: absolute" text="#{AddAdvertForm.email}"/>
            <webuijsf:textField id="textField4" style="left: 100px; top: 340px; position: absolute" text="#{AddAdvertForm.phoneNo}"/>
            <webuijsf:textField id="textField5" style="position: absolute; left: 100px; top: 280px" text="#{AddAdvertForm.location}"/>
            <webuijsf:textArea columns="35" id="textArea1" rows="5" style="left: 100px; top: 130px; position: absolute" text="#{AddAdvertForm.description}"/>
            <webuijsf:button actionExpression="#{AddAdvertForm.button2_action}" id="button1" style="height: 20px; left: 99px; top: 370px; position: absolute; width: 128px" text="Add"/>
        </f:subview>
    </div>The Fragment is included in the following page:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
        Document   : AddAdvert
        Created on : 13.5.2008, 13:09:
        Author     : Ilija
    -->
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                        <webuijsf:link id="link2" url="/resources/global.css"/>
                        <webuijsf:script id="script1" url="/resources/Scripts/global.js"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid; text-align: center; background: url(./resources/images/back_ptr.png) repeat-x">
                        <webuijsf:form id="form1">
                            <div align="center">
                                <jsp:directive.include file="Header.jspf"/>
                            </div>
                            <div align="center" style="padding-top:3px; padding-bottom:3px">
                                <jsp:directive.include file="MainMenu.jspf"/>
                            </div>
                            <div align="center">
                                <h:panelGrid border="0" cellpadding="0" cellspacing="0" columnClasses="Column1,Column2,Column3,Column4" columns="4" id="gridPanel1"
                                    rules="cols" style="height: 96px; left: 0px; position: relative" width="955">
                                    <webuijsf:panelGroup>
                                        <webuijsf:panelGroup rendered="#{Permissions.admin}">
                                            <div style="padding-top:5px; padding-bottom:5px">
                                                <jsp:directive.include file="AdminTool.jspf"/>
                                            </div>
                                        </webuijsf:panelGroup>
                                        <div style="height: 22px">
                                            <h:graphicImage url="./resources/images/cat_header.png"/>
                                        </div>
                                        <h:outputText escape="false" value="#{MenuGenerator.menuHtml}"/>
                                        <h:graphicImage url="./resources/images/cat_footer.png"/>
                                        <h:outputText escape="false" value="#{BannerUnit.rightHTML}"/>
                                    </webuijsf:panelGroup>
                                    <webuijsf:panelGroup>
                                                <div style="position: relative; border-bottom:solid thin green">
                                                    <jsp:directive.include file="AddAdvertForm.jspf"/>
                                                </div>
                                    </webuijsf:panelGroup>
                                    <webuijsf:panelGroup>
                                        <div style="width: 185px; top: 5px; position: relative; float: left">
                                            <h:outputText escape="false" value="#{ArticleUnit.articleHTML}"/>
                                        </div>
                                    </webuijsf:panelGroup>
                                    <webuijsf:panelGroup>
                                        <div style="padding-top:5px; padding-bottom:px">
                                            <jsp:directive.include file="LoginTool.jspf"/>
                                        </div>
                                        <h:outputText escape="false" value="#{BannerUnit.rightHTML}"/>
                                    </webuijsf:panelGroup>
                                    <f:facet name="footer">
                                        <h:panelGroup style="display:block; text-align:center">
                                            <jsp:directive.include file="Footer.jspf"/>
                                        </h:panelGroup>
                                    </f:facet>
                                </h:panelGrid>
                            </div>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>I can press the button of the form, the page reloads, but nothings happen in the Database. Method ok() is responsible to add some stuff in the DB (i tested this method and work separately).
    public String button2_action() {
            AdvertQueries a = new AdvertQueries();
            a.ok();
        return null;
      }Please HELP !!! I am struggling with his for 3 days.

    You might try asking this question on the [JavaServer Faces forum|http://forums.sun.com/forum.jspa?forumID=427].

  • JSF scroller component Frustration why isn't component rendering in jspx.

    Based originally on Sun Microsystem's OWN "Components Demo" this tag library is for the custom
    components used in the Virtual Sports Trainer Example Demo. Found inside the book "The Complete Reference JavaServer Faces". Which coincidentally was written by Sun's own Chris Schalk and Ed Burns. I"m having problems getting this component to work (render inside a jspx document). Any insight as to why or how to fix this would be greatly appreciated. And I just want to gain any insight or feedback as to why it's not displaying the t:scroller component. Thats all. I'm displaying the jspx document below a SINGLE jspx document. As I know anything more than 200 lines scares everybody. The cusomtom scroll component/pagination is at the bottom t:scroll. I can only display snippets of the jspx for brevity and the character limit.
    <?xml version="1.0" encoding="UTF-8" ?>
    <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:t="http://virtualsportstrainer.com/trainercomponents"
         xmlns:ui="http://java.sun.com/jsf/facelets">
         <jsp:directive.page contentType="text/html;charset=UTF-8"
              pageEncoding="UTF-8" />
         <jsp:text>
              <![CDATA[ <?xml version="1.0" encoding="UTF-8" ?> ]]>
         </jsp:text>
         <jsp:text>
              <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
         </jsp:text>
                             <!-- Custom Scroller Component -->
                             <t:scroller navFacetOrientation="NORTH" for="eventsTable"
                                  actionListener="#{Main_Backing.processScrollEvent}">                    
                             <f:facet name="next">
                             <h:panelGroup>
    <h:outputText value="Next"/>
    <h:graphicImage url="/images/arrow-right.gif" />
    </h:panelGroup>
    </f:facet>
                             <f:facet name="previous">
                                  <h:panelGroup>
                                       <h:graphicImage url="/images/arrow-left.gif" />
                                       <h:outputText value="Previous" />
                                  </h:panelGroup>
                             </f:facet>
                             </t:scroller>
                        </h:form>
                   </body>
              </html>
         </f:view>
    </jsp:root>

    It's being added like this:
    PopUpManager.addPopUp(this.whyYouShouldJoinPopup,this,true);
    PopUpManager.centerPopUp(this.whyYouShouldJoinPopup);
    It's being called inside a Component, not inside the main MXML file. So this is not a reference to the application class, but a component.  Is that a problem?

  • JSF 1.2 - commandbutton does not do anything

    Hello,
    My Problem is, that i want to call the methods addBohr1 and addBohr2 of the artikel bean, but neither of the 2 commandbutton calls the method.
    As well eclipse even offers me to autocomplete the methods in the action field.
    By the way the commandbutton to login (account.login) works...
    Any ideas?
    JSF-Site:
    <f:view>
        <h:form style="margin: 80 px;">
            <h:panelGrid columns="3" border="1"
                style="width: 1000px; border-left-color: Blue; border-top-color: Blue; border-right-color: Blue; border-bottom-color: Blue; border-bottom-width: thin; border-right-width: thin; border-left-width: thin; border-top-width: thin">
                <h:graphicImage id="header_logo" url="images/werkzeug.jpg"
                    style="height: 164px; width: 178px" />
                    <h1 align="center">Startseite</h1>
                <h:panelGroup>
                    <h:panelGrid columns="2" styleClass="borderTable"
                        headerClass="panelHeading" style="width: 156px; height: 149px">
                        <f:facet name="header">
                            <h:outputText value="Anmeldung zum WebShop"
                                style="background-color: #0000A0; color: White" />
                        </f:facet>
                        <h:outputLabel for="Kundennummer" value="Loginname:" />
                        <h:inputText id="Kundennummer" value="#{account.name}"
                            required="true" style="width: 126px" />
                        <h:outputLabel for="Passwort" value="Passwort:" />
                        <h:inputSecret id="Passwort" value="#{account.pass}"
                            required="true" style="width: 125px" />
                        <h:commandButton action="#{account.login}" value="Anmelden"
                            style="color: #FFFFFF; background-color: #0000A0" />
                        <h:outputText value="#{account.eingeloggt}"></h:outputText>
                    </h:panelGrid>
                    <f:verbatim>
                        <a href="persoenlicheDaten.jsf">Registrieren?</a>
                    </f:verbatim>
                </h:panelGroup>
                <h:panelGroup>
              <h:panelGrid columns="2">
                   <h:graphicImage id="side_bar" url="images/bg_blue.png"
                             style="height: 400px; width: 18px" />
                             <h:panelGrid border="0" columns="1" style="width: 68px; height: 200px; color: #FFFFFF; background-color: White;">
                                  <a href="startseite.jsf">Seite1</a>
                                  <a href="startm.jsf">Seite2</a>
                        </h:panelGrid>
              </h:panelGrid>
         </h:panelGroup>
                <h:panelGroup>
                        <h2 align="center" style="height: 43px; width: 666px">Ansicht</h2>
                        <h:panelGrid columns="2" style="width: 703px; height: 386px">
                            <h:panelGrid>
                            <h:outputLabel for="bohr1" value="Test"></h:outputLabel>
                            <h:graphicImage id="bohr1" url="images/Saege/test.jpg"
                                style="width : 199px; height : 140px;" />
                            <h:commandButton action="#{artikel.addBohr1}" value="TEST" style="color: White; background-color: #0000A0"></h:commandButton>
                            </h:panelGrid>
                            <h:panelGrid>
                            <h:outputLabel for="bohr2" value="Test"></h:outputLabel>
                            <h:graphicImage id="bohr2" url="images/Saege/test.jpg"
                                style="height: 140px; width : 199px;" />
                            <h:commandButton action="#{artikel.addBohr2}" value="TEST" style="color: White; background-color: #0000A0"></h:commandButton>
                            </h:panelGrid>
                        </h:panelGrid>
                </h:panelGroup>
                <h:panelGroup>
                    <h:outputText value="Warenkorb" style="color: White; background-color: #0000A0">
                           </h:outputText>
                    <h:panelGrid columns="1" style="width: 180px">
                    <h:outputText value="#{artikel.result}"></h:outputText>
                        <a href="checkout.jsf">Weiter zum Checkout</a>
                    </h:panelGrid>
                </h:panelGroup>
            </h:panelGrid>
        </h:form>
    </f:view>Method of the Bean:
        public String addBohr1() {
            System.out.println("TEST");
            return "access";
        }Faces-Config:
         <managed-bean>
              <managed-bean-name>artikel</managed-bean-name>
              <managed-bean-class>handler.ArtikelHandler</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>Console:
    05.05.2010 20:33:02 org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ...
    05.05.2010 20:33:02 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    05.05.2010 20:33:02 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 432 ms
    05.05.2010 20:33:02 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    05.05.2010 20:33:02 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
    log4j:WARN No appenders could be found for logger (org.apache.myfaces.webapp.StartupServletContextListener).
    log4j:WARN Please initialize the log4j system properly.
    05.05.2010 20:33:03 org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
    05.05.2010 20:33:03 org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
    05.05.2010 20:33:04 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    05.05.2010 20:33:04 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    05.05.2010 20:33:04 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31  config=null
    05.05.2010 20:33:04 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2285 ms
    05.05.2010 20:33:07 org.apache.catalina.core.ApplicationContext log
    INFO: No state saving method defined, assuming default server state savingSorry for my bad English, but I'm not a native speaker ;)

    Do you have a navigation rule in your faces-config.xml?
    Somehow the applicationserver needs to determine which page to display now....a navigation-rule in faces-config.xml will telle this to applicationserver.

  • Beginner's JSF problems

    Hi - I'm a beginner at using JSF. I've worked with Java and Struts, and I'm comfortable with Netbeans. I'm working through some example code from one of the JSF books and I'm having the following problems:
    1) The following code simply doesn't work...
    <h:commandLink action="logout">
    <h:graphicImage url="images/logout.gif"
    styleClass="header-icon"
    alt="Logout" />
    <h:outputText value="Logout" styleClass="header-command" />
    </h:commandLink>
    This code should load the 'logout' JSP page. The navigation is set correctly.
    I replaced this code with the following line, and it does exactly what I want - load the JSP page:
    <h:commandButton title="Logout" value="Logout" action="logout"/>
    What have I done wrong with the command link? The page prints the link, and it looks like it can be selected (when the mouse moves over it) but it won't go to the logout page...
    2) I added a button, which I want to gray out based on a value in the 'User' javabean. This works (arbitrarily):
    <h:commandButton title="Admin" value="Admin"
    action="admin" disabled="false" />
    But this doesn't:
    <h:commandButton id="cmd_Admin" title="Admin" value="Admin" acti
    on="admin" disabled="#{user.admin}" />
    The 'user' variable maps to a bean class named 'User'. The routine
    "public boolean user.isAdmin() " gets called, and logs a message that it is about to return a value of 'false'. But the button is not grayed out, and in fact the generated HTML code does not have a 'disabled' entry. I'm obviously not getting the right information back from the bean - or I'm calling the wrong routine entirely... What should I be doing in this case?
    Thanks in advance.
    nbc

    Your command button should have an "action" parameter
    that points to a method in the backing bean. No .. This is not the problem .. The action="#{myBean.action}" where action() returns a String will just be expressed to action="returnedString" and then the navigationhandler will pick up the String value to handle navigation.
    And now the real problem with commandLink: such a construction just works here. Probably you've made a typo somewhere else? Which JSF version are you using? Ive tested it at 1.1_02 and 1.2_02. The basic example i've used looks like:
    test.jsp<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <f:view>
        <html>
        <head>
        </head>
        <body>
        <h:form>
            <h:commandLink action="logout">
                <h:graphicImage url="logout.gif" />
                <h:outputText value="logout" />
            </h:commandLink>
        </h:form>
        </body>
        </html>
    </f:view>logout.jsp<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <f:view>
        <html>
        <head>
        </head>
        <body>
            <h:outputText value="You're logged out." />
        </body>
        </html>
    </f:view>faces-config.xml navigation:<navigation-rule>
        <navigation-case>
            <from-outcome>logout</from-outcome>
            <to-view-id>logout.jsf</to-view-id>
        </navigation-case>
    </navigation-rule>And now the problem with EL in the disabled attribute: this also just works here.
    JSF<h:form>
        <h:commandButton value="action" action="#{myBean.action}" disabled="#{myBean.disabled}" />
    </h:form>MyBeanpublic void action() {
        System.out.println("action");
    public boolean isDisabled() {
        return true;
    // this also works
    public Boolean getDisabled() {
        // null or Boolean.FALSE will be handled as false and Boolean.TRUE will be handled as true
    }Probably you're doing something wrong again?

  • Jsf compnent rendering

    I have the below code that displays the image before my table tags. Why does this render this way?
    table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                                <td width="20%"> <h:graphicImage value="images/generic/myriteaid_logo.png" alt="MyRiteAid.com" width="140" height="70"></h:graphicImage></td>
                           </tr>
    </table>the html that it displays is this:
    <img src="images/generic/myriteaid_logo.png" alt="MyRiteAid.com" height="70" width="140" /><script type="text/JavaScript" language="JavaScript">
    </script>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                   <tr>
                        <td width="20%"> </td>
    </tr>
    </table>
    That is not correct. Am I doing something wrong?

    This code that I posted is being included in another file like this:
    <f:subview id="header">
    <jsp:include page="heade2r.jsp">
    </f:subview>
    I put the <f:verbatim> tags around my entire header.jsp file, but it still rendered the same way. Here is my header.jsp code:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:c="http://java.sun.com/jstl/core"
         xmlns:fmt="http://java.sun.com/jstl/fmt"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:hx="http://www.ibm.com/jsf/html_extended" version="1.2">
         <!-- jsf:codeBehind language="java" location="/JavaSource/com/xxx/xxx/web/Header2.java" --><!-- /jsf:codeBehind -->
         <f:subview id="headerTopRow">
         <hx:scriptCollector>
         <f:verbatim>
              <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                                <td width="20%"> <h:graphicImage value="images/generic/myriteaid_logo.png" alt="MyRiteAid.com" width="140" height="70"></h:graphicImage></td>
                           <td width="80%" align="right" valign="top">
                                 <table width="261" border="0" cellpadding="0" cellspacing="0">
                                      <tr>
                                         <td><a href="http://www.riteaid.com"><img src="images/generic/tm_riteaid.jpg" alt="" name="tm_riteaid" width="73" height="34" border="0" id="tm_riteaid" /></a></td>
                                          <td><a href="http://www.riteaid.com/stores/locator/"> <img src="images/generic/tm_locator.jpg" alt="" name="tm_locator" width="92" height="34" border="0" id="tm_locator" /></a></td>
                                          <td><c:url var="jsessionid" value="privacy.jsf"></c:url><a href="${jsessionid}"><img src="images/generic/tm_privacy.jpg" alt="" name="tm_privacy" width="58" height="34" border="0" id="tm_privacy" /></a></td>
                                          <td><c:url var="jsessionid" value="customer_help.jsf"></c:url><a href="${jsessionid}"><img src="images/generic/tm_help.jpg" alt="" name="tm_help" width="38" height="34" border="0" id="tm_help" /></a></td>
                                         </tr>
                                    </table>
                              </td>
                         </tr>
                       </table>
            </f:verbatim>
            </hx:scriptCollector>
         </f:subview>
    </jsp:root>

  • JSF dataTables - Problem during retrieving data from bean

    Hi, Below is the Stack Trace got on displaying data using JSF datatables.
         This error occurs somtimes and is not very frequent.We are using jboss seam, jboss-4.0.5.GA server and Hibernate.
         Anyone knows about this problem and how it can be resolved?
         Thanks in advance
         javax.faces.el.EvaluationException: Cannot get value for expression '#{loc.companyName}'
              at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)
              at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075)
              at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:508)
              at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433)
              at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:216)
              at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:98)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
              at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:495)
              at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:363)
              at org.apache.myfaces.shared_impl.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:54)
              at org.apache.jsp.menu_jsp._jspx_meth_h_panelGrid_0(menu_jsp.java:225)
              at org.apache.jsp.menu_jsp._jspx_meth_f_subview_0(menu_jsp.java:118)
              at org.apache.jsp.menu_jsp._jspService(menu_jsp.java:87)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
              at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
              at org.apache.jsp.finish_005fregistration_jsp._jspx_meth_h_form_0(finish_005fregistration_jsp.java:263)
              at org.apache.jsp.finish_005fregistration_jsp._jspx_meth_f_view_0(finish_005fregistration_jsp.java:139)
              at org.apache.jsp.finish_005fregistration_jsp._jspService(finish_005fregistration_jsp.java:93)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
              at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
              at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
              at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
              at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at com.kmedia.filter.RequestFilter.doFilter(RequestFilter.java:184)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
              at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
              at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
              at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
              at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
              at java.lang.Thread.run(Thread.java:595)
         Caused by: java.lang.NullPointerException
              at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
              at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
              at org.jboss.seam.jsf.SeamApplication11.getPropertyResolver(SeamApplication11.java:197)
              at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
              at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
              at org.apache.commons.el.BinaryOperatorExpression.evaluate(BinaryOperatorExpression.java:154)
              at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
              ... 70 more
         10:23:55 Servlet.service() for servlet jsp threw exception
         Also check the JSF page, Backing bean, and VO
         JSF page
         <h:dataTable value="#{finishedRegistrationBean.list}" var = "loc" >
                        <h:column>
         <f:facet name="header">
                        <h:outputText value="#{displaymessages.registrationDate}" />
                        </f:facet>
                        <span class="bodylighttext"> <h:outputText value="#{loc.registrDate}" /> </span>
                                                                                                   </h:column>
                        <h:column>
                        <f:facet name="header">
                        <h:outputText value="#{displaymessages.companyName}" />
                        </f:facet>
                        <span class="bodylighttext"> <h:outputText
                        value="#{loc.companyName}" /> </span>
                        </h:column>
                        <h:column>
                        <f:facet name="header">
                             <h:outputText value="#{displaymessages.Address}" />
                             </f:facet>
                        <span class="bodylighttext"> <h:outputText
                        value="#{loc.address}" /> </span>
                        </h:column>
                        <h:column>
                        <f:facet name="header">
                        <h:outputText value="#{displaymessages.Action}" />
                        </f:facet>
                        <h:commandLink target="_blank"
                        action="#{finishedRegistrationBean.viewFinishedRegistrationPage(loc)}">
                        <h:graphicImage value="images/view_icon.gif"
                        alt="#{displaymessages.info_tooltip_view}"
                        width="17" height="17" style="border:0" />
                        </h:commandLink>
                        </h:column>
    </h:dataTable>
    Backing bean
                        @Name("finishedRegistrationBean")
                        public class FinishedRegistrationBean {
                             @In
                             private User user;
                             @In
                             private FacesMessages facesMessages;
                             private List<FinishedRegistrationVO> list;
                             public FinishedRegistrationBean() throws KMException {
                                  filterFinishedRegistration();
                             public void filterFinishedRegistration() throws KMException
                             list = new ArrayList<FinishedRegistrationVO>();
                             finished_list = userDAO.searchFinishedRegistrationDetails(country_code,uniqueID, companyName, user.getUserName());
                             public void setList(List<FinishedRegistrationVO> list) {
                                  this.list = list;
                             public List<FinishedRegistrationVO> getList() {
                             return list;
    FinishedRegistrationVO
         public class FinishedRegistrationVO {
              private String uniqId;
              private String companyName;
              private Date registrDate;
              private String address;
              public String getCompanyName() {
                   return companyName;
              public void setCompanyName(String companyName) {
                   this.companyName = companyName;
              public String getAddress() {
                   return address;
              public void setAddress(String address) {
                   this.address = address;
              public String getUniqId() {
                   return uniqId;
              public void setUniqId(String uniqId) {
                   this.uniqId = uniqId;
              public Date getRegistrDate() {
                   return registrDate;
              public void setRegistrDate(Date registrDate) {
                   this.registrDate = registrDate;
         }

    Could you please post your
    -HBM
    -faces-config.xml

  • Broken Image is Shown in IE OF JSF - Sun App9 Deployment.

    Hi Friends,
    I have developed Application in Net Beans for JSF(Its a simple App.). When I deploy it onto Sun Application Server, It shows Broken Image. For Image Display I have Done Following.....
    Please Help.
    Thanks.
    IDE : NetBeans 5.5
    AppServer : Sun Application Server 9
    Browser : IE 6
    The Actua Code:
    <h:panelGroup> <h:outputLabel style="width:10%;"/>
    <h:graphicImage style="align:center;" id="imgLogin" url="images/LoginPage2.gif"/>
    </h:panelGroup>
    Thanks.
    Tushar Parekh
    [email protected]

    Hi ,
    I have monitor the server log and found the following please help...
    Thanks.
    Tushar
    WEB0100: Loading web module [JSFUniRisXMigrated] in virtual server [server] at [JSFUniRisXMigrated]
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/JSFUniRisXMigrated'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/JSFUniRisXMigrated'
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8089

Maybe you are looking for

  • Can you help me with Firefox v7.0.1?

    Since your latest version of Firefox came out, it has been working like a charm. My problems started on Oct. 23, 2011 when I found I could not delete my e-mails, close tabs or serf the web. I can use my bookmarks and get in and out of Firefox but tha

  • How do I open Appleworks 6.2.2 files in Windows 7?

    I have recently acquired an Acer laptop (sorry) which runs Windows 7. I would like to work on files from my Apple iMac desktop where I use Appleworks 6.2.2 but I cant open any of the files. I am sure there is a simple solution bhut I dont know what i

  • How to defragment and compact free space in Intel based iMacs?

    Hi. I had some problems with the OS, so I decided to re-install it. After that I deleted a lot of Stuff I don't really need. Now I have big blocks of free Space in my hard drive and I think that make do an annoing noise. I tryed "iDefrag" but this so

  • Best practice: Material Master Description

    Warm Greetings, Change Material master Description Kindly suggest me the best practice In my company material master is created like Electricity & water bill for Main building                                                                          

  • MS Dynamics CRM

    Hi Guys, I'm pretty new to BC and I'm looking at going for a project but would like to know it there is a way of integrating MS Dynamics CRM in to a BC built website and also Realex payment processing. These are key points for this project and would