This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I think that Resin's default /webapps is very confusing... ie:
When you install Resin, the default /webapps, "resin-doc", is setup via the /conf/resin.conf file to point to the /doc directory. The /doc directory has one index.jsp file that does a "forward" to page in the actual webapp ie: /webapps/resin-doc/
In the Resin tutorial, they tell you to simply create a directory under /webapps, for example: /webapps/superapp/, drop a .jsp file in this directory, and you can go on your merry way of accessing this new webapp by going to: http://localhost:8080/superapp
Yes, this works, but nobody wants to have to type in the /superapp in order to access your new webapp.
I searched and searched and searched online, but couldn't find an easy way to access your new webapp (/webapps/superapp/), via just typing in: http://localhost:8080/
I know this question is of uber-newb status, but I thought it would be nice if this was documented
Any quick answer !?
/* the more you know, the less you need */
Joined: Aug 04, 2003
Ok... I'd thought I'd drop by and answer my own question
You need to change this line: <document-directory>doc</document-directory>
To be: <document-directory>webapps/yourproject</document-directory>
This will ensure that anytime you type in: http://localhost:8080, that you'll be directed to your own webapp instead of the default resin-doc webapp pre-configured.
That stumped me for a while. If this helped anybody else but me, definintely let me know
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com