Hi, Thanks for the reply. But actually I still facing the given issue.(I added debug statements also)
Later I found out that whenever if I do a change to the Action Class source and redeploy the war using ant build, I face this issue!. (Further, if we just recompile the exisitng HelloAction.java and replace its class files, You should face this issue!. No need to do any other changes!) Please Note: I am using Tomcat 4.1. Thanks and Regards Crishantha -----Original Message----- From: Erik Bruchez [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 9:36 AM To: [EMAIL PROTECTED] Subject: Re: OXF-struts Integration Issue Crishantha, You can enable debugging in your login.xpl pipeline by setting debug attributes on your inputs and outputs. E.g.: <p:input name="data" debug="name1"> or: <p:output name="data" debug="name2"> or: <p:param type="input" name="data" debug="name3"> The XML transiting through those inputs and outputs will be dumped in your log file or in your console or both, depending on your application server and your logging configuration. With Tomcat, by default, you should at least see the output in the console. In the OXF Struts example, we use an epilogue which sends the output to the default OXF theme. That theme assumes as input a document of the type: <d:document> <d:head> <d:title>Title</d:title> <d:head> <d:body> My Body. </d:body> </d:document> Does your login.xpl send such an output? -Erik Bhaskar Gopalan wrote: > Hi Crishantha, > you may want to enable log4j and see the actual XML being generated by > castor. > > -gb > > -----Original Message----- > From: Crishantha Nanayakkara [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 11:40 PM > To: [EMAIL PROTECTED] > Subject: OXF-struts Integration Issue > > > Hi, > > I am just trying to change the helloworld program under oxf-struts > integration example. But I face the following issue. > > I am going to have a small Authentication page which has username and > passowrd as String fields. So I do have a LoginForm as my Form bean and the > following portion in struts-config.xml. > > <form-beans> > <form-bean name="login" > type="org.orbeon.oxf.struts.examples.login.LoginForm"/> > </form-beans> > > <action path="/login" > type="org.orbeon.oxf.struts.examples.login.LoginAction" > name="login"> > <forward name="success" path="/login.xpl"/> > </action> > > But when I try to run this program it does show a blank page. I guess the > problem lies in the login.xpl. (Under <xsl:template > match="/struts-beans/login"> ) > > Above I am trying to give "/struts-beans/login" as the match string actually > which is not transparent to me. > > It would be great if you can clarify this matter. > > Thanks and Regards > Crishantha Nanayakkara > > Virtusa Corporation > www.virtusa.com
