aspose file tools*
The moose likes XML and Related Technologies and the fly likes How to run XSP? Urgent!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to run XSP? Urgent!!!!" Watch "How to run XSP? Urgent!!!!" New topic
Author

How to run XSP? Urgent!!!!

shailendra vasale
Ranch Hand

Joined: Dec 17, 2000
Posts: 38
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>
 
 
subject: How to run XSP? Urgent!!!!