Yes, certainly you can put a servlet in a JAR... after all, Struts is
based on a servlet, and you generally just drop the Struts JAR into your
webapp... accessing a servlet via AJAX is, in simplest terms, just a
plain old HTTP request like any non-AJAX request, so yes, you can do
that too.
If
Is it possible to put a servlet in a .jar file and be able to access it
via AJAX?
I have some support servlets that I want to share via a common library.
To this point Ive only been putting session beans in there. Its easy to
point to those using 'do something similar to a servlet such that I
"Pid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Am thinking about implementing a custom Form authenticator, does anyone
> have any tips or links they can recommend before i get started?
>
> Particularly want to know if I can use it on one webapp, not force all
> on the server t
Pid,
> Am thinking about implementing a custom Form authenticator, does anyone
> have any tips or links they can recommend before i get started?
>
> Particularly want to know if I can use it on one webapp, not force all
> on the server to use it too.
http://securityfilter.sourceforge.net
You ca
Am thinking about implementing a custom Form authenticator, does anyone
have any tips or links they can recommend before i get started?
Particularly want to know if I can use it on one webapp, not force all
on the server to use it too.
cheers,
pid
-
Thanks, Tim - I'll give that a try later today.
Dave
Tim Lucia wrote:
You could stream it directly to the user, if practical (why write to a temp
file only to stream that back to the user?) In order to be recognized by
the browser as text and an attachment, you should:
response.setContentTy
You could stream it directly to the user, if practical (why write to a temp
file only to stream that back to the user?) In order to be recognized by
the browser as text and an attachment, you should:
response.setContentType("text/plain; charset=UTF-8");
response.setHeader("Content-disposition", "
Hi,
if apache has the right idea, which hostname has been adressed and you
use mod_jk, usually you get the right redirects. If apache doesn't know,
because of ssl offloading or load balancers hiding the correct
information, you can set attributes on the tomcat side in server.xml to
the connector e