how  can i proviede a Sitemape,which receives data by HTTP and  represents  by 
means of transformer in HTML?.

my TestApplet 

StringBuffer uri = new 
StringBuffer("http://localhost:8080/cocoon/ameli/index.html";);
                BufferedReader br = null;
//              "http://localhost:8080/Acocoon/servlet/TestServlet";
        try {
                URL url=new URL(uri.toString());
//                       URL url=new URL("http://localhost:8080/cocoon/ameli/";);
                URLConnection con = url.openConnection();

                // Prepare for both input and output
                con.setDoInput(true);
                con.setDoOutput(true);

                // Turn off caching
                con.setUseCaches(false);

                // Set the content type to be java-internal/classname
                
con.setRequestProperty("Content-type","application/x-www-form-urlencoded 
;charset=ISO-8859-1");

                // Write the serialized object as post data
                ObjectOutputStream out = new 
ObjectOutputStream(con.getOutputStream());
                out.writeObject(field_DescriptionsDoc);
                
//              InputStream in =con.getInputStream();
//              ObjectInputStream ois = new ObjectInputStream(in);
//           //
////              //Get reply from servlet
//              String reply = ois.readObject().toString();
//
//              //Show the corresponding message or redirect the user to the
//              //next page.
//              
//              System.out.println("the reply is: " + reply);
//              
//              oos.close();
//              ois.close();
                out.flush();
                out.close();


my Sitemape is


<?xml version="1.0" encoding="ISO-8859-1"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>

<!--map:components>
   <map:generators>
      <map:generator name="objectionHTML" 
src="org.apache.cocoon.generation.StreamGenerator"/>
   </map:generators>

</map:components-->
        <!--map:pipelines>
                
                        <map:pipeline match="/index.html">
                        
                        <map:act type="request">
                        <map:parameter name="parameters" value="true"/>
                        <map:generate 
src="http://my.server.com/path/to/my/servlet{requestQuery}"/>  
                    </map:act>
                        </map:pipeline>
        </map:pipelines-->
        <map:pipelines>
                <map:pipeline>
                        <map:match pattern="index.html/">
                        <map:generate type="stream"/>
                        <map:transform src="stylesheets/objection04.xslt"/>
                        <map:serialize type="html"/>
                        </map:match>
                        <!--map:pipeline match="">
                                <map:generate 
src="http://localhost:8080/Acocoon/servlet/TestServlet"/>
                                
                                <map:transform 
src="stylesheets/objection04.xslt"/>
                        <map:serialize type="html"/-->
                        </map:pipeline>
                </map:pipelines>
</map:sitemap>

I would like to be shown HTML representation : automatic
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to