On 23/04/18 14:42, Luis Rodríguez Fernández wrote:
> Hello Mark,
> 
> Thank you for sharing the materials!
> 
> https://apache.github.io/tomcat-training/courses/tomcat-for-administrators.html#/132
> Do you have such .jsp anywhere? Would it make sense to add it as part of
> the /examples/jsp/ of tomcat distribution?

Just add:

<%
long current = System.currentTimeMillis();
while (System.currentTimeMillis() < current + 10000) {
}
%>

to a JSP.

I don't think we want anything like this in the examples. Too many folks
expose the examples to the internet and adding a JSP liek the above
would invite a DoS attack.

Mark


> 
> Thanks in advance,
> 
> Luis
> 
> 2018-04-23 15:15 GMT+02:00 Berneburg, Cris J. - US <cberneb...@caci.com>:
> 
>> Thanks Mark
>>
>> [lots of snippage]
>>
>> MT> https://apache.github.io/tomcat-training/
>>
>> cjb> Should "Client" actually be "Server" in Step 12: ChangeCipherSpec?
>> cjb> Or did you already know about that?
>>
>> MT> It should and I didn't. I've just committed the fix. It should be
>> MT> live in a few minutes. Thanks for spotting that and pointing it out.
>>
>> Sure, thanks for fixing it.  Also, is that the sort of modification a
>> Tomcat newbie like me could perform?
>>
>> cjb> Also, are the demonstrations (marked by the placeholders in the
>> cjb> presentation) part of the recorded sessions from previous Tomcat
>> cjb> conventions?
>>
>> MT> The aim is to record each module off-line (rather than at a training
>> MT> course where there is rather too much other stuff to do) and post it
>> MT> on YouTube. There aren't any fixed timescales for this though.
>>
>> Thanks Mark, good to know.
>>
>> --
>> Cris Berneburg
>> CACI Lead Software Engineer
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to