File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes Changing Resin's Default Webapp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Changing Resin Watch "Changing Resin New topic

Changing Resin's Default Webapp

Dylan Stamatopolis

Joined: Aug 04, 2003
Posts: 15
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:

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:

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 */
Dylan Stamatopolis

Joined: Aug 04, 2003
Posts: 15
Ok... I'd thought I'd drop by and answer my own question

You need to change this line:

To be:

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 agree. Here's the link:
subject: Changing Resin's Default Webapp
It's not a secret anymore!