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
posted
0
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
posted
0
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
posted
0
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
posted
0
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
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
posted
0
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