This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

running a Tomcat example

 
connie lindstrom
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
As suggested, went to the _How to make your first JSP page work on Tomcat? It got me up and running the jsp examples in the default Tomcat directory.
Now, it would be nice to have a working directory other than \examples\, for now mydev, per the below example. I thought I followed these instructions, but am to the part about calling the �mydev� directory. Have assiduously followed the directions and am still missing it -
1.Modify the file Server.xml. Add a new Context tag within the ContextManager tag
2. < Context path="/mydev" docbase="webapps/mydev" debug="0" reloadable="true" >
3. < /Context >

The above code was added just below the existing �<Context path=/examples . . .>� code block.
Upon selecting an example, in the mydev directory, this message appears -

Any suggestions would bea ppreciated.
Thanks again for getting me this far, Connie
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

connie:
I would first check to see whether the package structure
in different files involved is correct or not....
also, are you compiling all the .java files?
or are you just accessing the jsp file and assuming that
the java files will be compiled.
To help you, I would need to know more info of what files
you are putting in your mydev directory....
Let me know when you get a chance.
regds.
- satya
 
connie lindstrom
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Satya,
Thanks for asking these questions. Let me try working with your ideas before pursuing this any further.
Connie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic