• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to run XSP? Urgent!!!!

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi All,
I installed Cocoon-1.8.2 with Tomcat-3.2.3 server.Now I want to run the following XSP file.
So in which directory of tomcat I should put this Sample.xsp file.Then how to run this? Does it require Sample.xsl also?
Can anybody please help me in running this.
Thanks in advance.
Regards,
SHAILENDRA.
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="sample.xsl" type="text/xsl"?>
<xsp age language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core">
<page title="Time of Day">

<xsp:logic>
// Define a variable to hold the time of day
Date now = new Date();
</xsp:logic>

<p>
To the best of my knowledge, it's now
<!-- Substitute time of day here -->
<xsp:expr>now</xsp:expr>
</p>
</page>
</xsp age>
 
reply
    Bookmark Topic Watch Topic
  • New Topic