Re: [VOTE] minimal JSR 154 only distribution

2002-12-09 Thread Justyna Horwat
I guess the high art of potty humor is not lost on idiots. My buttocks 
are clenched in anticipation for the Pier (C) and TM fart jokes.   :)

Justyna

Pier Fumagalli wrote:

On 9/12/02 9:16 Jon Scott Stevens [EMAIL PROTECTED] wrote:

 

What I would love to see is a tree of downloads where each one gains more
and more features (it is additive). Such as:

  JSR-154 Implementation
 /  \
  Jasper  Velocity
   /   \ \
Admin Tool (JMX) Java Server Feces   Scarab
   


Jon... That spelling of JSF is (C) and TM Pier 2002 :-)

   Pier


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




[PATCH] jakarta-servlet-api: JSP 1.2 examples

2002-09-08 Thread Justyna Horwat

This is a patch for the JSP 1.2 SendMail example. The implementation of 
this example is missing.

The implementation has a dependency on the JavaMail classes. By default 
the container does not have the JavaMail implementation classes ar 
runtime so this example won't work out of the box until that jar file 
is bundled.

This patch includes updates to the existing jsp files, adds the missing 
implementation file, and updates the build.xml file.

jakarta-servletapi-5/jsr152/build.xml
jakarta-servletapi-5/jsr152/examples/mail/sendmail.jsp
jakarta-servletapi-5/jsr152/examples/mail/sendmail.txt
jakarta-servletapi-5/jsr152/examples/WEB-INF/classes/SendMailServlet.java 
   -- NEW

Justy


Index: jsr152/build.xml
===
RCS file: /home/cvs/jakarta-servletapi-5/jsr152/build.xml,v
retrieving revision 1.2
diff -u -r1.2 build.xml
--- jsr152/build.xml27 Aug 2002 13:17:42 -  1.2
+++ jsr152/build.xml8 Sep 2002 22:18:27 -
@@ -19,6 +19,7 @@
   path id=examples.classpath
 pathelement location=${jsp-api.build}/classes/
 pathelement location=${servlet-api.jar}/
+pathelement location=${mail.jar}/
   /path
 
Index: jsr152/examples/mail/sendmail.jsp
===
RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/mail/sendmail.jsp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sendmail.jsp
--- jsr152/examples/mail/sendmail.jsp   27 Aug 2002 13:16:51 -  1.1.1.1
+++ jsr152/examples/mail/sendmail.jsp   8 Sep 2002 22:19:15 -
@@ -16,10 +16,13 @@
 SMTP service for your network./li
 liThe application logic assumes that no user authentication is required
 by your SMTP server before accepting mail messages to be sent./li
+liYou will need to have the a href=http://java.sun.com/products/javamail;
+JavaMail Implementation/a classes available to your container
+in order for this example to work./li
 liAll of the fields below are required./li
 /ul
 
-form method=POST action=../../SendMailServlet
+form method=POST action=../SendMailServlet
 table
 
   tr
   
Index: jsr152/examples/mail/sendmail.txt
===
RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/mail/sendmail.txt,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sendmail.txt
--- jsr152/examples/mail/sendmail.txt   27 Aug 2002 13:16:51 -  1.1.1.1
+++ jsr152/examples/mail/sendmail.txt   8 Sep 2002 22:19:33 -
@@ -16,10 +16,13 @@
 SMTP service for your network./li
 liThe application logic assumes that no user authentication is required
 by your SMTP server before accepting mail messages to be sent./li
+liYou will need to have the a href=http://java.sun.com/products/javamail;
+JavaMail Implementation/a classes available to your container
+in order for this example to work./li
 liAll of the fields below are required./li
 /ul
 
-form method=POST action=../../SendMailServlet
+form method=POST action=../SendMailServlet
 table
 
   tr


/* $Id$
 *
 */

import java.io.IOException;
import java.io.PrintWriter;
import javax.mail.Message;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;



/**
 * Example servlet sending mail message via JNDI resource.
 *
 * @author Craig McClanahan
 * @version $Revision$ $Date$
 */

