For example like this :

<?xml version="1.0" encoding="ISO-8859-1"?>
<?cocoon-process type="xsp"?>
<xsp:page
          language="java"
          xmlns:xsp="http://apache.org/xsp";
          xmlns:esql="http://apache.org/cocoon/SQL/v2";
          xmlns:xsp-request="http://apache.org/xsp/request/2.0";
          xmlns:util="http://apache.org/xsp/util/2.0";>

  <page>

   <title>Dynamic playlist</title>



        <xsp:logic>
        String user= request.getParameter("user");
         String playlist= request.getParameter("playlist");
         String playpath= request.getParameter("playpath");
         String path ="http://netia.net:8080/video/";;

        </xsp:logic>

........


Have a good day

Florent

Florent Barbare
Project Manager

----------------------------------------------------------------------------
----


NETIA
Halle Industrielle de Farjou
34270 CLARET / FRANCE
T�l :  +33 (0)4 67 59 08 07
Fax : +33 (0)4 67 59 08 20

www.netia.net
----------------------------------------------------------------------------
----



-----Message d'origine-----
De : Oro smith [mailto:[EMAIL PROTECTED]
Envoy� : mercredi 26 mai 2004 12:32
� : [EMAIL PROTECTED]
Objet : Java code in xsp page


How can i include java code in xsp page ?

Does cocoon webmail recognise classes like Address,Message which are present
in the javax.mail.* package ? Can i include these classes within the xsp
code?

How can strings be displayed in xsp ?

thank you.
Smith


-------------------------------------------------
Still single? Click here to find the perfect match.

http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141

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


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

Reply via email to