aspose file tools
The moose likes Servlets and the fly likes cocoon Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "cocoon" Watch "cocoon" New topic
Author

cocoon

Simon Xu
Ranch Hand

Joined: Aug 16, 2000
Posts: 235
hi,
I installed cocoon & Tomcat in solaris under my account.
But there is no folder called servlets or classes. Where should I put my servlet class file, and html file? what is the appropriate URL to load the servlet & html?
Thanks
Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
i made my own folder where i store my files in it.


Val SCJP <BR>going for SCJD
Bidyut Padhi
Ranch Hand

Joined: Sep 07, 2000
Posts: 121
I think if you must need to keep your folder in classpath of the
Server. Which is Important.
regards
Bidyut
Simon Xu
Ranch Hand

Joined: Aug 16, 2000
Posts: 235
Thanks for your tips.
But should I modify the web.xml or server.xml file to do servlet-mapping stuffs?
Thanks
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

either ONE will work. For an example, pl read this article where
they explain everything abt Tomcat and more....
Also, to run servlets based on HTML, you don't need cocoon,
Tomcat is sufficient.
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Simon Xu
Ranch Hand

Joined: Aug 16, 2000
Posts: 235
Madhav, Thanks.
One more thing, how could I set up my classpath under Unix (Solaris)? It works in my PC. But I do not know where can I find autoexect file under unix.
thanks
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

In your ~/.profile or ~/.login file.
It also depends on the type of shell you run. In a ksh
use export CLASSPATH=/usr/jdk1.2.2
hth.
regds.
- satya
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Simon,
PLease check the foll links from Sun to set classpath in Unix.
http://java.sun.com/products/jdk/1.2/install-solaris.html#Classpath
http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/classpath.html
regds
maha anna
Simon Xu
Ranch Hand

Joined: Aug 16, 2000
Posts: 235
Maha & Madhav,

Thanks for your help.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: cocoon
 
Similar Threads
XHTML to PDF Transformation
Has someone used Cocoon
Create many XML-Outputs with one XSL-file
Cocoon 2
Report printing in java