On 05/02/2018 03:18, Dave Glasser wrote:
> Thanks, that is pretty clear and unambiguous, as is "The name of
> the parameter must be jsessionid." When the spec is in conflict with itself,
> I'm happy to consider Tomcat the reference implementation.
Technically, the RI is glassfish.
This sort
Thanks, that is pretty clear and unambiguous, as is "The name of
the parameter must be jsessionid." When the spec is in conflict with itself,
I'm happy to consider Tomcat the reference implementation.
The reason a session cookie name had to be specified in the first place was
because we initiall
On 03/02/18 21:55, Dave Glasser wrote:
> This text is based on a stackoverflow question I posted earlier today:
> https://stackoverflow.com/questions/48600576/jsessionid-as-path-parameter-not-working-in-tomcat/48602272
>
>
> I'm using Tomcat 7.0.84, and my web app uses the Se
This text is based on a stackoverflow question I posted earlier today:
https://stackoverflow.com/questions/48600576/jsessionid-as-path-parameter-not-working-in-tomcat/48602272
I'm using Tomcat 7.0.84, and my web app uses the Servlet 3.0 deployment
descriptor. The web.xml file contains
On 02/10/17 07:23, Brian Toal wrote:
> I want to decouple my solution from web.xml completely, so the goal is to
> have the container to scan all jars on the classpath and look for Servlet
> 3.0 annotations and do the necessary (register servlet context listeners,
> filters, servlet
I want to decouple my solution from web.xml completely, so the goal is to
have the container to scan all jars on the classpath and look for Servlet
3.0 annotations and do the necessary (register servlet context listeners,
filters, servlets, etc). In the code below, the container starts, but none
gt; request are sitting idle, so *the container can use them to
>>>>>> process new requests*. Asynchronous processing refers to
>>>>>> *assigning these blocking operations to a new thread and
>>>>>> returning
>>>>>
ty in tomcat via calling
>>>> `javax.servlet.AsyncContext.start(Runnable)`! I investigated the cause
>>>> and found it at [2]:
>>>>
>>>> public synchronized void asyncRun(Runnable runnable) {
>>>> ...
>>>>
)`! I investigated the cause
>>> and found it at [2]:
>>>
>>> public synchronized void asyncRun(Runnable runnable) {
>>> ...
>>> processor.execute(runnable);
>>>
>>> I mean `processor.execute(r
;>> ...
>>> processor.execute(runnable);
>>>
>>> I mean `processor.execute(runnable)` uses same thread pool which it's
>>> also it's duty to process new requests! Such usage made things worse!
>>> i.e. not only does n
y to process new requests! Such usage made things worse!
>> i.e. not only does not make thread pool more free to process new
>> requests, but also has an overhead via thread switching!
>>
>> I think Tomcat must use another thread pool for such blocking operations
>> and ke
k Tomcat must use another thread pool for such blocking operations
> and keep current thread pool free for new requests; It's the philosophy
> of Servlet 3.0's asynchronous support according to Oracle's
> documentation. wdyt?
I think this is a good question that highlights a lot
only does not make thread pool more free to process new
requests, but also has an overhead via thread switching!
I think Tomcat must use another thread pool for such blocking operations
and keep current thread pool free for new requests; It's the philosophy
of Servlet 3.0's asynchrono
On 04/09/2015 08:22, Bryn Cooke wrote:
> Hi,
> I've recently been looking at using the class transformer functionality
> in Tomcat 8.0.26 and came across a subtle interaction with servlet 3.0.
> I am registering my transformer in a ServletContain
Hi,
I've recently been looking at using the class transformer functionality
in Tomcat 8.0.26 and came across a subtle interaction with servlet 3.0.
I am registering my transformer in a ServletContainerInitializer via
InstrumentableClassLoader.addTransformer, but couldn't understand
\Projects\Libraries\jarfile2.jar"
>
> C:\Projects\ProjectA\classes has classes with Servlet 3.0 annotations and I
> want tomcat to look for annotated classes in this class folder. To do this I
> have set the attribute scanAllDirectories=true under the JarScanner tag as
> follows
references. i.e
virtualClasspath is set to something as follows
virtualClasspath="C:\Projects\ProjectA\classes;C:\Projects\ProjectB\classes;C:\Projects\ProjectC\classes;C:\Projects\Libraries\jarfile1.jar;C:\Projects\Libraries\jarfile2.jar"
C:\Projects\ProjectA\classes has classes wi
Hi
I undid the changes i had done in server.xml and that seems to fix the
issue.
could you help me understand what could be happening ?
On Mon, May 14, 2012 at 5:19 PM, Konstantin Kolinko
wrote:
> 2012/5/14 rohit patil :
> > Thanks for replying,
> >
> > 1. I do not have any filters confi
2012/5/14 rohit patil :
> Thanks for replying,
>
> 1. I do not have any filters configured.
> 2. Yes my web.xml does mark themselves as adhering to the Sevlet 3.0
> specification
> 3. Yes apps under http://localhost:8080/examples/jsp/ also does NOT work,
> they also throw up the same exception.
>
>
30
On Mon, May 14, 2012 at 4:55 PM, Konstantin Kolinko
wrote:
> 2012/5/14 rohit patil :
> > Hi All,
> > I have written the below piece of code (NewServlet.java) to try the
> Servlet
> > 3.0 async feature.
> > But it is failing by throwing
2012/5/14 rohit patil :
> Hi All,
> I have written the below piece of code (NewServlet.java) to try the Servlet
> 3.0 async feature.
> But it is failing by throwing up the below mentioned error.
>
> Tomcat Version: 7.0.27 (32 bit)
> OS: Windows 7
>
> java.lang.IllegalSt
Hi All,
I have written the below piece of code (NewServlet.java) to try the Servlet
3.0 async feature.
But it is failing by throwing up the below mentioned error.
Tomcat Version: 7.0.27 (32 bit)
OS: Windows 7
java.lang.IllegalStateException: Not supported.
at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 2/27/12 9:45 AM, Mark Thomas wrote:
> It could be done easily on the merge but I'd be strongly against
> it. There are lots of rules for merging web fragments and I don't
> think we should be logging very decision that gets made.
If there's
>>>>
>>>
>>>> With metadata-complete="true", It works correctly.
>>>
>>> Interesting.
>
>> +1 That seems surprising. I don't see why the fragment would
>> impact this.
>
> Not at all surprising. Servlet 3.0
t;>
>>> With metadata-complete="true", It works correctly.
>>
>> Interesting.
>
> +1 That seems surprising. I don't see why the fragment would
> impact this.
Not at all surprising. Servlet 3.0, section 8.2.3, 5.g.ix
The web.xml resulting from the
On 27/02/2012 13:16, Christopher Schultz wrote:
> Lucas,
>
> On 2/27/12 5:36 AM, Lucas Pouzac wrote:
>> a library (prettyfaces) uses a web-tag fragment without
>>
>
>> With metadata-complete="true", It works correctly.
>
> Interesting.
+1 That seems surprising. I don't see why the fragment w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lucas,
On 2/27/12 5:36 AM, Lucas Pouzac wrote:
> a library (prettyfaces) uses a web-tag fragment without
>
>
> With metadata-complete="true", It works correctly.
Interesting. We should probably issue a warning if a web fragment
disagrees with a def
> className="org.apache.catalina.ha.session.JvmRouteBinderValve" />
> >
> >>
> >>
>
> 1. What exactly do you observe? Where? Why do you think that there is a
> problem?
> 2. What is in the logs?
>
> Regarding servlet 3.0:
On 23/02/2012 10:51, André Moraes wrote:
> Hello everyone, i'm new to the mailing list and I have a doubt that
> probably someone already had. I need to adapt my tomcat 6 to run servlet
> 3.0 and el 2.2. I work in a company that's very resilient about changing
> anything in
Hello everyone, i'm new to the mailing list and I have a doubt that
probably someone already had. I need to adapt my tomcat 6 to run servlet
3.0 and el 2.2. I work in a company that's very resilient about changing
anything in the main server, even if it is to make an upgrade from tom
t is a
single regexp.
> className="org.apache.catalina.ha.session.JvmRouteBinderValve" />
>
>>
>>
1. What exactly do you observe? Where? Why do you think that there is a problem?
2. What is in the logs?
Regarding servlet 3.0: enabling 3.0 turns
; > Hi,
> >
> > I have a concern about replication sessions when using the standard
> Servlet
> > 3.0.
> >
> > Do you have an idea for this to work?
> >
> >
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=52685
> >
> > *If
On 20/02/2012 09:16, Lucas Pouzac wrote:
> Hi,
>
> I have a concern about replication sessions when using the standard Servlet
> 3.0.
>
> Do you have an idea for this to work?
>
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=52685
>
> *If in web.xml,
Hi,
I have a concern about replication sessions when using the standard Servlet
3.0.
Do you have an idea for this to work?
https://issues.apache.org/bugzilla/show_bug.cgi?id=52685
*If in web.xml, I declare:
http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml
t; Matthew Tyson wrote:
>
> >I guess what I'm asking is if I just start using the Servlet 3.0
> >support
> >for suspending requests out of the box, will it be a thread blocking
> >implementation I'm using?
>
> That depends what you mean by "thread blocking
Matthew Tyson wrote:
>I guess what I'm asking is if I just start using the Servlet 3.0
>support
>for suspending requests out of the box, will it be a thread blocking
>implementation I'm using?
That depends what you mean by "thread blocking". Once startAsync has
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthew,
On 11/8/11 4:43 PM, Matthew Tyson wrote:
> So if I want to use Servlet 3.0 async (eg, a call to
> request.startAsync), and have it be handled without blocking IO, I
> need to use the NIO connector?
To repeat Mark's reply:
&
I guess what I'm asking is if I just start using the Servlet 3.0 support
for suspending requests out of the box, will it be a thread blocking
implementation I'm using?
HTTP APR/native is blocking as well, correct?
So if I want to use Servlet 3.0 async (eg, a call to request.startAsync)
On 08/11/2011 20:15, Matthew Tyson wrote:
> Hey Guys,
>
> It has been my assumption that Tomcat 7's comet implementation (ie,
> asyncSupported=true), will automatically use NIO processing.
Comet != Servlet 3.0 async
> Is that not true?
Yes, that is not true.
> Do I ne
Hey Guys,
It has been my assumption that Tomcat 7's comet implementation (ie,
asyncSupported=true), will automatically use NIO processing.
Is that not true? Do I need to set the connector to be
org.apache.coyote.http11.Http11NioProtocol explicitly?
Thanks,
Matt
2011/10/14 Mete BALCI :
> I found the problem using new Exception().printStackTrace()
>
> The problem was PsiProbe application that I am using to monitor Tomcat. The
> valve it is using to instrument tomcat is probably not async aware. After
> undeploying it, async support works as expected. I will
I found the problem using new Exception().printStackTrace()
The problem was PsiProbe application that I am using to monitor Tomcat. The
valve it is using to instrument tomcat is probably not async aware. After
undeploying it, async support works as expected. I will notify PsiProbe team
about the i
2011/10/14 Mete BALCI :
> web.xml root is:
> http://java.sun.com/xml/ns/javaee";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
> version="3.0">
>
> I tried mapping
I want to clarify the situation with a simpler example.
I have created a war with 2 servlets, without a web.xml. So war contains
only 2 classes (for each servlet).
One servlet is annotated as:
@WebServlet(value = "/async", asyncSupported = true)
Other is annotated as:
@WebServlet(value = "/sync"
web.xml root is:
http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
version="3.0">
I tried mapping both with annotation and web.xml. A
2011/10/14 Mete BALCI :
> Hello,
>
> I am trying to use Servlet 3 async support in Tomcat 7.0.21. I tried setting
> annotation asyncSupported=true and writing this to web.xml, tried using apr
> and nio, still getting false from isAsyncSupported, what am I missing ?
>
> Mete
>
> PS: There is no filt
Hello,
I am trying to use Servlet 3 async support in Tomcat 7.0.21. I tried setting
annotation asyncSupported=true and writing this to web.xml, tried using apr
and nio, still getting false from isAsyncSupported, what am I missing ?
Mete
PS: There is no filter, just a single servlet overriding do
Hi Chris,
>
> It seems dangerous to allow the client to specify the file name. All
> kinds of bad things can happen such as specifying special file names
> (does "PRN" still work in win32? through Java?) or overwriting files
> from other clients.
>
> I would highly recommend that some portion of
ENAME);...instead of
> part.getHeader("filename");
You could read the Servlet 3.0 spec. Or the javadocs.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk5mdV4ACgkQ9CaO5/L
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Konstantin,
On 9/3/2011 11:51 AM, Konstantin Preißer wrote:
> What I usually do to get the filename is:
>
> Part uploadPart = request.getPart("uploadfield"); // get the Part
> String contDispoHeader =
> uploadPart.getHeader("Content-Disposition"); /
gt; around to see if anything something similar could be done with
> servlet 3.0.
The servlet API does not have any such provisions: your code executes
after the file upload has completed.
If you want to interact with the stream, you'll have to either handle
the stream yourself or use a libr
Thanks guys!
Ole
On 09/03/2011 10:51 AM, Konstantin Preißer wrote:
Hi,
-Original Message-
From: Jonathan Soons [mailto:jso...@juilliard.edu]
Sent: Saturday, September 03, 2011 2:24 PM
To: Ole Ersoy; Tomcat Users List
Subject: RE: Servlet 3.0 File Upload
You need to add a line in in
und to see
if anything something similar could be done with servlet 3.0.
Thanks,
- Ole
On 09/05/2011 03:12 PM, André Warnier wrote:
Ole Ersoy wrote:
Hi,
Anyone know whether it's possible to monitor progress of a file upload?
What do you mean by "monitoring" ?
Is it a question o
Ole Ersoy wrote:
Hi,
Anyone know whether it's possible to monitor progress of a file upload?
What do you mean by "monitoring" ?
Is it a question of providing the user with some feedback, like a progress bar ?
If so, then one of the easier ways would be to write your own java applet, download
ame");
Then instead of part.write("samplefile");
do:
part.write(filename);
Jonathan Soons
From: Ole Ersoy [ole.er...@gmail.com]
Sent: Friday, September 02, 2011 6:50 PM
To: Tomcat Users List
Subject: Servlet 3.0 File Upload
Hi,
I have a wo
ame");
Then instead of part.write("samplefile");
do:
part.write(filename);
Jonathan Soons
From: Ole Ersoy [ole.er...@gmail.com]
Sent: Friday, September 02, 2011 6:50 PM
To: Tomcat Users List
Subject: Servlet 3.0 File Upload
Hi,
I have a wo
__
From: Ole Ersoy [ole.er...@gmail.com]
Sent: Friday, September 02, 2011 6:50 PM
To: Tomcat Users List
Subject: Servlet 3.0 File Upload
Hi,
I have a working file upload servlet, with the exception that it calls the uploaded file
"samplefile" instead of using the name of the file. S
Hi,
Anyone know whether it's possible to monitor progress of a file upload?
TIA,
- Ole
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Hi,
Anyone know if the the keys for the various javax.servlet.http.Part headers are
available as constants anywhere? I'd like to do something like:
part.getHeader(Part.FILENAME);...instead of
part.getHeader("filename");
TIA,
- Ole
-
Hi,
> -Original Message-
> From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris
> derham
> Sent: Saturday, September 03, 2011 6:51 PM
> To: Tomcat Users List
> Subject: Re: Servlet 3.0 File Upload
>
>
> Letting the remote user control t
> > You need to add a line in in your form:
> >
> >
> > Then in your servlet GetPost() method you put this filename in a
> > variable:
> > String filename;
> > filename = req.getParameter("filename");
> >
> > Then instead of part.write("samplefile");
> > do:
> > part.write(filename);
>
Letting th
Hi,
> -Original Message-
> From: Jonathan Soons [mailto:jso...@juilliard.edu]
> Sent: Saturday, September 03, 2011 2:24 PM
> To: Ole Ersoy; Tomcat Users List
> Subject: RE: Servlet 3.0 File Upload
>
> You need to add a line in in your form:
>
>
> Then in
me);
Jonathan Soons
From: Ole Ersoy [ole.er...@gmail.com]
Sent: Friday, September 02, 2011 6:50 PM
To: Tomcat Users List
Subject: Servlet 3.0 File Upload
Hi,
I have a working file upload servlet, with the exception that it calls the
uploaded file "samplefile" instead of using
Never mind...I see the example hard codes the name of the file. Sorry for the
noise.
On 09/02/2011 05:50 PM, Ole Ersoy wrote:
Hi,
I have a working file upload servlet, with the exception that it calls
the uploaded file "samplefile" instead of using the name of the file. So
if I upload differe
Hi,
I have a working file upload servlet, with the exception that it calls the uploaded file
"samplefile" instead of using the name of the file. So if I upload different
files, they all overwrite each other. Any ideas on how to fix this? I used this
tutorial to get it working:
http://www.s
Konstantin,
I may have to give the debugger a try - thanks for the info.
Matt
On Wed, Jul 20, 2011 at 1:02 PM, Konstantin Kolinko
wrote:
> > org.apache.tomcat.util.bcel.classfile.ClassFormatException:
> > Invalid byte tag in constant pool: 60
>
> The above message is created by
> o.a.tomcat.uti
> org.apache.tomcat.util.bcel.classfile.ClassFormatException:
> Invalid byte tag in constant pool: 60
The above message is created by
o.a.tomcat.util.bcel.classfile.Constant#readConstant(...). There is a
switch() and default: label results in this exception being thrown.
Expected values there are
On 20/07/2011 21:37, Matthew Tyson wrote:
> java -version:
>
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
>
> We just upgraded it from 1.6.0_22 to see if it would address this problem
> (it didn't).
Are
java -version:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
We just upgraded it from 1.6.0_22 to see if it would address this problem
(it didn't).
> 1. Are you using Tomcat downloaded from tomcat.apache.org?
2011/7/20 Matthew Tyson :
> Adding that to the skip list definitely prevented that error, but I'm
> getting many jars with the same problem. I thought I could maybe get away
> with just skipping them all, but I'm starting to see some jars that have
> taglibs in them (and so need to be scanned).
>
,dnsns.jar,jcharset.jar,pager-taglib.jar
Any ideas?
Thanks,
Matt
On Wed, Jul 20, 2011 at 12:21 AM, Mark Thomas wrote:
> On 20/07/2011 03:55, Matthew Tyson wrote:
> > Hey guys,
> >
> > tomcat 7.0.19
> > Java 1.6.0_22
> > CentOS 5.6
> >
> > I just
On 20/07/2011 03:55, Matthew Tyson wrote:
> Hey guys,
>
> tomcat 7.0.19
> Java 1.6.0_22
> CentOS 5.6
>
> I just switched the web.xml to servlet 3.0 (from a app running servlet 2.4
> previously without issue) and now I'm seeing the following error (turned on
>
Hey guys,
tomcat 7.0.19
Java 1.6.0_22
CentOS 5.6
I just switched the web.xml to servlet 3.0 (from a app running servlet 2.4
previously without issue) and now I'm seeing the following error (turned on
fine logging in the util class):
FINE: Scanning JAR [file:/usr/java/jdk1.6.0_22/jre/li
Dear Sirs,
On Thursday, May 26, 2011 1:14 AM
- From what you have above, "/guess" does not appear to be a valid URL.
You appear to have lost the context path somewhere.
This problem has been resolved. In this case, when JSP("guess.jsp") calls
Servlet("GuessServlet.java"), the absolute path is
Dear Sirs,
Chris and Mark,
Thank you for your advice on my questions. I can make me understood how to
use "@WebServlet" annotation on Tomcat 7.0.14..
Regaeds,
--
Noriko Etani
Kobe Institute of Computing, Japan
Email: et...@kic.ac.jp/kero...@kcn.ne.jp
---
branched into two paths.
>> Third, two path are brabched depending on a answer. One is
>> "/reqattr/guess.jsp". Another is "/reqattr/guess_hit.jsp". The branch
>> control is done by "RequestDispatcher dispatcher =
>> request.getRequestDispatcher(path)
"GuessServlet.java" can return to "guess.jsp" or "guess_hit.jsp".
> Fifth, "guess.jsp" can call "/reqattr/GuessServlet.java" by inputing a
> charactor, again.
> Sixth, Here, a browser showed the error message of HTTP status 404,
> which
Dear Sirs,
Thank you for your replying. I would like to explain my questions in detail.
---
Eclipse 3.6(Helios)
Tomcat 7.0.14
Servlet 3.0
Windows XP SP3 x86 version
What is the result? Is this webapp deployed into the /test context path?
A browser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kerotan,
On 5/24/2011 1:28 PM, kerotan wrote:
> Tomcat 7.0.14
> My servlet programs with "@WebServlet" annotation have three problems as
> follows:
> 1. A servlet program with "@WebServlet"
> annotation(@WebServlet(name="HelloServlet", urlPatterns=
Dear Sirs,
Tomcat 7.0.14
Servlet 3.0
Windows XP SP3 x86
My servlet programs with "@WebServlet" annotation have three problems as
follows:
1. A servlet program with "@WebServlet"
annotation(@WebServlet(name="HelloServl
Dear Sirs,
Tomcat 7.0.14
Servlet 3.0
Windows XP SP3 x86版
My servlet programs with "@WebServlet" annotation have three problems as
follows:
1. A servlet program with "@WebServlet"
annotation(@WebServlet(name="HelloServl
; >
> >Thanks,
> >Dan
> >
> >On Thu, May 12, 2011 at 1:00 PM, Dan Checkoway
> >wrote:
> >
> >> Ah, excellent. Glad to know I wasn't on crack. :-) Thanks for the
> >quick
> >> reply!
> >>
> >> Dan
> >>
>
>https://github.com/dcheckoway/async-test
>
>Thanks,
>Dan
>
>On Thu, May 12, 2011 at 1:00 PM, Dan Checkoway
>wrote:
>
>> Ah, excellent. Glad to know I wasn't on crack. :-) Thanks for the
>quick
>> reply!
>>
>> Dan
>>
>>
&
t; Ah, excellent. Glad to know I wasn't on crack. :-) Thanks for the quick
> reply!
>
> Dan
>
>
> On Thu, May 12, 2011 at 12:51 PM, Mark Thomas wrote:
>
>> On 12/05/2011 17:33, Dan Checkoway wrote:
>> > Hello,
>> >
>> > I recently st
Ah, excellent. Glad to know I wasn't on crack. :-) Thanks for the quick
reply!
Dan
On Thu, May 12, 2011 at 12:51 PM, Mark Thomas wrote:
> On 12/05/2011 17:33, Dan Checkoway wrote:
> > Hello,
> >
> > I recently started working with Servlet 3.0 async stuff with
On 12/05/2011 17:33, Dan Checkoway wrote:
> Hello,
>
> I recently started working with Servlet 3.0 async stuff with Tomcat 7.0.12,
> and I bumped into what may be a serious bug. Or it may be that I'm just
> doing something dumb. :-)
>
> For some reason,
Hello,
I apologize if this is a duplicate post.
I recently started working with Servlet 3.0 async stuff with Tomcat 7.0.12,
and I bumped into what may be a serious bug. Or it may be that I'm just
doing something dumb. :-)
For some reason, response.sendRedirect and response.sendError ar
Hello,
I recently started working with Servlet 3.0 async stuff with Tomcat 7.0.12,
and I bumped into what may be a serious bug. Or it may be that I'm just
doing something dumb. :-)
For some reason, response.sendRedirect and response.sendError are not
producing expected behavior when usi
Michael McCutcheon wrote:
>Does Tomcat 7.0.8 support the Servlet 3.0 security annotations?
>
>@RolesAllowed
>@DeclareRoles
>@ServletSecurity
>
>, etc.?
Yes. Tomcat 7.0.x fully supports the Servlet 3.0 spec. Every release has p
Does Tomcat 7.0.8 support the Servlet 3.0 security annotations?
@RolesAllowed
@DeclareRoles
@ServletSecurity
, etc.?
thanks,
Mike
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail
>>> I don't see anything that would allow an ordering to be specified.
>>>
>>
>> Ordering is discussed in chapters 8.2.2 and 8.2.3 of the servlet 3.0 spec.
>>
>> In 8.2.3 it is explicitly written:
>> "As described above, when using annotations to
hing that would allow an ordering to be specified.
>>
>
> Ordering is discussed in chapters 8.2.2 and 8.2.3 of the servlet 3.0 spec.
>
> In 8.2.3 it is explicitly written:
> "As described above, when using annotations to define the listeners,
> servlets and filters
in chapters 8.2.2 and 8.2.3 of the servlet 3.0 spec.
In 8.2.3 it is explicitly written:
"As described above, when using annotations to define the listeners,
servlets and filters, the order in which they are invoked is
unspecified"
Best regards,
Konstantin Kolinko
On 2/8/2011 11:46 AM, Mark Thomas wrote:
On 08/02/2011 07:41, Michael McCutcheon wrote:
Do I need something in web.xml?
Yes.
Or do I need to declare something special on the servlet that calls the
login method?
No.
Do I need a section? If so, What should it be populated
with?
Yes. I'd j
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stevo,
On 2/8/2011 4:31 AM, Stevo Slavić wrote:
> I don't see support for
> ordering in @WebFilter annotation. Am I missing something?
I don't see anything that would allow an ordering to be specified.
> But if [programmatically adding] is the only
On 08/02/2011 09:31, Stevo Slavić wrote:
> Hello Tomcat users,
>
> Now that Tomcat 7 is out with Servlet 3.0 support, I've been trying
> out new features it brings. In pre 3.0 servlet era, one would specify
> filter in web.xml and order they are defined in the xml would
>
On 08/02/2011 07:41, Michael McCutcheon wrote:
> Do I need something in web.xml?
Yes.
> Or do I need to declare something special on the servlet that calls the
> login method?
No.
> Do I need a section? If so, What should it be populated
> with?
Yes. I'd just configure it as BASIC.
Mark
Hello Tomcat users,
Now that Tomcat 7 is out with Servlet 3.0 support, I've been trying
out new features it brings. In pre 3.0 servlet era, one would specify
filter in web.xml and order they are defined in the xml would
determine order filters would get applied. I don't see support fo
Hello,
I'm attempting to setup my web app to authenticate via the new Servlet
3.0 HttpServletRequest.login method.
I have a JDBC realm set up in the context.xml in Netbeans 7. Now I'd
like to use the request.login method to authenticate against that realm.
The problem I'm h
An enhancement bug has been entered for those with the itch. It appears
the existing JspC task still writes out 2.3 when it writes a new web.xml.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50234
-Tim
On 11/8/2010 5:45 AM, Ronald Klop wrote:
+1 Precompiled jsp's with annotations in a
1 - 100 of 118 matches
Mail list logo