hi all.
I had to pass some request parameters to my generator servlet. below is the sitemap snippest related to this. I want my generator to use the SOURCE servlet to get the input xml.in SOURCE servlet I make Query and regarding to it , return the OUT containing data.
but i can't send the table name to SOURCE servlet.because the session vanishes?!
 
//this code is in Cocoon servlet
        table=req.getParameter("table");
        req.getSession().setAttribute("table",table);
/////////////////////////////////////////////////////////////////////
 
//this code is in SOURCE servlet
table=request.getSession().getAttribute("table");
/////////////////////////////////////////////////////////////////////
 
            <map:match pattern="report.html">
                <map:generate src=""/'>http://localhost:8083/web/SOURCE"/>
                <map:transform src=""/>
                <map:serialize type="html"/>
            </map:match>
 
in SOURCE servlet my table becomes null
 
thanks alot for your attention.
Best Regards.


Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

Reply via email to