Hi Experts I am absolutely new to this xforms and need your help on how to integrate the xforms and Java. I need to build a login page which has userid and password validation, this validation is done in JAVA. Now my question is "how to pass the userid and password from Xform to java ?" Is it the same way that we use http request and http response in JSP. This may be a simple and silly question but as I am new to this it seems tough for me to do this. Thanks in advance,
This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. |
Swetha, Take a look at the Interoperability section of the docs which describe ways to call Java Beans, EJB's and so forth. http://www.orbeon.com/ops/doc/processors-delegation http://www.orbeon.com/ops/doc/processors-java Basically, you need to use the XML Pipelines capability to call Java. You can call a pipeline from XForms with xxforms:call-xpl , so you don't have to change the context to a new page, it can work "behind the scenes." --Hank On Dec 15, 2008, at 3:51 AM, Yarlagadda, Swetha wrote: > > > Hi Experts > > I am absolutely new to this xforms and need your help on how to > integrate the xforms and Java. I need to build a login page which > has userid and password validation, this validation is done in > JAVA. Now my question is "how to pass the userid and password from > Xform to java ?" Is it the same way that we use http request and > http response in JSP. This may be a simple and silly question but > as I am new to this it seems tough for me to do this. > > Thanks in advance, > Swetha. > > This e-mail (and any attachments), is confidential and may be > privileged. It may be read, copied and used only by intended > recipients. Unauthorized access to this e-mail (or attachments) and > disclosure or copying of its contents or any action taken in > reliance on it is unlawful. Unintended recipients must notify the > sender immediately by e-mail/phone & delete it from their system > without making any copies or disclosing it to a third person. > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by swetha.yarlagadda
For a login page, I would just use an HTML page and your container's
form-based validation. That would be simpler. But if you really need it, XForms is able to submit as application/x- www-form-urlencoded POST, so you may want to try that. Java can then retrieve the submitted parameters the usual way, using the Servlet API. -Erik On Dec 15, 2008, at 12:51 PM, Yarlagadda, Swetha wrote: > > > Hi Experts > > I am absolutely new to this xforms and need your help on how to > integrate the xforms and Java. I need to build a login page which > has userid and password validation, this validation is done in JAVA. > Now my question is "how to pass the userid and password from Xform > to java ?" Is it the same way that we use http request and http > response in JSP. This may be a simple and silly question but as I am > new to this it seems tough for me to do this. > > Thanks in advance, > Swetha. > > This e-mail (and any attachments), is confidential and may be > privileged. It may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or > attachments) and disclosure or copying of its > contents or any action taken in reliance on it is unlawful. > Unintended recipients must notify the sender immediately > by e-mail/phone & delete it from their system without making any > copies or disclosing it to a third person Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |