Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cocoon

 
Simon Xu
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 439
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i made my own folder where i store my files in it.
 
Bidyut Padhi
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think if you must need to keep your folder in classpath of the
Server. Which is Important.
regards
Bidyut
 
Simon Xu
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Simon Xu
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maha & Madhav,

Thanks for your help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic