Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to run XSP? Urgent!!!!  RSS feed

shailendra vasale
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • 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.
<?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="">
<page title="Time of Day">

// Define a variable to hold the time of day
Date now = new Date();

To the best of my knowledge, it's now
<!-- Substitute time of day here -->
</xsp age>
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!