public class SendMailServlet extends HttpServlet {

public void doPost(HttpServletRequest request,
   HttpServletResponse response)
throws IOException, ServletException
{

// Acquire request parameters we need
String from = request.getParameter(mailfrom);
String to = request.getParameter(mailto);
String subject = request.getParameter(mailsubject);
String content = request.getParameter(mailcontent);
if ((from == null) || (to == null) ||
(subject == null) || (content == null)) {
RequestDispatcher rd =
getServletContext().getRequestDispatcher(/jsp/mail/sendmail.jsp);
rd.forward(request, response);
return;
}

// Prepare the beginning of our response
PrintWriter writer = response.getWriter();
response.setContentType(text/html);
writer.println(html);
writer.println(head);
writer.println(titleExample Mail Sending Results/title);
writer.println(/head);
writer.println(body bgcolor=\white\);

try {

// Acquire our JavaMail session object
Context initCtx = new InitialContext();
Context envCtx = (Context) 

Re: [VOTE] New committer: Jean-Francois Arcand

2002-08-13 Thread Justyna Horwat

+1

Justy

Patrick Luby wrote:

 I would like to propose that we add Jean-François Arcand as a Tomcat 
 committer. I believe he has submitted enough patches to show that he 
 will be a positive contributor to Tomcat 5.

 Thanks,

 Patrick




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: New coyote branch

2002-08-01 Thread Justyna Horwat

Craig summed it up well in his e-mail. The attribute change listeners 
are explicitly required by the proposed servlet 2.4 spec. I need to 
modify the ServletRequest instance which happens to be present in Coyote.

Both Costin and Remy brought up issues related to as well as good 
solutions to branching. I like Remy's idea of creating a Tomcat 5 
adapter which would be consistent with the Tomcat 3  4 adapters.

(The javax.servlet API changes I made to jakarta-servletapi-5 will not 
affect whether Coyote builds or not. These are additions with no 
modification to the existing API's. I submitted a patch for these 
additions a couple of days ago but since there's no implementation you 
won't see any changes to the behavior.)

Justy

Patrick Luby wrote:

 Justy,

 I verified that Tomcat 5 builds and runs and most of the servlet tests 
 in Watchdog pass with the current Coyote connector. Of course, I don't 
 think any of the changes in the proposed 2.4 spec have been 
 implemented yet.

 Are there any changes to Coyote that are explicitly or implicitly 
 required by the spec? Or is the problem that API changes to the 
 javax/servlet classes that are required by the new spec will cause 
 Coyote to not build?

 Thanks,

 Patrick

 [EMAIL PROTECTED] wrote:

 On Wed, 31 Jul 2002, Peter Lin wrote:


 Justyna Horwat wrote:I looked in jakarta-tomcat-connectors and it 
 doesn't look like jakarta-tomcat-connectors has been branched yet. I 
 checked the archives and saw the vote results where it was decided 
 that the HEAD of jakarta-tomcat-connectors will be used for Tomcat 5 
 and Coyote 1.0 would be branched.

 I'd like to request that this branch be created. Remy?

 The reason I ask is that I'm working on a servlet 2.4 servlet 
 request events implementation which involves modifying 
 CoyoteRequest.java.



 What kind of changes ? Coyote should be independent of servlet,
 if you need to add something you can add it to the main branch.
 2.4 should be backward compatible - so it shouldn't change any behavior.
 Costin


 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




New coyote branch

2002-07-31 Thread Justyna Horwat

I looked in jakarta-tomcat-connectors and it doesn't look like 
jakarta-tomcat-connectors has been branched yet. I checked the archives 
and saw the vote results where it was decided that the HEAD of 
jakarta-tomcat-connectors will be used for Tomcat 5 and Coyote 1.0 would 
be branched.

I'd like to request that this branch be created. Remy?

The reason I ask is that I'm working on a servlet 2.4 servlet request 
events implementation which involves modifying CoyoteRequest.java.

Thanks!

Justy



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




[PATCH][jakarta-servletapi-5]

2002-07-30 Thread Justyna Horwat

This patch adds support for Servlet 2.4 servlet request events. These 
are new files so there's no diff.

Untar the patch in your jakarta-servletapi-5 directory. Contents of 
the tar file:

src/share/javax/servlet/ServletRequestListener.java
src/share/javax/servlet/ServletRequestAttributeListener.java
src/share/javax/servlet/ServletRequestAttributeEvent.java
src/share/javax/servlet/ServletRequestEvent.java

Justy



patch.tar
Description: Binary data

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


Re: [VOTE] Jan Luehe

2002-06-13 Thread Justyna Horwat

+1

Jan has done a great job on JSTL. He should continue to contribute many
quality Jasper 2 patches.

Justy

- Original Message -
From: Kin-Man Chung [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 12:09 PM
Subject: [VOTE] Jan Luehe


 I'd like to nominate Jan Luehe as a committer to tomcat.

 Jan is currently a commiter for Jakarta taglib project, and has been
 active in implementing JSTL, the standard tag library.

 Jan was involved with jasper 2 from the beginning, and has contributed
 to writing a number of important modules in jasper 2.  He has submitted
 a number of high quality patches recently, of which the tag pooling/reuse
 is an examples.

 Jan plans to contribute more to increase the performance of jsp pages,
 especially those with tag invokations.  His knowledge in JSTL would
 make him an invaluable addition to the tomcat development community.


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]