My god, I'm sorry.

I posted the directory structure wrong.

Web-inf is the root of the project
WEB-INF/web.xml
WEB-INF/content/*.jsp
WEB-INF/src

What I posted earlier wouldn't have been a problem at all. Looking at the
time, I think my mind was still on autopilot....
The problem is with the content-folder residing in the WEB-INF folder (the
theoretical development environment is Novell ExteND or something, which
no-one actually uses, but the project structure and ant script are still
being used)


"I'm not sure there's anything called a "standard J2EE layout"."
=> I meant the layout of a (exploded) war file.

Thanks for your reply,
Glen

2007/10/11, Christopher Schultz <[EMAIL PROTECTED]>:
>
> -----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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to