Struts-Faces Integration (empty file)

Hi,
I have been trying to download the Struts-Faces integration library from:
http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/
But the files seem to be empty. Is anyone else having the same problem?
Does anyone have the latest build available?
Thanks.
rgds,
Q.

Thanks for replyinh. The URL you provided has the same files....but they are empty. It seems something is wring with the scripts that do the nightly packaging?
Have you actually tried to download the struts-faces and unpacked it ok...recently?
q.

Similar Messages

  • Issue in converting Struts view to JSF view using struts-faces integration

    Hi All,
    I am facing a issue in my Sruts to JSF conversion application using struts-faces.jar integration library.
    Need expert's help desperately as I am not able to use <s:form> tag in my new jsf page to call a struts action.
    I want to call a struts action from my web page designed using JSF,
    but it seems impossible without using <s:form> tag from struts-faces integration library.
    Please suggest how to resolve this...
    I am using WSAD 5.1 IDE with inbuilt Test environment WebSphere server
    JSF Version: Sun's RI 1.1
    Struts framework: 1.2.6
    Struts-Faces Integration Library version: 1.0
    I have configured a controller element in struts-config.xml file as has been suggested by different online
    documents I studied:
    <controller>
    <set-property property="processorClass"
    value="org.apache.struts.faces.application.FacesRequestProcessor"/>
    </controller>
    But configuring a controller does not allow my test server to start up properly and due to errors the ActionServlet also becomes unavailable.
    If I comment the controller and start the test server it starts fine but then I cannot access the converted jsf page which contains the <s:form action="/xxxxx.do"> tag.
    If now I get back to <h:form> tag instead of <s:form> tag with a <h:commandButton action="xxxx.do"/> for form submission in my jsf page, I see the html page generated with all components but now checking the html source generated I see
    <form action="/contextName/jspFolder/sameDisplayedPage.jsf"> which is not valid and never gets called successfully.
    I think someways I need to use the <s:form> tag with the controller configured properly to use the struts-faces integration library's request processor, to get things working. But HOW???
    Following is the error I get if I use the <controller> tag element in struts-config.xml file and start the server.
    This error appears on starting the server without accessing any application's jsp web page
    [6/12/06 15:31:14:109 IST] 3e311815 ActionServlet E org.apache.struts.action.ActionServlet Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    [6/12/06 15:31:14:109 IST] 3e311815 ActionServlet E org.apache.struts.action.ActionServlet TRAS0014I: The following exception was logged java.lang.IllegalAccessError: org.apache.commons.digester.SetPropertyRule tried to access method org/apache/commons/beanutils/BeanUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
    at org.apache.commons.digester.SetPropertyRule.begin(SetPropertyRule.java:198)
    at org.apache.commons.digester.Rule.begin(Rule.java:200)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:736)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:685)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:331)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
    at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
    at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
    at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
    at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1277)
    at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
    at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
    at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
    at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:987)
    at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
    at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:418)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787)
    at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:271)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:249)
    at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
    at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
    at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125)
    at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
    at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
    at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
    at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
    at java.lang.reflect.Method.invoke(Method.java:386)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
    at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
    [6/12/06 15:31:14:188 IST] 3e311815 WebGroup E SRVE0020E: [Servlet Error]-[ActionServlet]: Failed to load servlet: javax.servlet.UnavailableException: org.apache.commons.digester.SetPropertyRule tried to access method org/apache/commons/beanutils/BeanUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:366)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
    at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
    at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
    at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
    at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1277)
    at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
    at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
    at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
    at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:987)
    at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
    at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:418)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787)
    at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:271)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:249)
    at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
    at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
    at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125)
    at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
    at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
    at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
    at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
    at java.lang.reflect.Method.invoke(Method.java:386)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
    at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
    (same error message re-iterates/repeats itself... and finally -
    Error 503: Failed to load target servlet [ActionServlet] comes in web-browser
    Following is the error which I get if I comment the <controller> element in the struts-config.xml file
    and use a <s:form action="xxxxx.do"> in the struts converted jsf page. The web-server starts fine, but
    accessing the jsf page givers error as:
    [6/12/06 15:38:00:781 IST] 696f19de WebGroup I SRVE0180I: [Sample Struts-JSF integration application] [training2] [Servlet.LOG]: /jsp/welcomeF.jsp: init
    [6/12/06 15:38:01:219 IST] 696f19de WebGroup E SRVE0026E: [Servlet Error]-[]: java.lang.NullPointerException
    at org.apache.struts.faces.renderer.FormRenderer.encodeBegin(FormRenderer.java:114)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
    at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)
    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:478)
    at org.apache.jsp._welcomeF._jspService(_welcomeF.java:207)
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at org.apache.struts.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
    at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:992)
    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:551)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:209)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    Finally if I change my <s:form action="xxxxx.do"> tag to
    <h:form>
    <h:commandButton id="submit" action="xxxx.do" value="Submit" />
    I see the webpage coming up in the browser (no controller element used in struts-config.xml file this time)
    But in the html source of this html created from jsf I see
    <form id="_id2" method="post" action="/training2/jsp/welcomeF.faces" enctype="application/x-www-form-urlencoded">
    here form's action attribute is pointing to the same displayed page with the context name prefixed. I
    assume it is because jsf could not resolve the "xxxx.do" action to anything so set it to the same displayed page.
    May be I am wrong as usual...
    Below is the simple struts jsp page which I need to convert to jsf page as I am converting only the View part of application.
    I want to use the same struts beans and application logic at the back-end. At front-end I need UIComponents from JSF to be used.
    Following is the struts jsp page
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
    <%@ taglib prefix="html" uri="/WEB-INF/lib/struts-html.tld" %>
    <%@ taglib prefix="bean" uri="/WEB-INF/lib/struts-bean.tld" %>
    <html:html>
    <html:base/>
    <html:messages id="messages" />
    <font style="color:red; font=weight:italic; font-family: century gothic">
    <html:errors/>
    </font>
    <BODY>
    <P>Sample Struts and JSF integration example</P>
    <P>This one is being displayed via Struts specific tags</P>
    <html:form action="validateUser.do">
    <bean:message key="label.name" /> : <html:text property="name" />
    <bean:message key="label.password" /> : <html:password property="password" />
    <bean:message key="label.age" /> : <html:text property="age" />
    <bean:message key="label.city" /> : <html:text property="city" />
    <bean:message key="label.address" /> : <html:text property="address" />
    <html:submit property="submit" value="Show info via Struts" />
    </html:form>
    </BODY>
    </html:html>
    I have converted it into the following jsf page
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://struts.apache.org/tags-faces" prefix="s" %>
    <f:view>
    <HTML><BODY>
    <f:verbatim><P>Sample Struts and JSF integration example</P></f:verbatim>
    <f:verbatim><P>This one is being displayed via JSF tags</P></f:verbatim>
    <h:form> <!-- Want to use s:form tag instead of this h:form tag -->
    <h:inputText id="name" value="#{userForm.name}" /><f:verbatim>
    </f:verbatim>
    <h:inputSecret id="password" value="#{userForm.password}" /><f:verbatim>
    </f:verbatim>
    <h:inputText id="age" value="#{userForm.age}" /><f:verbatim>
    </f:verbatim>
    <h:inputText id="city" value="#{userForm.city}" /><f:verbatim>
    </f:verbatim>
    <h:inputText id="address" value="#{userForm.address}" /><f:verbatim>
    </f:verbatim>
    <h:commandButton id="submit" action="#{user.facesAction}" value="Show info via Struts" />
    </h:form>
    </BODY></HTML>
    </f:view>
    I am very hopeful of some answer from respected group experts, please help me.
    I am in urgency of course but would not push for immed. response like other, just want some help for sure that is going to
    be extremely valuable to me. Anticipating a helping hand...
    Thanks and Regards
    Vishal Sharm
    Time's fun when you're having flies � Kermit, the Frog
    -------------------------------------------------------------------------

    I've managed to get this working Ok from JDeveloper:
    See:
    http://www.groundside.com/blog/content/DuncanMills/J2EE+Development/?permalink=573FDB6F8D918B9704907899635CABB1.txt
    http://www.groundside.com/blog/content/DuncanMills/J2EE+Development/?permalink=2B04ACE99A6437EDED775F15553D1DED.txt
    Basically you just have to fiddle around with Library settings to get this working OK.
    As to how useful this is, well that's up to you - I'd not regard Faces + Struts as a must use combination, rather it's a can mix if you really need to. Look at Faces and Faces navigation first and see if that actually gives you enough before you start to look at mixing.

  • Struts faces integration

    Can some one send me a simple example of Struts with JSF
    plz don'nt send the struts-faces example becz i already have that and it has some problem with weblogic8.1[Expression language limitation JSP2.0]
    Regds
    Amit Verma

    http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk8.html
    it might help u

  • Problem with struts-faces.jar

    hi,
    My requirement is to migrate a struts application to jsf.
    I am using the struts-faces.jar and doing all the configurations as mentioned.I am getting the following error while calling the application itself..
    java.lang.ClassNotFoundException: org.apache.struts.faces.taglib.LifecycleListener
    I am using the following version:
    1)Tried both struts-faces-0.4 and 0.3(downloaded from http://archive.apache.org/dist/struts/struts-faces/)
    2)Tomcat 5.0
    3)jsf-(SUN)
    4)struts 1.1
    Please let me know if i am doing something wrong. and any ways to fix this.
    Regards,
    Mythili

    Given the new release of the JSF ri and api .jar
    files,
    will this .jar provided at the apache site work?
    http://archive.apache.org/dist/jakarta/struts/old/relea
    e/struts-faces/
    No, those JARs only work with the EA versions of JavaServer Faces.
    A nightly build of the struts-faces integration library, that works with the beta release, is available at:
    http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/
    and the corresponding source code is part of the Struts nightly build bundles in:
    http://cvs.apache.org/builds/jakarta-struts/nightly/src/
    in directory "contrib/struts-faces".
    This package is not yet ready to be released, but seems to work for me in all the cases where the old library worked before. (If you're migrating, note particularly some tweaks you need to add in the struts-config.xml file for the new version, documented in README.txt.) Work continues on the Tiles integration which feedback has indicated is really important to people.
    Developers who are building new components and renderers will be quite interested in the techniques used to make all the attributes of your own components value-binding-enalbled (like all the ones on the standard tags are). The source code for the <s:form> tag, plus the corresponding component and renderer, will be helpful in illustrating this.
    Craig McClanahan

  • Struts-faces library: provided struts/tiles example doesn't work?!

    Dear all,
    I�ve been trying to migrate my struts-tiles application to JavaServer Faces using the struts-faces library. I downloaded the latest nightly build, but I was unable to deploy and run the second example (the one using tiles) on Tomcat 5.0.28.
         At first, the <h:commandLink> components for the �Register� and �Login� links on the first page (loggedoff.jsp) wouldn�t work, probably because they should have been replaced by <s:commandLink>. So I fixed that, but then I get an inexplicable http 404 error: �Invalid path /layout was requested� when I click on any of the two links.
         Looking at the source code of both JSP and HTML I noticed that the JSP element <s:form action="/editRegistration"> translates to <form id="menu:_id5" name="registrationForm" action="/StrutsFacesExample/layout.do" method="post">. The action element is obviously(?) wrong: there is no layout.do action mapping anywhere, it�s the path pointing to the main layout jsp with the suffix replaced!
    I�ve been able to trace the problem down to method �action� in library class org.apache.struts.faces.renderer.FormRenderer, which does the following:
    protected String action(FacesContext context, UIComponent component) {
    String actionURL =
    context.getApplication().getViewHandler().
    getActionURL(context, context.getViewRoot().getViewId());
    if (log.isTraceEnabled()) {
    log.trace("getActionURL(" + context.getViewRoot().getViewId() +
    ") --> " + actionURL);
    return (context.getExternalContext().encodeActionURL(actionURL));
    Any ideas on what could be going wrong here? I also tried deploying the example on Tomcat 5.5.7 and JBoss 3.2.5, but the behavior was the same.
    Any comments would be greatly appreciated!
    Mario

    Did you ever find a solution to this problem? No, unfortunately I am still looking for a solution to this one.
    I� ve also reported this to Bugzilla (http://issues.apache.org/bugzilla/show_bug.cgi?id=35265) so you might want to keep an eye on the issue, in case something comes up. However there appears to be no significant activity in the library�s source code repository for almost a month.
    After reading other discussions in forums like this one, I must say that I am discouraged: I seriously doubt if anyone has successfully managed to use the struts-faces integration library. A lot of people are suggesting that integrating the two frameworks is not worth the trouble, and so I am now in the process of evaluating the cost of complete migration from struts to jsf (btw, it doesn�t look good�). Nevertheless, some recent articles demonstrate the library�s use (the most recent one is Kito Mann�s http://www.jsfcentral.com/reading/#4030 ) so I might be wrong.
    It would be nice though if someone who has managed to integrate the two technologies successfully would share his views on this forum�
    Mario

  • Using struts-faces : can't find "forward".

    using struts-faces : can't find "forward".
    I download the struts-faces lib and want to make a integration with struts && JSF.
    The action's one method is executed, but after that, it can't find the forward page.
    The console display:
    // Here is the initLogon() method of LogonAction, just print 2 message
    [LogonAction] DEBUG: initLogon start
    [LogonAction] DEBUG: initLogon end
    // Then output these:
    [FacesRequestProcessor] DEBUG: Standard action perform returned /index.faces forward path
    [FacesRequestProcessor] DEBUG: Performing standard forward config handling
    [RequestProcessor] DEBUG: processForwardConfig(ForwardConfig[name=logon_page,path=/index.faces,redirect=false,contextRelative=false])
    [FacesRequestProcessor] DEBUG: doForward(/index.faces)
    // Then exception occured:
    <[ServletContext(id=19306074,name=/interactive,context-path=/interactive)]
    Servlet failed with Exception
    java.lang.NullPointerException
            at org.apache.struts.faces.application.FacesRequestProcessor.doForward(FacesRequestProcessor.java:121)
            ......Here is part of my config file, maybe the exception was caused by something I missed
    In struts-config.xml:
         <action-mappings>
              <action path="/LogonAction"
                   type="org.interactive.interactive.presentation.security.LogonAction"
                   scope="request"
                   name="LogonForm"
                   parameter="method"
                   input="/LogonAction.do?method=initLogon"
                   validate="false">
                   <forward name="logon_page" path="/index.faces"/>
              </action>
         </action-mappings>     In web.xml:
         <servlet>
              <servlet-name>faces</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
             <servlet-mapping>
                    <servlet-name>faces</servlet-name>
                    <url-pattern>*.faces</url-pattern>
             </servlet-mapping>           In faces-config.xml, I left it empty:
         <faces-config>
         </faces-config>           The index.jsp is very simple:
         it just include a string "This is index.jsp", no any tag.
    Please give me some advice, thanks !

    Need Help!
    I use weblogic8.1 and
    the entry is http://localhost:7001/interactive/LogonAction.do?method=initLogon
    I don't know why it execute the initLogon() method but can't return to the page.

  • Where can i get stuts-faces integration library

    can any one help me in finding stuts-faces integration library and some good examples on jsf+struts

    Thanks a lot,
    actually there is a jar file available in lib folder
    tht is struts-faces.jar just we need to include it tht all.

  • How to Process empty file in Text (FCC) to Text (FCC) file scenario using G

    Interface has to pick text files from the source system and deliver on target system as text file. If the source text file is empty (zero Bytes), interface has to delivery an empty text file on target system.
    To accomplish this ,  we have developed an interface in PI system using graphical mapping and to process and delivery the empty files used empty file handling options on both communication channels. We  have used Graphical mapping to transform the source file.
    Interface is working fine if the source file  is not empty. But in case of empty file,  interface failed with an error message 'Parsing an empty source. Root element expected!' . We tried with all the available option on graphical mapping editor to fix the issue. But none of the options are worked.
    Could you please let me know how to fix this issue.

    Hi,
    If you are picking empty text file and to put the same empty text file as (FCC) on the reciever side, then need not do any mapping, Also skip IR part.
    To developing this interface, there is no need to create any objects in the Integration Repository (IR). This means no mapping. if the data is not in XML, then no mapping can be done. So, only need to work in the Integration Directory (ID).
    For this scenario we can use only with integration directory in the XI.
    Open Integration Directory and create new scenario
    Create Business Service
    Create sender Communication Channel with parameter of the source location
    Create receiver Communication Channel with parameter of the target location
    Create Sender Agreement with outbound Interface = <DummyInterface>, Namespace = <DummyNamespace> and sender Communication Channel
    Create Receiver Determination with outbound Interface = <DummyInterface> and Namespace = <DummyNamespace>
    Create Interface Determination with inbound Interface = <DummyInterface> and Namespace = <DummyNamespace>
    Create Receiver Agreement with inbound Interface = <DummyInterface>, Namespace = <DummyNamespace> and receiver Communication Channel
    Activate
    Note: The <DummyInterface> should be unique and the <DummyNamespace> can either be an existing namespace or a new namespace.
    Sameer

  • Struts/JSF - struts-faces.jar

    I searched the jakarta source and binary
    sites and don't see this library anymore.
    (Unless I go to the contrib dir where the source code is file
    by file).
    Where can I find struts-faces-0.4.zip and its source code (bundled)
    so I can debug my errors?
    Thanks,
    gs

    http://archive.apache.org/dist/jakarta/struts/old/release/struts-faces/

  • Struts-faces LifeCycle

    I am studying Struts-Faces to conclude how we can use Struts-faces to prepare the migration from struts to JSF. When a request is sent by user, is it handle by ActionServlet or Faces servlet or another servlet ? I am trying to constitute the LifeCycle for an application done by Struts-faces.
    Can anyone help me ?
    Thanks.

    when you say " the requests will be handled by the
    JavaServer Faces controller servlet " you want mean
    that any http request will first be handled by
    "javax.faces.webapp.FacesServlet" anf after will be
    redirected depending on the type of request (struts or
    JSF) ? Technically, it's not a redirect, or even a forward ... in struts-faces the default ActionListener supplied by JavaServer Faces is replaced by one that invokes the Struts request processor if this is a form submit.
    who invoke the "FacesRequestProcessor" ? what is the
    role of this class ? it is invoked by ActionServlet
    instead of RequestProcessor ?
    In the current struts-faces code, ActionServlet does not ever process any requests, but you still need it to set up the overall environment, which is done in it's init() method.
    As I said before I try to constitute the life cycle of
    Struts-faces application, What I have understand of
    you answer is that the Http request is handle by a
    front controller ( Web Container ?????) and then
    redirected to :
    ---Lifecycle of JSF if it is an immediate action, or
    we are NOT nested in a Struts form
    -- FacesRequestProcessor if wa are processing a form
    submit.
    Yes, but the JavaServer Faces runtime still handles all incoming requests (unless you are intermixing non-Faces-based use of Struts in the same webapp) -- it just calls the FacesRequestProcessor when appropriate.
    I read the article of IBM "integrating Struts, Tiles
    and JavaServerFaces and I don 't understand clearly
    how we use the class "FormComponent" and "FormRag".
    Can you give me more explanation please ?
    Thanks Craig .I can't speak for the authors of that article, or what they did to integrate Tiles support into the EA4 release of struts-faces. I can tell you that such measures will not be needed when the version of struts-faces compatible with the final version of JavaServer Faces 1.0. Until then, you are looking at code that is bleeding edge, not released, not documented, and not thoroughly tested. When released, it will be documented and tested.
    Craig

  • Working with multiple faces-config.xml files

    I would organize the menu definitions of my application in different faces-config.xml files. I would also put the label in different properties files.
    The SRDemo application uses a unique properties file for the menu used in the el expression from the faces-config.xml.
    Is it possible to have the same approach with not only one faces-config.xml file but has many faces-config.xml i want for my application.
    If yes does the binding name to be different or may be the same for each file ?

    We still have a litlle problem we don't find the reason. May be you can help us.
    The second menu level never appear in the menu list. The menu list appear as empty.
    The menu bar seem to be correct. We put twice the same model tree to be sure it was working well. Both menu appears. It is correct.
    Here is our faces-config-menu-flexsystem.xml file
    <?xml version="1.0" encoding="windows-1252"?>
    <!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 xmlns="http://java.sun.com/JSF/Configuration">
    <managed-bean>
    <description>Create menu item for flex system management</description>
    <managed-bean-name>menu_menuitem_FlexSystem_Create</managed-bean-name>
    <managed-bean-class>flex.view.util.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['menu.FlexSystem.menuItem.create']}</value>
    </managed-property>
    <managed-property>
    <property-name>viewId</property-name>
    <null-value/>
    </managed-property>
    <managed-property>
    <property-name>outcome</property-name>
    <value>linkToCreateNewFlexSystem</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <description>Manage menu item for flex system management</description>
    <managed-bean-name>menu_menuitem_FlexSystem_Manage</managed-bean-name>
    <managed-bean-class>flex.view.util.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['menu.FlexSystem.menuItem.manage']}</value>
    </managed-property>
    <managed-property>
    <property-name>viewId</property-name>
    <value>\FlexHome.jspx</value>
    </managed-property>
    <managed-property>
    <property-name>outcome</property-name>
    <value>linkToManageFlexSystem</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <description>Root menu item for flex system management</description>
    <managed-bean-name>menu_menuitem_FlexSystem_Root</managed-bean-name>
    <managed-bean-class>flex.view.util.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>children</property-name>
    <list-entries>
    <value-class>flex.view.util.MenuItem</value-class>
    <value>#{menu_menuitem_FlexSystem_Create}</value>
    <value>#{menu_menuitem_FlexSystem_Manage}</value>
    </list-entries>
    </managed-property>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['menu.FlexSystem.menuItem.root']}</value>
    </managed-property>
    </managed-bean>
    <application>
    <message-bundle>flex.view.resources.MenuFlexSystemProperties</message-bundle>
    <locale-config>
    <supported-locale>fr_CH</supported-locale>
    </locale-config>
    </application>
    <managed-bean>
    <managed-bean-name>resources</managed-bean-name>
    <managed-bean-class>flex.view.util.ResourceAdapter</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/FlexHome.jspx</from-view-id>
    <navigation-case>
    <from-outcome>linkToCreateNewFlexSystem</from-outcome>
    <to-view-id>/CreateNewFlexSystem.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/FlexHome.jspx</from-view-id>
    <navigation-case>
    <from-outcome>linkToManageFlexSystem</from-outcome>
    <to-view-id>/ManageFlexSystem.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>menu_FlexSystem</managed-bean-name>
    <managed-bean-class>flex.view.util.MenuTreeModelAdapter</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>childProperty</property-name>
    <value>children</value>
    </managed-property>
    <managed-property>
    <property-name>listInstance</property-name>
    <list-entries>
    <value-class>flex.view.util.MenuItem</value-class>
    <value>#{menu_menuitem_FlexSystem_Root}</value>
    <value>#{menu_menuitem_FlexSystem_Root}</value>
    </list-entries>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>menuModel</managed-bean-name>
    <managed-bean-class>flex.view.util.MenuModelAdapter</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>viewIdProperty</property-name>
    <value>viewId</value>
    </managed-property>
    <managed-property>
    <property-name>instance</property-name>
    <value>#{menu_FlexSystem.model}</value>
    </managed-property>
    </managed-bean>
    </faces-config>

  • Can not run Struts-Faces in weblogic.. Any suggestions

    Hi,
    I had downloaded the struts-faces application from apache and was trying to run with tomcat, it is working fine but when I am trying to run it with weblogic 8.1 it gives this error,
    Parsing of JSP File '/index.jsp' failed:
    /index.jsp(5): Error in using tag library uri='http://struts.apache.org/tags-faces' prefix='s': The Tag class 'org.apache.struts.faces.taglib.CommandLinkTag' has no setter method corresponding to TLD declared attribute 'actionListener', (JSP 1.1 spec, 5.4.1)
    probably occurred due to an error in /index.jsp line 5:
    <%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
    Anybody has the same problem? Any help is appreciated.
    Thanks,
    Sushant

    Hi,
    You have to add these 2 lines in your JSP.
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    By the way, weblogic8.1 (SP2) doesn't support JSF. You need to have a patch for that. But Weblogic8.1(SP3) supports.
    -Nir

  • Re: struts-faces

    Can I use the integration jar struts-faces.jar in a production project?
    thanks very much for any suggestion,
    F.

    I recently explored the integration library and the truth lies where its version is 0.5.
    So 'will' you be able to use this for production systems? yes.
    Should you use it 'now'? No.
    It is still not stable and there is little documentation on it, So if I were you I would definetely keep in touch with it but would not apply to your system now. Wait until at least 1.0 is out.
    Cleo

  • Steps of Struts JSF integration

    Can some one send me a simple example of Struts with JSF
    plz don'nt send the struts-faces example becz i already have that and it has some problem with weblogic8.1[Expression language limitation JSP2.0]
    Regds
    Amit Verma

    Hi ...
    Application (key for the Sales and Distribution application), Account determination type, Chart of accounts (from the FI System), Customer account assignment group, Materials account assignment group, Account key
    The allocated accounts are used to post revenues, surcharges and discounts automatically.
    You have defined the access sequences and the account determination types for Sales and Distribution.
    You must define charts of accounts and G/L accounts in the FI System.
    Activities
    1. Check to what extent you can use the allocations contained in the
    SAP standard version.
    2. Allocate the G/L accounts for each access sequence.
    Path
    IMG (Implementation Guide) --> Financial Accounting -->General Ledger Accounting --> Business Transaction -->Integration --> Sales & Distribution --> Prepare Revenue Account Determination.
    Transaction Code VKOA
    1. Customer Account Assignment Groups:
    Domestic Customers, Foreign Customers and Affiliated Companies. I think they are finalized.
    2. Material Account Assignment Groups :
    3. Trading Goods and performances.
    They are not exhaustive and they need revision.
    Finished Goods & Semi Finished Goods are covered under Trading Goods. Performances are said to be Nil. Shall we have Material Groups as Trading, Finished, Packaging and Services.
    3 Condition Types : KOFI & KOFK ( Account Assignment for CO)
    4 Account Keys
    ERL Sales
    RDM Rounding
    ERS Sales Deductions
    ERF Freight Collected Domestic & Foreign
    EIN Transit Insurance Collected
    EXD Excise Duty
    ERB Rebate Sales Deductions
    ERV Rebate Accruals
    EVV Cash Clearing
    MW3 Sales Tax
    MWS Tax on sales & purchases
    This is for FI-SD,

  • HTMLEditorKit keeps outputing empty file ????

    This code below does not work, I was able to ave to hmtl file with standard html config but one problem, it's all EMPTY????!?!? why, am I missing something here??????
    HTMLEditorKit kit;
    HTMLDocument doc;
    public myConstructor(){
            kit = new HTMLEditorKit();
            jTextPane1.setEditorKit(kit);
            doc = (HTMLDocument)kit.createDefaultDocument();
            jTextPane1.setDocument(doc);
    @Action
        public void saveFile(){
            fc = new JFileChooser();
            fc.setFileFilter(new filterHTML());       
            int returnVal = fc.showSaveDialog(SPackageInjector.this);
            if (returnVal == JFileChooser.APPROVE_OPTION) {
                try{
                    File file = fc.getSelectedFile();
                    FileOutputStream writer = new FileOutputStream(file + ".html");
                    kit.write(writer, doc, 0, doc.getLength());  //<------************does NOTHING here******************
                    writer.close();
                } catch (Exception e){}
        class filterHTML extends javax.swing.filechooser.FileFilter {
            public boolean accept(File f) {
                return f.isDirectory() || f.getName().toLowerCase().endsWith(".html");
            public String getDescription() {
                return "HTML";
        }You see I have no problems with RTF, I was able to dump everything out of jTextPane fine. For example, similar to above:
        public void saveFile(){
            fc = new JFileChooser();
            fc.setFileFilter(new filterRTF());       
            int returnVal = fc.showSaveDialog(SPackageInjector.this);
            if (returnVal == JFileChooser.APPROVE_OPTION) {
                try{
                    File file = fc.getSelectedFile();
                    FileOutputStream writer = new FileOutputStream(file + ".rtf");
                    writer.write(jTextPane1.getText().getBytes("UTF8"));
                    writer.close();
                } catch (Exception e){}
        class filterRTF extends javax.swing.filechooser.FileFilter {
            public boolean accept(File f) {
                return f.isDirectory() || f.getName().toLowerCase().endsWith(".rtf");
            public String getDescription() {
                return "Rich Text Format Files";
        }So the question is why doesn't it works for HTMLkit?????? Am I missing something here? Pleas help

    yeah, I've tried that too:
    writer.write(jTextPane1.getText().getBytes("UTF8"));
    instead of:
    kit.write(writer, doc, 0, doc.getLength());
    but it outputs the same old empty file, somehow the actual data never got filled in but the frontend of jTextPane1 did showed a bunch of colorful data.
    that empty file looks like this:
    <html>
    <head>
    </head>
    <body>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><b><p>
    </b></font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><b><p>
    </b></font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><b><p>
    </b></font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    </body>
    </html>
    man, it should fills in the data automatically so it looks like this:
    <html>
    <head>
    </head>
    <body>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">MY COLOR RED<b><p>
    </b></font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">MY COLOR GREEN<b><p>
    </b></font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">MY COLOR BLUE<b><p>
    </b></font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">MY COLOR BLACK<p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">MY COLOR DSFSDFDSF<p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">afdsfadsf<p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">asdfdsf<p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">asdfasdfasdf sdfsdfdsf<p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">asdfasdfsdf<p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">asdfasdfsdf<p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff">345345345435<p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    <p style="margin-top: 0">
    <font size="3" face="Arial" color="#0000ff"><p>
    </font> </p>
    </body>
    </html>

Maybe you are looking for

  • Help needed to rewrite code so main menus move down to make way for subs

    Can anybody please help me (slightly) alter some code. I am working on a vertical menu with sub's and need to alter the AS so that when a sub menu is selected, the main menus below it move down to accommodate the new sub menu. This is the code I am c

  • Why is the layers panel greyed out when I try to use PSE9 as my external editor?

    Recently, when I try to use Photoshop Elements 9 as my external editor in Aperture 2.1.4 the layers menu is greed out and the layers panel won't allow me to create layers.

  • Can't get a plug-in to load

    I'm new to to Discussion forum so here goes... I was using Safari 30 minutes ago and no problem. Went back on line and now onsome sites getting theis message: The page "name of website" attempted to load an Internet plug-in named "Shockwave Flash", b

  • Guest account is freezing

    Hi, I wanted to have a guest account in my MacBook white version 10.6.8 but whenever I switch to a new guest account, icons freezes and I can't click or select any applications. I will need to switch it off because only the Admin account is working.

  • What is the imp of req id in reporting?

    hai all, what is the importance of request id in reporting? can any one plz send tme the solution. thanks in advance shanti