Hi,

I am using Jetspeed1.3a2, and I need to use xsl to transform xml into html
to display my searching result.

Goal: have several servlets/portlets on same page without refresh all
servlets/portlets when doing another new search

my servlet:
try{
        TransformerFactory tFactory = TransformerFactory.newInstance();
        Transformer transformer = tFactory.newTransformer(new
StreamSource("http://localhost:9090/jetspeed/xsl/i.xsl";));
        transformer.transform(new
StreamSource("http://localhost:9090/jetspeed/xsl/i.xml";), new
StreamResult(out));

} catch(Exception e) { e.printStackTrace();}

Q: How should I get the same result but using portlet API? Will it be better
than servlet?

Q: There's a few xsl file in <jetspeed-home>/WEB-INF/xsl
     What is the use? Is there a example related to these xsl files?

Q: I have several servlets on the same page, it will refresh every servlets
every time I click "submit" in one of them.
     Is it possible that I can keep all servlets' result  when I do a new
search in one servlet? (will using portlets solve the problem?)



Thank you for your advice :)



Irene








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

Reply via email to