Hi all,
I am trying to submit my instance data so that the target Servlet can read that and stores in a file. Reading and writing is working fine. In my Servlet I wrote some code to display message using to the user. But, I think the Servlet is getting called background. How the control can be transferred to that Servlet/ or any other page after reading instance data. Here is my jsp page <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events"> <xhtml:head> <xhtml:title>Read Input XML Steam</xhtml:title> <xforms:model> <xforms:instance id="any-string"> <string>Your String</string> </xforms:instance> <xforms:submission id="submit" method="post" replace="instance" ref="instance('any-string')" action="http://localhost/project/read-input-xml-stream"/> </xforms:model> <xhtml:style type="text/css"> h1 { display: inline; padding-right: 10px; } .paragraph { margin-bottom: 1em; } .flickr-image { width: 75px; height:75 px; border: none } .back { display: block; margin-top: .5em } </xhtml:style> </xhtml:head> <xhtml:body> <xhtml:h1>Enter Your String</xhtml:h1> <xhtml:div class="paragraph"> <xforms:group> <xforms:input ref="instance('any-string')"> <xforms:label>Enter: </xforms:label> <xforms:help>Enter any String</xforms:help> <xforms:hint>Enter any String</xforms:hint> </xforms:input> <xforms:trigger> <xforms:label>Submit Data</xforms:label> </xforms:trigger> <xforms:send submission="submit" ev:event="DOMActivate"/> </xforms:group> </xhtml:div> </xhtml:body> </xhtml:html> http://localhost/project/read-input-xml-stream where my servlet is available. Thanks in advance. -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 -- 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 |
The source of the drop down list is apparently the configuration of:
<property as="xs:string" name="oxf.fr.authentication.method" value="container"/> it works if set to "header". Is there some explenation for this? greetings Florian -- 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 |