Köll & Sam Classroom Blog

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    Originally posted by Dököll
    I was fooling around with one of my xml files... all is well now...

    This one's for the newbies, if you have this problem, look at your log file for Tomcat: C :\ Program Files\Apache Software Foundation...\. ..logs, it'll tell you where the problem is...

    Later,

    Dököll
    There's an entire chapter devoted to logging in Tomcat's documentation;
    everybody can find the details there.

    kind regards,

    Jos

    Comment

    • Dököll
      Recognized Expert Top Contributor
      • Nov 2006
      • 2379

      Originally posted by JosAH
      There's an entire chapter devoted to logging in Tomcat's documentation;
      everybody can find the details there.

      kind regards,

      Jos
      Yes, I started reading, not about logging in Tomcat, but of file transfers from system to system, and lo and behold my system at home has all the old stuff and does not play nice with stuff at work.

      For now I'll simply recreate stuff, when I get any bright ideas away from work, I send them there via email. But will definitely check into the tomat doc, there aere things I was able to do, like simply firing form my browser that I cannot do, will give it a shot.

      I have started using NetBeans and Eclipse, side by side, just to see what the real differences are, NetBeans seems to be winning:-)

      In a bit, really it's the way that NetBeans builds JSF pages seamlessly, thus far... will try to post problems side by side...
      Last edited by Dököll; Jun 27 '08, 01:23 AM. Reason: text...

      Comment

      • Dököll
        Recognized Expert Top Contributor
        • Nov 2006
        • 2379

        Originally posted by Dököll
        I have started using NetBeans and Eclipse, side by side, just to see what the real differences are, NetBeans seems to be winning:-)

        In a bit, really it's the way that NetBeans builds JSF pages seamlessly, thus far... will try to post problems side by side...
        Alright!

        Here's the scoop, I have either lost my marbles or something else but for the past couple of days I have been trying to find libraries specific to below, to no avail:

        [CODE=JAVA]
        <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
        <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
        [/CODE]

        import javax.faces.*; is not legal...

        Where are these libraries stored?

        NetBeans is having the same issues firing JSF, I suspect JSF is handled differently, so the seamless find was seeminglya NetBeans-specific engine that fires JSFs, at least that's what I think is happening, nonetheless, no joy there, it may mean no fooling around differentl IDEs and expext likely results...

        Do such tag libraries exist, they must but I am blind thus far:

        [CODE=JAVA]
        <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
        <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
        [/CODE]

        Comment

        • Dököll
          Recognized Expert Top Contributor
          • Nov 2006
          • 2379

          Originally posted by Dököll
          Alright!

          Here's the scoop, I have either lost my marbles or something else but for the past couple of days I have been trying to find libraries specific to below, to no avail:

          [CODE=JAVA]
          <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
          <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
          [/CODE]

          import javax.faces.*; is not legal...

          Where are these libraries stored?

          NetBeans is having the same issues firing JSF, I suspect JSF is handled differently, so the seamless find was seeminglya NetBeans-specific engine that fires JSFs, at least that's what I think is happening, nonetheless, no joy there, it may mean no fooling around differentl IDEs and expext likely results...

          Do such tag libraries exist, they must but I am blind thus far:

          [CODE=JAVA]
          <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
          <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
          [/CODE]
          I was searching wrong:

          http://java.sun.com/javaee/javaserve...ocs/index.html I think I'll find what I need here, stop me if this is the wrong area. This latest search was my bgest shot. Thanks in advance:-)

          Comment

          • Dököll
            Recognized Expert Top Contributor
            • Nov 2006
            • 2379

            Originally posted by Dököll
            I was searching wrong:

            http://java.sun.com/javaee/javaserve...ocs/index.html I think I'll find what I need here, stop me if this is the wrong area. This latest search was my bgest shot. Thanks in advance:-)
            1 of 2 resolved; now, even though I am no longer having a build error, the page did not load, what do you make of it? I will be installing rational to just have everything installed at once, but how does one fix this if running Eclipse...

            [CODE=JAVA]

            Project name:
            Group name:
            Programming:
            Date:
            Owner:
            Legal:


            <%@ page contentType="te xt/html"%>

            <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
            <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

            <f:view>
            <html>
            <head>
            <title>Employ ee Login</title>
            </head>
            <body>
            <h:form>
            <table>
            <tr>
            <td>
            <h:outputText value="Please add Office ID: " />
            </td>
            <td><h:inputTex t id="loginspecif icid" value="#{LoginE mpOfficeID.logi nspecificid}" /></td>
            </tr>
            <tr> <td><h:outputTe xt value="Please your Employee ID: " /></td>
            <td><h:inputSec ret id="employeeid " value="#{LoginE mpOfficeID.empl oyeeid}" /></td>
            </tr>
            <tr>
            <td>&nbsp;</td>
            <td><h:commandB utton value="Login" action="#{Login EmpOfficeID.Che ckMate}" /></td>
            </tr>
            </table>
            </h:form>
            </body>
            </html>
            </f:view>
            [/CODE]

            I get an HTTP ERROR: 200, clearing unhappy with something, what's the deal there?

            By the way, another way remedying the previous problem I had (not having the proper lib being called!) is to simply load Eclipse Ganymede which comes complete with reports abilities no Birt but also adds further functionality with Sun's JSF lib access. Hope this helps anyone having just that part of the problem...

            Any help you can procide with the above HTTP ERROR: 200 glitch is helpful, even though I may fix this with proper software installed, it's food for brain, I think... good for others who wish to fix Eclipse - Europa/Ganymede problems also.

            Thanks again good people!

            Dököll

            Comment

            • Dököll
              Recognized Expert Top Contributor
              • Nov 2006
              • 2379

              Originally posted by Dököll
              1 of 2 resolved; now, even though I am no longer having a build error, the page did not load, what do you make of it? I will be installing rational to just have everything installed at once, but how does one fix this if running Eclipse...

              [CODE=JAVA]

              Project name:
              Group name:
              Programming:
              Date:
              Owner:
              Legal:


              <%@ page contentType="te xt/html"%>

              <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
              <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

              <f:view>
              <html>
              <head>
              <title>Employ ee Login</title>
              </head>
              <body>
              <h:form>
              <table>
              <tr>
              <td>
              <h:outputText value="Please add Office ID: " />
              </td>
              <td><h:inputTex t id="loginspecif icid" value="#{LoginE mpOfficeID.logi nspecificid}" /></td>
              </tr>
              <tr> <td><h:outputTe xt value="Please your Employee ID: " /></td>
              <td><h:inputSec ret id="employeeid " value="#{LoginE mpOfficeID.empl oyeeid}" /></td>
              </tr>
              <tr>
              <td>&nbsp;</td>
              <td><h:commandB utton value="Login" action="#{Login EmpOfficeID.Che ckMate}" /></td>
              </tr>
              </table>
              </h:form>
              </body>
              </html>
              </f:view>
              [/CODE]

              I get an HTTP ERROR: 200, clearing unhappy with something, what's the deal there?

              By the way, another way remedying the previous problem I had (not having the proper lib being called!) is to simply load Eclipse Ganymede which comes complete with reports abilities no Birt but also adds further functionality with Sun's JSF lib access. Hope this helps anyone having just that part of the problem...

              Any help you can procide with the above HTTP ERROR: 200 glitch is helpful, even though I may fix this with proper software installed, it's food for brain, I think... good for others who wish to fix Eclipse - Europa/Ganymede problems also.

              Thanks again good people!

              Dököll
              I guess you could say I am close, but no cigar yet...

              As it turns out, rational comes complete with the proper packages/utils, whereas Eclipse needs certain jars added to see added packages:

              (1) jsf api/imp jar files
              (2) jstl jar file
              (3) Others, depending on what you are doing

              Without these jar files, you will not be able to load JSP/JSF form-specific tags, essential to firing JSF-enabled pages and reap the benefits of good descent web sites:-)

              Comment

              • Dököll
                Recognized Expert Top Contributor
                • Nov 2006
                • 2379

                Originally posted by Dököll
                I guess you could say I am close, but no cigar yet...

                As it turns out, rational comes complete with the proper packages/utils, whereas Eclipse needs certain jars added to see added packages:

                (1) jsf api/imp jar files
                (2) jstl jar file
                (3) Others, depending on what you are doing

                Without these jar files, you will not be able to load JSP/JSF form-specific tags, essential to firing JSF-enabled pages and reap the benefits of good descent web sites:-)
                The jar files did the trick, no longer having a problem:-)

                Comment

                Working...