Unsubscribe me ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 5:00 PM Subject: JBoss-user digest, Vol 1 #3218 - 8 msgs
> Send JBoss-user mailing list submissions to > [EMAIL PROTECTED] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/jboss-user > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of JBoss-user digest..." > > > Today's Topics: > > 1. Auto-increment primary keys and CMP (Robert Martin) > 2. Log4j or apache.common.logging? (Enrique Vetere) > 3. RE: Log4j or apache.common.logging? (James Higginbotham) > 4. Jetty Question (Greg Turner) > 5. Re: Jetty Question (Dmitri Colebatch) > 6. Re: Jetty Question (Greg Turner) > 7. capacity planning to use jboss (=?ISO-8859-1?Q?Emerson_Cargnin_-_SICREDI_Servi=E7os?=) > 8. Re: Jetty Question (Dmitri Colebatch) > > --__--__-- > > Message: 1 > From: Robert Martin <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]> > Date: Tue, 15 Oct 2002 13:21:02 -0700 > Subject: [JBoss-user] Auto-increment primary keys and CMP > Reply-To: [EMAIL PROTECTED] > > Hi - > > I have a table that has a NUMERIC primary key that is defined as an IDENTITY > key. The primary key column is defined such that the database automatically > sets the primary key on insert to the next incremental value. The user is > not allowed to set the key to any value or the database will return an > error. > > My problem is that I have defined a CMP bean that maps to this table, but I > cannot get a create to work. If I call a create which includes the primary > key, the database throws an exception because I am not allowed to set the > value. If I call a create method that does not take the primary key, the > database throws an exception because JBoss is trying to set the primary key > to null. > > My question is - is there any way to tell JBoss that this primary key is > managed by the database and thus should not be written to? > > How do people typically handle working with tables with identity keys? > > By the way, I am using JBoss 3.0.2 and Sybase Adaptive Server Enterprise 12. > > Thanks. > > Robert > > > --__--__-- > > Message: 2 > Date: Tue, 15 Oct 2002 17:33:29 -0300 > From: "Enrique Vetere" <[EMAIL PROTECTED]> > To: "'Jboss-User" <[EMAIL PROTECTED]> > Subject: [JBoss-user] Log4j or apache.common.logging? > Reply-To: [EMAIL PROTECTED] > > This is a multi-part message in MIME format. > > ------=_NextPart_000_001D_01C27470.F9EFD9C0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > > Does jboss use log4j directly? or is it used from the > org.apache.commons.logging SPI? > If the first if true (as I think it is): are there any plans to isolate it > thru commons.logging? > > > Enrique Vetere > --------------------------------------------------------------- > Baufest > http://www.baufest.com > Phone: 11-4807-8080 > Av. Las Heras 3257 > (C1425ASJ) Buenos Aires - Argentina > --------------------------------------------------------------- > > > > ------=_NextPart_000_001D_01C27470.F9EFD9C0 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=3DContent-Type content=3D"text/html; = > charset=3Diso-8859-1"> > <META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR></HEAD> > <BODY> > <DIV><FONT face=3DArial size=3D2><SPAN class=3D748442320-15102002>Does = > jboss use=20 > </SPAN></FONT><FONT face=3DArial size=3D2><SPAN = > class=3D748442320-15102002>log4j=20 > directly? or is it used from the org.apache.commons.logging=20 > SPI?</SPAN></FONT></DIV> > <DIV><FONT face=3DArial size=3D2><SPAN class=3D748442320-15102002>If the = > first if true=20 > (as I think it is): are there any plans to isolate it thru=20 > commons.logging?</SPAN></FONT></DIV> > <DIV><FONT face=3DArial size=3D2><SPAN=20 > class=3D748442320-15102002></SPAN></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2><SPAN = > class=3D748442320-15102002></SPAN></FONT><FONT=20 > face=3DArial size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2>Enrique=20 > Vetere<BR>---------------------------------------------------------------= > <BR>Baufest<BR><A=20 > href=3D"http://www.baufest.com/">http://www.baufest.com</A><BR>Phone:=20 > 11-4807-8080<BR>Av. Las Heras 3257<BR>(C1425ASJ) Buenos Aires -=20 > Argentina<BR>------------------------------------------------------------= > ---<BR></FONT></DIV> > <DIV> </DIV></BODY></HTML> > > ------=_NextPart_000_001D_01C27470.F9EFD9C0-- > > > > --__--__-- > > Message: 3 > Subject: RE: [JBoss-user] Log4j or apache.common.logging? > Date: Tue, 15 Oct 2002 15:53:33 -0500 > From: "James Higginbotham" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C2748C.ECD5A0A7 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > Search www.mail-archive.com under the jboss-dev list for a thread on > this. Short answer, no.=20 > =20 > James > > -----Original Message----- > From: Enrique Vetere [mailto:[EMAIL PROTECTED]]=20 > Sent: Tuesday, October 15, 2002 3:33 PM > To: 'Jboss-User > Subject: [JBoss-user] Log4j or apache.common.logging? > =09 > =09 > Does jboss use log4j directly? or is it used from the > org.apache.commons.logging SPI? > If the first if true (as I think it is): are there any plans to > isolate it thru commons.logging? > =20 > =20 > Enrique Vetere > --------------------------------------------------------------- > Baufest > http://www.baufest.com <http://www.baufest.com/>=20 > Phone: 11-4807-8080 > Av. Las Heras 3257 > (C1425ASJ) Buenos Aires - Argentina > --------------------------------------------------------------- > =09 > =20 > > > ------_=_NextPart_001_01C2748C.ECD5A0A7 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD><TITLE>Message</TITLE> > <META http-equiv=3DContent-Type content=3D"text/html; = > charset=3Dus-ascii"> > <META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR></HEAD> > <BODY> > <DIV><SPAN class=3D197035320-15102002><FONT face=3DArial color=3D#0000ff = > size=3D2>Search=20 > <A href=3D"http://www.mail-archive.com">www.mail-archive.com</A> under = > the=20 > jboss-dev list for a thread on this. Short answer, no. = > </FONT></SPAN></DIV> > <DIV><SPAN class=3D197035320-15102002><FONT face=3DArial color=3D#0000ff = > > size=3D2></FONT></SPAN> </DIV> > <DIV><SPAN class=3D197035320-15102002><FONT face=3DArial color=3D#0000ff = > > size=3D2>James</FONT></SPAN></DIV> > <BLOCKQUOTE dir=3Dltr=20 > style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px = > solid; MARGIN-RIGHT: 0px"> > <DIV></DIV> > <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = > align=3Dleft><FONT=20 > face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> = > Enrique Vetere=20 > [mailto:[EMAIL PROTECTED]] <BR><B>Sent:</B> Tuesday, October 15, = > 2002 3:33=20 > PM<BR><B>To:</B> 'Jboss-User<BR><B>Subject:</B> [JBoss-user] Log4j or=20 > apache.common.logging?<BR><BR></FONT></DIV> > <DIV><FONT face=3DArial size=3D2><SPAN class=3D748442320-15102002>Does = > jboss use=20 > </SPAN></FONT><FONT face=3DArial size=3D2><SPAN = > class=3D748442320-15102002>log4j=20 > directly? or is it used from the org.apache.commons.logging=20 > SPI?</SPAN></FONT></DIV> > <DIV><FONT face=3DArial size=3D2><SPAN class=3D748442320-15102002>If = > the first if=20 > true (as I think it is): are there any plans to isolate it thru=20 > commons.logging?</SPAN></FONT></DIV> > <DIV><FONT face=3DArial size=3D2><SPAN=20 > class=3D748442320-15102002></SPAN></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2><SPAN=20 > class=3D748442320-15102002></SPAN></FONT><FONT face=3DArial=20 > size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2>Enrique=20 > = > Vetere<BR>---------------------------------------------------------------= > <BR>Baufest<BR><A=20 > href=3D"http://www.baufest.com/">http://www.baufest.com</A><BR>Phone:=20 > 11-4807-8080<BR>Av. Las Heras 3257<BR>(C1425ASJ) Buenos Aires -=20 > = > Argentina<BR>------------------------------------------------------------= > ---<BR></FONT></DIV> > <DIV> </DIV></BLOCKQUOTE></BODY></HTML> > =00 > ------_=_NextPart_001_01C2748C.ECD5A0A7-- > > > --__--__-- > > Message: 4 > Date: Tue, 15 Oct 2002 15:12:07 -0700 > From: Greg Turner <[EMAIL PROTECTED]> > Organization: Tiburon Enterprise Systems > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Jetty Question > Reply-To: [EMAIL PROTECTED] > > This is for JBoss 3.2 with embedded Jetty. > > In a form element, > <form method="post" name="Form0" action="/Foo"> > > should the action value have a preceeding "/" as I have written here. > It appears, that if the "/" is there, Jetty does not pick up any of the > request parameters submitted by the form. If it is not there, then the > request parameters are picked up. By picked up, I mean > HttpServletRequest.getParameter (<param name>) returns the correct value. > > Or is this a bug with my web browser that is submitting the form, > Netscape 7.0 on Win2000? > > Thanks > > Greg > > > > > > > --__--__-- > > Message: 5 > From: "Dmitri Colebatch" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: Re: [JBoss-user] Jetty Question > Date: Wed, 16 Oct 2002 08:59:45 +1000 > Reply-To: [EMAIL PROTECTED] > > This is really a struts question, but I'll have a go... > > > In a form element, > > <form method="post" name="Form0" action="/Foo"> > > > > should the action value have a preceeding "/" as I have written here. > > It appears, that if the "/" is there, Jetty does not pick up any of the > > request parameters submitted by the form. If it is not there, then the > > request parameters are picked up. By picked up, I mean > > HttpServletRequest.getParameter (<param name>) returns the correct value. > > the action should correspond to the _name_ of the action in > struts-config.xml (in this case, I'm guessing "Foo"). Its not a path value, > and so shouldn't have the '/' > > > Or is this a bug with my web browser that is submitting the form, > > Netscape 7.0 on Win2000? > > the behaviour seems reasonable to me. > > cheers > dim > > > > --__--__-- > > Message: 6 > Date: Tue, 15 Oct 2002 16:27:18 -0700 > From: Greg Turner <[EMAIL PROTECTED]> > Organization: Tiburon Enterprise Systems > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Jetty Question > Reply-To: [EMAIL PROTECTED] > > > --------------000008050509070004000607 > Content-Type: text/plain; charset=us-ascii; format=flowed > Content-Transfer-Encoding: 7bit > > Thanks, buts its not a Struts specific thing. > > Its something that should be in the Html spec, and I am wanting to know > if Jetty is doing the correct thing according to the Html spec. > > According to one Html reference, I found on the web, the action is a > URI. URIs can be absolute, or relative. > > An absolute URI can be something like action="http://www....." So its > obvious we are dealing with the relative situation. > > Greg > > > > > Dmitri Colebatch wrote: > > >This is really a struts question, but I'll have a go... > > > > > > > >>In a form element, > >><form method="post" name="Form0" action="/Foo"> > >> > >>should the action value have a preceeding "/" as I have written here. > >>It appears, that if the "/" is there, Jetty does not pick up any of the > >>request parameters submitted by the form. If it is not there, then the > >>request parameters are picked up. By picked up, I mean > >>HttpServletRequest.getParameter (<param name>) returns the correct value. > >> > >> > > > >the action should correspond to the _name_ of the action in > >struts-config.xml (in this case, I'm guessing "Foo"). Its not a path value, > >and so shouldn't have the '/' > > > > > > > >>Or is this a bug with my web browser that is submitting the form, > >>Netscape 7.0 on Win2000? > >> > >> > > > >the behaviour seems reasonable to me. > > > >cheers > >dim > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by: viaVerio will pay you up to > >$1,000 for every account that you consolidate with us. > >http://ad.doubleclick.net/clk;4749864;7604308;v? > >http://www.viaverio.com/consolidator/osdn.cfm > >_______________________________________________ > >JBoss-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > -- > Greg Turner, JBoss Authorized Consultant > > Tiburon Enterprise Systems > http://www.tiburon-e-systems.com > Box 1171 > Tiburon, CA 94920 > 415-927-2543 > > > > --------------000008050509070004000607 > Content-Type: text/html; charset=us-ascii > Content-Transfer-Encoding: 7bit > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <head> > <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> > <title></title> > </head> > <body> > Thanks, buts its not a Struts specific thing.<br> > <br> > Its something that should be in the Html spec, and I am wanting to know if > Jetty is doing the correct thing according to the Html spec.<br> > <br> > According to one Html reference, I found on the web, the action is a URI. > URIs can be absolute, or relative.<br> > <br> > An absolute URI can be something like action=<a class="moz-txt-link-rfc2396E" href="http://www.....">"http://www....."</a> So its obvious > we are dealing with the relative situation.<br> > <br> > Greg<br> > <br> > <br> > <br> > <br> > Dmitri Colebatch wrote:<br> > <blockquote type="cite" cite="mid001301c2749e$90853920$9664a8c0@B8014"> > <pre wrap="">This is really a struts question, but I'll have a go... > > </pre> > <blockquote type="cite"> > <pre wrap="">In a form element, > <form method="post" name="Form0" action="/Foo"> > > should the action value have a preceeding "/" as I have written here. > It appears, that if the "/" is there, Jetty does not pick up any of the > request parameters submitted by the form. If it is not there, then the > request parameters are picked up. By picked up, I mean > HttpServletRequest.getParameter (<param name>) returns the correct value. > </pre> > </blockquote> > <pre wrap=""><!----> > the action should correspond to the _name_ of the action in > struts-config.xml (in this case, I'm guessing "Foo"). Its not a path value, > and so shouldn't have the '/' > > </pre> > <blockquote type="cite"> > <pre wrap="">Or is this a bug with my web browser that is submitting the form, > Netscape 7.0 on Win2000? > </pre> > </blockquote> > <pre wrap=""><!----> > the behaviour seems reasonable to me. > > cheers > dim > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > <a class="moz-txt-link-freetext" href="http://ad.doubleclick.net/clk;4749864;7604308;v">http://ad.doubleclick .net/clk;4749864;7604308;v</a>? > <a class="moz-txt-link-freetext" href="http://www.viaverio.com/consolidator/osdn.cfm">http://www.viaverio.com /consolidator/osdn.cfm</a> > _______________________________________________ > JBoss-user mailing list > <a class="moz-txt-link-abbreviated" href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] net</a> > <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/jboss-user">https://lists .sourceforge.net/lists/listinfo/jboss-user</a> > > > </pre> > </blockquote> > <br> > <pre class="moz-signature" cols="$mailwrapcol">-- > Greg Turner, JBoss Authorized Consultant > > Tiburon Enterprise Systems > <a class="moz-txt-link-freetext" href="http://www.tiburon-e-systems.com">http://www.tiburon-e-systems.com</a> > Box 1171 > Tiburon, CA 94920 > 415-927-2543</pre> > <br> > </body> > </html> > > --------------000008050509070004000607-- > > > > > --__--__-- > > Message: 7 > Date: Tue, 15 Oct 2002 21:01:40 -0200 > From: =?ISO-8859-1?Q?Emerson_Cargnin_-_SICREDI_Servi=E7os?= <[EMAIL PROTECTED]> > Organization: SICREDI > To: [EMAIL PROTECTED] > Subject: [JBoss-user] capacity planning to use jboss > Reply-To: [EMAIL PROTECTED] > > Today i got a question from my manager (i work in a bank, there will be=20 > a web layer at the bank office and a central ejb layer) : > > "Emerson, how many boxes in the ejblayer do we need to support 800=20 > offices and more than 4000 simultaneous clients (from the offices).=20 > Imagine that you have available any number of xeon dual 2mhz with 2giga=20 > RAM connected through a gigabit lan, how many boxes of this kind do we=20 > need?" > > I confess that i exitated a little. This is a though question, indeed. I=20 > think that CMP and mainly clustering will not have the same gain when=20 > you have too many nodes in the cluster, given the communication needed=20 > among the nodes to keep the data replicated. > > Does any one have any parameter for a capacity plan for a scenario like=20 > this? jboss group, any clue ?? > > What could be the limit beetwen number of nodes and replication overhead? > > Thanks in advance for any answer : ) > > > --=20 > xxxxxxxxxxxxxxxxxxxxxxxxxxxx > | Emerson Cargnin | > | Analista de Sistemas Sr. | > | Tel : (051) 3358-4959 | > | SICREDI Servi=E7os | > | Porto Alegre - Brasil | > |xxxxxxxxxxxxxxxxxxxxxxxxxx| > > > > --__--__-- > > Message: 8 > From: "Dmitri Colebatch" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: Re: [JBoss-user] Jetty Question > Date: Wed, 16 Oct 2002 09:56:49 +1000 > Reply-To: [EMAIL PROTECTED] > > This is a multi-part message in MIME format. > > ------=_NextPart_000_003A_01C274FA.58CFBAD0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > lol.... (at myself)... ummm ... apologies, sorry (o: > > for some reason I read that as <html:form> ... dont ask why! sorrry. > > I'll leave the task of answering your question to someone who is = > thinking straight! > > cheers > dim > > ----- Original Message -----=20 > From: Greg Turner=20 > To: [EMAIL PROTECTED]=20 > Sent: Wednesday, October 16, 2002 9:27 AM > Subject: Re: [JBoss-user] Jetty Question > > > Thanks, buts its not a Struts specific thing. > > Its something that should be in the Html spec, and I am wanting to = > know if Jetty is doing the correct thing according to the Html spec. > > According to one Html reference, I found on the web, the action is a = > URI. URIs can be absolute, or relative. > > An absolute URI can be something like action=3D"http://www....." So = > its obvious we are dealing with the relative situation. > > Greg > > > > > Dmitri Colebatch wrote: > > This is really a struts question, but I'll have a go... > > In a form element, > <form method=3D"post" name=3D"Form0" action=3D"/Foo"> > > should the action value have a preceeding "/" as I have written here. > It appears, that if the "/" is there, Jetty does not pick up any of the > request parameters submitted by the form. If it is not there, then the > request parameters are picked up. By picked up, I mean > HttpServletRequest.getParameter (<param name>) returns the correct = > value. > =20 > the action should correspond to the _name_ of the action in > struts-config.xml (in this case, I'm guessing "Foo"). Its not a path = > value, > and so shouldn't have the '/' > > Or is this a bug with my web browser that is submitting the form, > Netscape 7.0 on Win2000? > =20 > the behaviour seems reasonable to me. > > cheers > dim > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > =20 > > --=20 > Greg Turner, JBoss Authorized Consultant > > Tiburon Enterprise Systems > http://www.tiburon-e-systems.com > Box 1171 > Tiburon, CA 94920 > 415-927-2543 > > ------=_NextPart_000_003A_01C274FA.58CFBAD0 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD><TITLE></TITLE> > <META http-equiv=3DContent-Type = > content=3Dtext/html;charset=3DISO-8859-1> > <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> > <STYLE></STYLE> > </HEAD> > <BODY bgColor=3D#ffffff> > <DIV><FONT face=3DArial size=3D2>lol.... (at myself)... ummm ... = > apologies, sorry=20 > (o:</FONT></DIV> > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2>for some reason I read that as = > <html:form>=20 > ... dont ask why! sorrry.</FONT></DIV> > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2>I'll leave the task of answering your = > question to=20 > someone who is thinking straight!</FONT></DIV> > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2>cheers</FONT></DIV> > <DIV><FONT face=3DArial size=3D2>dim</FONT></DIV> > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > <BLOCKQUOTE=20 > style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = > BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> > <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> > <DIV=20 > style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = > black"><B>From:</B>=20 > <A [EMAIL PROTECTED]=20 > href=3D"mailto:[EMAIL PROTECTED]">Greg Turner</A> </DIV> > <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 > [EMAIL PROTECTED]=20 > = > href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]= > orge.net</A>=20 > </DIV> > <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, October 16, = > 2002 9:27=20 > AM</DIV> > <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [JBoss-user] Jetty = > > Question</DIV> > <DIV><BR></DIV>Thanks, buts its not a Struts specific = > thing.<BR><BR>Its=20 > something that should be in the Html spec, and I am wanting to know if = > Jetty=20 > is doing the correct thing according to the Html = > spec.<BR><BR>According to one=20 > Html reference, I found on the web, the action is a URI. URIs = > can be=20 > absolute, or relative.<BR><BR>An absolute URI can be something like = > action=3D<A=20 > class=3Dmoz-txt-link-rfc2396E = > href=3D'http://www....."'>"http://www....."</A>=20 > So its obvious we are dealing with the relative=20 > situation.<BR><BR>Greg<BR><BR><BR><BR><BR>Dmitri Colebatch wrote:<BR> > <BLOCKQUOTE cite=3Dmid001301c2749e$90853920$9664a8c0@B8014 = > type=3D"cite"><PRE wrap=3D"">This is really a struts question, but I'll = > have a go... > > </PRE> > <BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">In a form element, > <form method=3D"post" name=3D"Form0" action=3D"/Foo"> > > should the action value have a preceeding "/" as I have written here. > It appears, that if the "/" is there, Jetty does not pick up any of the > request parameters submitted by the form. If it is not there, then the > request parameters are picked up. By picked up, I mean > HttpServletRequest.getParameter (<param name>) returns the correct = > value. > </PRE></BLOCKQUOTE><PRE wrap=3D""><!----> > the action should correspond to the _name_ of the action in > struts-config.xml (in this case, I'm guessing "Foo"). Its not a path = > value, > and so shouldn't have the '/' > > </PRE> > <BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Or is this a bug with my = > web browser that is submitting the form, > Netscape 7.0 on Win2000? > </PRE></BLOCKQUOTE><PRE wrap=3D""><!----> > the behaviour seems reasonable to me. > > cheers > dim > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > <A class=3Dmoz-txt-link-freetext = > href=3D"http://ad.doubleclick.net/clk;4749864;7604308;v">http://ad.double= > click.net/clk;4749864;7604308;v</A>? > <A class=3Dmoz-txt-link-freetext = > href=3D"http://www.viaverio.com/consolidator/osdn.cfm">http://www.viaveri= > o.com/consolidator/osdn.cfm</A> > _______________________________________________ > JBoss-user mailing list > <A class=3Dmoz-txt-link-abbreviated = > href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]= > orge.net</A> > <A class=3Dmoz-txt-link-freetext = > href=3D"https://lists.sourceforge.net/lists/listinfo/jboss-user">https://= > lists.sourceforge.net/lists/listinfo/jboss-user</A> > > > </PRE></BLOCKQUOTE><BR><PRE class=3Dmoz-signature = > cols=3D"$mailwrapcol">--=20 > Greg Turner, JBoss Authorized Consultant > > Tiburon Enterprise Systems > <A class=3Dmoz-txt-link-freetext = > href=3D"http://www.tiburon-e-systems.com">http://www.tiburon-e-systems.co= > m</A> > Box 1171 > Tiburon, CA 94920 > 415-927-2543</PRE><BR></BLOCKQUOTE></BODY></HTML> > > ------=_NextPart_000_003A_01C274FA.58CFBAD0-- > > > > > --__--__-- > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > End of JBoss-user Digest ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user