You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jonatan Aguirre Kobayashi <jo...@gmail.com> on 2010/12/01 14:12:25 UTC
Fwd: Tomcat 7: Compatibility problems
Hello, i have a problem with Tomcat 7.0, in olders versions i used the
Invoker Servlet to testing my applications, but now in version 7.0 i have a
error because class *Servlet invoker *dont exists.
There is a solution for this problem?
Thanks.
Re: Fwd: Tomcat 7: Compatibility problems
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonatan,
On 12/1/2010 6:10 PM, Jonatan Aguirre Kobayashi wrote:
> Christofer, i used the invoker to prototype applications more faster, if you
> put your product to production the invoker has several security problems.
As Mark pointed out, you can use annotations with Tomcat 7 for "faster
prototypes" if you wish.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkz3CdoACgkQ9CaO5/Lv0PCgegCfcCX5y/oVTNFcfp+/R1MLU3Kg
5VwAn2sfLere1h2E+G/HamAB4Cq/LxCs
=ejOV
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Fwd: Tomcat 7: Compatibility problems
Posted by Jonatan Aguirre Kobayashi <jo...@gmail.com>.
Christofer, i used the invoker to prototype applications more faster, if you
put your product to production the invoker has several security problems.
thanks for the answer!
2010/12/1 Christopher Schultz <ch...@christopherschultz.net>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jonatan,
>
> On 12/1/2010 8:35 AM, Jonatan Aguirre Kobayashi wrote:
> > Can i implement the Servlet Invoker using annotations?
>
> The invoker servlet is completely unnecessary and was only available in
> older versions of the spec for backward-compatibility.
>
> The invoker was an idea that should have never made it into the spec in
> the first place because it introduces security problems and violates the
> principle of least surprise.
>
> The invoker was only ever good for lazy web app designers.
>
> The invoker does /not/ need to be re-build for your project. Instead,
> properly map them in web.xml per the specification and rest assured that
> you are safer for having done so.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkz2lWwACgkQ9CaO5/Lv0PD+9gCbBq0l2u7zpXsvi36+fVVffoEl
> 8AcAn2kCV3LKSQ7oB2U4FWYFHSe3GdRy
> =82nS
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Fwd: Tomcat 7: Compatibility problems
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonatan,
On 12/1/2010 8:35 AM, Jonatan Aguirre Kobayashi wrote:
> Can i implement the Servlet Invoker using annotations?
The invoker servlet is completely unnecessary and was only available in
older versions of the spec for backward-compatibility.
The invoker was an idea that should have never made it into the spec in
the first place because it introduces security problems and violates the
principle of least surprise.
The invoker was only ever good for lazy web app designers.
The invoker does /not/ need to be re-build for your project. Instead,
properly map them in web.xml per the specification and rest assured that
you are safer for having done so.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkz2lWwACgkQ9CaO5/Lv0PD+9gCbBq0l2u7zpXsvi36+fVVffoEl
8AcAn2kCV3LKSQ7oB2U4FWYFHSe3GdRy
=82nS
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Fwd: Tomcat 7: Compatibility problems
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jonatan Aguirre Kobayashi [mailto:jona.aguirre@gmail.com]
> Subject: Re: Fwd: Tomcat 7: Compatibility problems
> Can i implement the Servlet Invoker using annotations?
No. Don't even think about using such in insane mechanism.
http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q2
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Fwd: Tomcat 7: Compatibility problems
Posted by Jonatan Aguirre Kobayashi <jo...@gmail.com>.
Ok.
Can i implement the Servlet Invoker using annotations?
2010/12/1 Mark Thomas <ma...@apache.org>
> On 01/12/2010 13:12, Jonatan Aguirre Kobayashi wrote:
> > Hello, i have a problem with Tomcat 7.0, in olders versions i used the
> > Invoker Servlet to testing my applications, but now in version 7.0 i have
> a
> > error because class *Servlet invoker *dont exists.
> > There is a solution for this problem?
>
> Yes. Don't use the invoker. Map you servlets in web.xml (or use the new
> Servlet 3.0 annotations).
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Fwd: Tomcat 7: Compatibility problems
Posted by Mark Thomas <ma...@apache.org>.
On 01/12/2010 13:12, Jonatan Aguirre Kobayashi wrote:
> Hello, i have a problem with Tomcat 7.0, in olders versions i used the
> Invoker Servlet to testing my applications, but now in version 7.0 i have a
> error because class *Servlet invoker *dont exists.
> There is a solution for this problem?
Yes. Don't use the invoker. Map you servlets in web.xml (or use the new
Servlet 3.0 annotations).
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org