tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Non-standard webapp layout
Date Thu, 11 Oct 2007 17:17:03 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glen,

Glen Vermeylen wrote:
> Hi all,
> 
> Recently I moved to a (ancient) project which uses following layout:
> 
> content/
>     *.jsp
>     /WEB-INF/web.xml, struts-config.xml,...
>     /src
> 
> I'm used to working in the standard J2EE layout where I can just point
> tomcat to my project directory and it can run the application from there,
> instantly seeing changes to jsp's and class files.

I'm not sure there's anything called a "standard J2EE layout".

> With the current structure this seems impossible, forcing me every time I
> make a change to rebuild the war and redeploy the application.

Why not just point Tomcat to the "content" directory instead of the one
above it?

> Is it possible to run the application from my project folder without
> touching the source layout?

Of course. Your web application lives in /path/to/content, rather than
/path/to. That can't be hard to deal with.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHDlqP9CaO5/Lv0PARAr58AJ9JXRmVdsbvNSxpS8W00s8768MAjwCeJ/Ms
XCATNqAxNCfpnzzbZQ+Tnms=
=lH8T
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message