Problem with JDBC Struts Connection Pool (possible to reconnect?)

2003-01-17 Thread mech
Hi, I'm running Tomcat 4.1.18 on Solaris 9 with a local MySQL 3.23.54-max (InnoDB) database on port 3307 using started with mysqld (not safemysld...difference btw?). After not using any connection over night for let's say 12 hours or more, I get SQLExceptions next morning:

PJA libraries

2003-01-17 Thread Yakov Belov
Dear All, this might be the wrong mailing-list to send this question to, however maybe not. I am using PJA (pure java graphics implementation) libraries for my chart drawing with Struts on Tomcat. To use these libraries I need to change the system a bit, like this: System.setProperty

Re: changing ActionForm to be a Java interface

2003-01-17 Thread Dan Jacobs
Hi Mark, Contravariance is generally easiest to understand in the context of aggregation. Consider the parameterized types (looking ahead to Java generics) ListFruit and ListBanana, and variables fruitList and bananaList, and assuming that Banana is a subtype of Fruit. Even though it should

Re: AW: Refresh on MSIE, PLEASE HELP!! NOT SOLVED

2003-01-17 Thread Karim Saloojee
Hi I know that in IE you sometimes have to set the response headers in Java, e.g: % response.setHeader(Pragma, no-cache); response.setDateHeader(Expires, 0); response.setHeader(Cache-Control, no-cache); % Put that in skel.jsp. One last thing, make sure you have cleared out your IE cache before

Display values after validation (was RE: action input)

2003-01-17 Thread Susan Bradeen
But by using an action path for input instead of a JSP, isn't the ActionForm reset, so you no longer have your form values to show in the JSP again? How do you redisplay the incorrect values the user typed into the JSP? Susan Bradeen On 01/16/2003 03:22:14 PM Mark Galbreath wrote: Try it

Re: (Another test) App Modules and multiple tiles configuration files...

2003-01-17 Thread Cedric Dumoulin
According to the log, both factories are loaded. So, there should be something wrong. Can you send me directly ([EMAIL PROTECTED]) your simple example (zip or war), so I can reproduce the problem ? thanks, Cedric ajTreece wrote: Thanks Cedric... I'm using 01/16 nightly build. My web

Re: ActionErrors getting lost between action and JSP

2003-01-17 Thread Giri Alwar
When you call the saveErrors(...) method in the Action class' execute method, Struts will store the ActionErrors object under the default request attribute name org.apache.struts.action.ERROR. In the JSP, when you add the empty html:errors tag: html:errors/, Struts will look for this attribute in

Re: Struts app design for multiple client types

2003-01-17 Thread Kris Schneider
Thanks for tip, I took a quick look. I have to say the first example made my head spin. http://home.attbi.com/~danjacobs/jplates.com/examples/test/ClassInfo1.jplate It just doesn't look like the kind of approach that would appeal to the no-scriptlet faithful (which is where I firmly plant

Off-Topic: Microsoft Javascript Debugger

2003-01-17 Thread João Paulo Batistella
Please, where can I download the Microsoft Javascript Debugging Tool to use with Internet Explorer? Thanks, Joao Paulo. ___ Busca Yahoo! O melhor lugar para encontrar tudo o que você procura na Internet

how to use ApplicationResources from the logic tag

2003-01-17 Thread Garth Ramakant Patil
hi, i'm trying to use a value set in my ApplicationResources.properties file to use in a logic:equal tag in my jsp. basically, i'm trying to store some configuration parameters in the ApplicationResources.properties file, but i can't figure out how to get them outside of bean:message. is there a

Re: The best way for learning struts (stupid question)

2003-01-17 Thread Craig R. McClanahan
Snipping to just the questions. On Thu, 16 Jan 2003, joni santoso wrote: * Design patterns (at the programming level) any good sites for learning this? I read already the theoretical ones but at the programming level, sometimes I'm still confused to use which DP. The classic text (and the

RE: regular expressions

2003-01-17 Thread Gilbert, Antoine
thx it work perfectly now. Antoine -Message d'origine- De : Alex [mailto:[EMAIL PROTECTED]] Envoyé : 16 janvier, 2003 17:46 À : Struts Users Mailing List Objet : Re: regular expressions try... $regex = '[a-zA-Z]*([(].*?[)] [a-zA-Z]+)'; On Thu, 16 Jan 2003, Gilbert, Antoine wrote:

Re: The best way for learning struts (stupid question)

2003-01-17 Thread V. Cekvenich
I will post here when I am ready soon. Glad there is interest, I got some private e-mail. As I plan to donate materials to Jakarta I would like to see if some of the Advanced Pros would want to participate, so that one of them could teach next online seminar, or maybe even document

FW: Problem with JDBC Struts Connection Pool (possible to reconnect?) : Solution/Fix: J/Connector kills unused connections after 8 hours

2003-01-17 Thread mech
You can ignore my last email or read through if you encounter similar problems and need a fix. I just found out from the MySQL J/Connector documentation that connections are cut off after 8 hours of inactivity. I have a servlet/application that works fine for a day, and then stops working

Re: Struts Modules

2003-01-17 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, Christoph Rooms wrote: Date: Thu, 16 Jan 2003 16:11:59 +0100 From: Christoph Rooms [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts Modules Hi, I have my Action Servlet to react with the servlet mapping

java.lang.String question disguised as an ActionForm question

2003-01-17 Thread Jagdish Arora
ok, though this problem came up dealing with ActionForms, I completely understand that this is a fundamental Java question, nothing more, so I will pose it as that only. Also, I am prepared for taking some thisQuestion(OrYou)DoesntDeserveToBeHere flak: String s1 = + null;

AW: How to set a parameter in an action

2003-01-17 Thread Oliver Kersten
Hi, thanks for your answer, now we have solved the problem. We are using our own class (ActionForwardWithParameter) which is extended from ActionForward. Our class gets the original ActionForward as a parameter and then (with some tricks) we use our own method to add a parameter. The return value

Re: Struts app design for multiple client types

2003-01-17 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, Kris Schneider wrote: Date: Thu, 16 Jan 2003 16:12:36 -0500 From: Kris Schneider [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Struts app design for multiple client types I'm in the

RE: [OT] Date format

2003-01-17 Thread Andrew Hill
Your best bet is to use the static factory methods in the DateFormat class. ie: Locale locale = getLocale(request); //Use struts Action method to get locale dateTimeFormat = ateFormat.getDateTimeInstance( DateFormat.SHORT,DateFormat.SHORT, locale); dateFormat = DateFormat.getDateInstance(

Group of radio buttons with indexed=true within nested iterate

2003-01-17 Thread Yujin Kim
Hi I'm having some issues with indexed=true and nested iterate tags. I'm hoping some of you would be able to give me some directions. BTW, I had to strip out the orignial source code. I apologize for that if this makes difficult to follow. I'd be happy to provide more details in private

Re: Comparing values of variables

2003-01-17 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, Harinath DP wrote: Date: Thu, 16 Jan 2003 17:36:45 +0530 From: Harinath DP [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Subject: Comparing values of variables Is there a taglib in struts which would allow

Pasar atributos a un bean:include

2003-01-17 Thread Míguel Ángel Mulero Martínez
Hola a todos, Estoy usando la linea: bean:include id=text page=/test/detalle.jsp / para almacenar en la variable text el contenido de la pagina despues de ser ejecutado. Mi problema es que tengo un bean en la pagina actual que no es visible para la pagina incluida, por lo tanto quiero pasarselo.

Re: [OT] RE: Not spam...I swear--

2003-01-17 Thread Kenneth Stout
Nice looking family! Kenneth. - Original Message - From: Chappell, Simon P [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 16, 2003 8:30 AM Subject: RE: [OT] RE: Not spam...I swear-- http://simonpeter.com/family/2003/01jan/P1051973.JPG :-)

Re: struts servlet-mapping

2003-01-17 Thread Subhrajyoti Moitra
action path=/*/test type=com.emirca.pp.controller.actionhandler.Welcomer unknown=true validate=false /action will these work?? - Original Message - From: Cagan Senturk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 17, 2003 4:30

problem with ResultSetDynaClass

2003-01-17 Thread usha
Hi i am stuck with this error from past 2 hrs. can any body tell me what i am doing wrong here i am writing the following code to use with struts con = CxcSvcLoc.getInstance().getCxcDataSource().getConnection(); stmt = con.createStatement(); rs = stmt.executeQuery(select

Problem with using DynaValidatorForm, is it possible to do it??

2003-01-17 Thread Ashish Kulkarni
Hi, I am trying to do the following and i get null pointer exception, DynaValidatorForm PL1820UpdateForm = new DynaValidatorForm(); PL1820UpdateForm.set(input1, This is test); And my form definiation in struts-config is form-bean name=PL1820UpdateForm dynamic=true

Re: Digester getting recursive tag types.

2003-01-17 Thread Simon Kelly
Check out the way Struts 1.1 builds a ModuleConfig tree, and extracts it out, for ideas on how to handle this. Is there anywhere I can view this without having to download the source? I'm drastically out of disk space, and wont be able to get rid of anything for a week at least. Cheers Simon

Re: Struts Modules

2003-01-17 Thread Mark McBride
I tripped up on this also ... is there a reason why Pre-fix matching (/do/*) does not work with the multiple application configuration? Are there plans on supporting pre-fix matching in the future? Thanks in advance! -Mark At 04:20 PM 1/16/2003 +0100, you wrote: 2003. január 16. 16:11 dátummal

Session lost between Actions using mapping.findForward(HELP)

2003-01-17 Thread Jason Yam
Hi everyone, I almost finish my project but I have one more problem: session lost. I save a session variable named username in ProcessLogonFormAction before I use findForward(homepage) to go to my homepage homepage.jsp through the action DisplayHomePageAction. DisplayHomePageAction will

[OT]: I don't see how this works?

2003-01-17 Thread Simon Kelly
I'm just scanning thru the struts source, looking for ModuleConfig stuff and ran over this bit of code. I've never seen anything written like it and wondered what it's doing and how the hell does it work? Cheers Simon CODE Collections.sort(lActions, new Comparator() { public int compare(Object

RE: [OT] RE: Not spam...I swear--

2003-01-17 Thread Andrew Hill
An archeologist? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Friday, 17 January 2003 00:05 To: 'Struts Users Mailing List' Subject: RE: [OT] RE: Not spam...I swear-- Maybe, but who would date you? -Original Message- From: Chappell, Simon P

Re: Un Subscribe

2003-01-17 Thread Joel Rees
??? I apriciate that pun was probibly not the correct word but I thought You can _checkout_ any time you like, ... Oh, wait, this isn't the dev list. ;- -- Joel Rees [EMAIL PROTECTED] - Original Message - ... What pun are you referring to? ... -Original

Re: struts servlet-mapping

2003-01-17 Thread Cagan Senturk
The thing is the /layout directory is determined at run-time; I don't know what it will be a deployment time. Thanks, Cagan On Thursday, January 16, 2003, at 06:18 PM, [EMAIL PROTECTED] wrote: If you want your action to be available from http://localhost:8080/ppp/layout/test.do then you need

html:message footer printed without header or messages

2003-01-17 Thread Cory McIlroy
has this happened to anyone else? sometimes, in situations that i can not reproduce, when there are no messages, the html:messages tag prints the footer without printing the header. it is a bug as far as i can tell. cory __ Do you Yahoo!? Yahoo!

Struts Validator Problem

2003-01-17 Thread Suresh Addagalla
Hi, I am facing a problem with Validator while doing client-side validation. IE is throwing the following error dialog when I submit the form: type is null or not an object The corresponding source code (validator generated) line the *second* line below: for (x in oRequired) {

Pasa artributwa to a bean:include (SORRY FOR MY EARLIER SPANISH POST)

2003-01-17 Thread Míguel Ángel Mulero Martínez
Hi to all, I’m using the sentence: bean:include id=text page=/test/detalle.jsp / to save in “text” the content of the page after its execution. My problem is that I’ve got a bean in the actual page that it’s not visible for the included page. How can I pass it? Something similar to template:put?

Re: Struts application

2003-01-17 Thread Giri Alwar
Can you post the stack trace? Do you know where the exception occurs (Servlet, Action, accept.jsp)? - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 16, 2003 5:18 PM Subject: Struts application I applied struts in the

Validator and Form Bean

2003-01-17 Thread Suresh Addagalla
Hi, Does Struts Validator *pass back* the form bean object if a validation fails? Or does it pass back only the errors? My scenario is as follows. I have a page for creating a Service. I enter all the data and submit it. Assume that the validation fails. In this case, along with the error

RE: Struts application

2003-01-17 Thread du Plessis, Corneil C
Sounds like the scope on the form you submitted first may be request scope instead of session scope. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 17 January, 2003 01:18 To: Struts Users Mailing List Subject: Struts application I applied struts in the

Re: Indexed Properties and Population

2003-01-17 Thread Jeff_Mychasiw
David says: One implementation that should work based on your example as long as you are willing to create a child factory is in the commons collection package and is ListUtils.lazyList, which takes a List and factory. I have used this as well, in combination with the nested tag library. We have

RE: Application scope variables

2003-01-17 Thread Suresh Addagalla
Hi, Thanks for the suggestion. Can someone outline the procedure for storing ServletContext attributes through a strust plug-in? I really couldn't find much help on the web to start working on the plug-in related things. Thanks, Suresh -Original Message- From: Craig R. McClanahan

regular expression help

2003-01-17 Thread Raible, Matt
Anyone know a good regular expression translator - or the equivalent of allowing +, - or ? Thanks, Matt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts application

2003-01-17 Thread Daniel Jaffa
That is a great picture of what you are doing, but your question does not help anyone help you. 1 Did you do any logging in your action to see where the null pointer is being generated. At least put some System.err.println(); in you code to see where you are failing. 2. Are you sure that

Re: Digester getting recursive tag types.

2003-01-17 Thread Simon Kelly
I'm having a dig thru the source code, but I can't seem to find the tree building bit. Could you tell me the class this is done in? Cheers Simon PS Nice bit of coding ;-) - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

RE: Problem with JDBC Struts Connection Pool (possible torecon nect?)

2003-01-17 Thread Raible, Matt
Add autoReconnect=true to your connectionURL, as in: connectionURL= jdbc:mysql://localhost/roller?autoReconnect=trueamp;user=rolleramp;passwo rd=tiger -Original Message- From: mech [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 4:52 AM To: [EMAIL PROTECTED] Subject: Problem

RE: contravariance

2003-01-17 Thread Mark Galbreath
Thanks, Dan... I love the theory behind this kind of stuff! Where can I get Cardelli's paper? Mark -Original Message- From: Dan Jacobs [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 7:04 PM Hi Mark, Contravariance is generally easiest to understand in the context of

Re: Display values after validation (was RE: action input)

2003-01-17 Thread Gemes Tibor
2003. január 17. 14:22 dátummal Susan Bradeen ezt írtad: But by using an action path for input instead of a JSP, isn't the ActionForm reset, so you no longer have your form values to show in the JSP again? How do you redisplay the incorrect values the user typed into the JSP? The request is

RE: Display values after validation (was RE: action input)

2003-01-17 Thread pqin
It only resets numeric. For example, there is an amount property of your bean which is a Double. If you enter abc and submit, abc is reset to 0.0. To avoid this, change Double to String so struts can keep the original value. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He

RE: regular expressions

2003-01-17 Thread Gilbert, Antoine
thx it work perfectly now. Antoine -Message d'origine- De : Alex [mailto:[EMAIL PROTECTED]] Envoyé : 16 janvier, 2003 17:46 À : Struts Users Mailing List Objet : Re: regular expressions try... $regex = '[a-zA-Z]*([(].*?[)] [a-zA-Z]+)'; On Thu, 16 Jan 2003, Gilbert, Antoine wrote:

RE: Off-Topic: Microsoft Javascript Debugger

2003-01-17 Thread James Childers
Please, where can I download the Microsoft Javascript Debugging Tool to use with Internet Explorer? Thanks, Joao Paulo. I don't know about that, but Mozilla comes with a pretty good JavaScript debugger (Venkman) built in. It appears to be more robust than the MS JavaScript debugger,

RE: AW: Refresh on MSIE, PLEASE HELP!! NOT SOLVED

2003-01-17 Thread Mark Galbreath
Unfortunately, IE pretty much ignores Pragma header settings. The best you can do is go to Tools - Internet Options - Temporary Internet Files - Settings - Check for newer versions on every visit to page. Mark -Original Message- From: Karim Saloojee [mailto:[EMAIL PROTECTED]] Sent:

RE: The best way for learning struts (stupid question)

2003-01-17 Thread Mark Galbreath
You can also join the design patterns user group: http://archives.java.sun.com/archives/j2eepatterns-interest.html Mark -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 12:02 AM To: Struts Users Mailing List Subject: Re: The best

RE: Display values after validation (was RE: action input)

2003-01-17 Thread Robert Taylor
Susan, since the request is being forwarded (and not redirected) , then it (the request) still contains the invalid user input and although the form is being reset, since the request still has the user input, the form fields should be repopulated with the users original (incorrect) values.

RE: Display values after validation (was RE: action input)

2003-01-17 Thread Mark Galbreath
Like I said, Try it and see. I've never tried it, and apparently no one else here has either. Let us know how it turns out. Mark -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 8:23 AM But by using an action path for input instead of

RE: Off-Topic: Microsoft Javascript Debugger

2003-01-17 Thread Mark Galbreath
There's no such thing. You are thinking of the M$ VBScript debugger, which comes with (at least) IE 6.0. If you use Navigator, entering about:javascript in the location field will return error messages. Mark -Original Message- From: João Paulo Batistella [mailto:[EMAIL PROTECTED]]

[Ignore this mail]

2003-01-17 Thread Simon Kelly
Institut fuer Prozessdatenverarbeitung und Elektronik, Forschungszentrum Karlsruhe GmbH, Postfach 3640, D-76021 Karlsruhe, Germany. Tel: (+49)/7247 82-4042 E-mail : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [OT] Date format

2003-01-17 Thread Suresh Addagalla
Hi, What I am looking for is how to display the *format*, and not how to display a date in a given format. So, there doesn't seem to be anything provided with the API. I need a method like toPattern() of SimpleDateFormat in the DateFormat class because getDateInstance() returns me DateFormat and

RE: java.lang.String question disguised as an ActionForm question

2003-01-17 Thread Andrew Hill
Because in a string concatenation operation null will be converted to null automatically. Useful in debugging this is. ie: log.debug(value of bob= + bob); is a lot easier than always having to write if(bob == null) log.debug(value of bob=null); else log.debug(value of bob= + bob); Which you

Validator and Form Bean

2003-01-17 Thread Suresh Addagalla
Hi, Does Struts Validator *pass back* the form bean object if a validation fails? Or does it pass back only the errors? My scenario is as follows. I have a page for creating a Service. I enter all the data and submit it. Assume that the validation fails. In this case, along with the error

Struts Validator Problem

2003-01-17 Thread Suresh Addagalla
Hi, I am facing a problem with Validator while doing client-side validation. IE is throwing the following error dialog when I submit the form: type is null or not an object The corresponding source code (validator generated) line the *second* line below: for (x in oRequired) {

RE: [OT] Date format

2003-01-17 Thread Andrew Hill
Ok. This is wierd. I posted this in the morning - now its 11pm and it only just arrived. Maybe I should have used snail mail! Ah of course - its Friday. Guess the email server is taking it easy... ;-) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, 17

RE: Pasar atributos a un bean:include

2003-01-17 Thread Andrew Hill
Maaf... Saya tidak mengerti apa yang bicara... :-( -Original Message- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Friday, 17 January 2003 17:20 To: Lista Struts Subject: Pasar atributos a un bean:include Hola a todos, Estoy usando la linea: bean:include id=text

RE: java.lang.String question disguised as an ActionForm question

2003-01-17 Thread Mark Galbreath
That's pretty curious; I would never have thought to do this, and wonder why you are. Anyway, it seems pretty obvious that s1 == empty String + null and s1 != null, so it fails the s1 == null test. You, of course, cannot see the System.out.println of an empty String, with or without a null

RE: Problem with using DynaValidatorForm, is it possible to doit ??

2003-01-17 Thread Raible, Matt
http://www.mail-archive.com/struts-dev%40jakarta.apache.org/msg12356.html -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 5:34 PM To: [EMAIL PROTECTED] Subject: Problem with using DynaValidatorForm, is it possible to do it?? Hi, I am

RE: Problem with using DynaValidatorForm, is it possible to do it??

2003-01-17 Thread James Turner
Your main problem is that simply naming the variable the same as the form Bean name isn't going to create the correct instantiation of the form. You're basically creating a vanilla uninitialized DynaValidatorForm and then trying to set it's properties, but it doesn't have any. The official way

Re: Off-Topic: Microsoft Javascript Debugger

2003-01-17 Thread James Mitchell
I keep a couple of links on my home page: http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=microsoft+javascr ipt+debuggerbtnG=Google+Search -- James Mitchell - Original Message - From: João Paulo Batistella [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 17,

RE: [OT] Date format

2003-01-17 Thread Andrew Hill
DateFormat is an abstract class of which SimpleDateFormat is a subclass. When you call getDateInstance() what you get back is actually a SimpleDateFormat - however I am under the distinct impression this depends on the locale. Some locales could in theory give back something different again or if

Re: Struts Modules

2003-01-17 Thread James Mitchell
I keep these since some don't like to search the archives -- On Tue, 19 Nov 2002, Emmanuel Boudrant wrote: Date: Tue, 19 Nov 2002 13:48:44 +0100 (CET) From: Emmanuel Boudrant [EMAIL PROTECTED] Reply-To: Struts Developers List

RE: [OT]: I don't see how this works?

2003-01-17 Thread Durham David Cntr 805CSS/SCBE
That will sort whatever is inside of lActions base on the anonymous comparator object. Check here for details on the Comparator interface, http://java.sun.com/j2se/1.4/docs/api/java/util/Comparator.html -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] Sent:

Re: Validator and Form Bean

2003-01-17 Thread Rick Reumann
On Friday, January 17, 2003, 8:42:11 AM, Suresh wrote: SA But now, my whole form is not getting displayed because I am not SA getting the form bean back. Any thing I am missing? **Must the SA form bean be in session scope if I want this functionality?** No, the FormBean can have request scope.

RE: regular expression help

2003-01-17 Thread Durham David Cntr 805CSS/SCBE
I don't understand what you're asking, so I'll take a guess. If you're looking for an escape senquence so that you can look for +'s and -'s then try putting a \ in front of them, e.g., \+ and \-. -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January

RE: Off-Topic: Microsoft Javascript Debugger

2003-01-17 Thread Jerry Jalenak
I can never find the script debugger on M$ website, so I made sure I keep a download of it Jerry -Original Message- From: James Childers [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 8:27 AM To: Struts Users Mailing List Subject: RE: Off-Topic: Microsoft Javascript

RE: regular expression help

2003-01-17 Thread Jarnot Voytek Contr AU HQ/SC
how about (\+|\-|\s) -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 8:04 AM To: '[EMAIL PROTECTED]' Subject: regular expression help Anyone know a good regular expression

RE: Validator and Form Bean

2003-01-17 Thread Suresh Addagalla
Yeah, I seem to be setting up struts-config correctly as it works fine if I change the scope to session. Here is the config: Form-bean related config: form-bean name=servicesForm type=org.apache.struts.validator.DynaValidatorForm form-property name=serviceSets type=java.util.Vector /

Validators: same rule for differents fields forms

2003-01-17 Thread Jean-Pierre Romeyer
How to have a single rule described once (no duplicated code) and use it in differents fields or differents forms whitout writting a java custom validator : described in a declarative way as validation.xml Thanks

RE: [Ignore this mail]

2003-01-17 Thread Chen, Gin
okay i'm ignoring it -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 9:38 AM To: Struts Users Mailing List Subject: [Ignore this mail] Institut fuer Prozessdatenverarbeitung und Elektronik, Forschungszentrum Karlsruhe GmbH, Postfach 3640,

Re: Off-Topic: Microsoft Javascript Debugger

2003-01-17 Thread James Mitchell
http://msdn.microsoft.com/library/en-us/sdbug/Html/sdbug_1.asp -- James Mitchell - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, January 17, 2003 9:38 AM Subject: RE: Off-Topic: Microsoft Javascript

Most Stable Struts Build

2003-01-17 Thread Vinh Tran
All: I am finally updating Tomcat to 4.0 and I would like to also update Struts to 1.1 as well. I was wondering if anyone has a recommendation on which build of Struts 1.1 is the most stable. I will be utilizing the following... Tomcat 4.0 Tiles Validator Digester Struts-EL/JSTL Thanks.

RE: The best way for learning struts (stupid question)

2003-01-17 Thread Edgar Dollin
I would add, learning a java based IDE, eclipse is a good one, and logging (or do you count that as part of learning the container?). Edgar -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 1:57 AM To: 'Struts Users Mailing List'

RE: regular expression help

2003-01-17 Thread Mark Galbreath
Are you using J2SE 1.4? Write one: java.util.regex.Matcher. Then distribute it to us! Mark -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 9:04 AM Anyone know a good regular expression translator - or the equivalent of allowing +, - or

RE: java.lang.String question disguised as an ActionForm question

2003-01-17 Thread Jarnot Voytek Contr AU HQ/SC
+ null ends up being null just as + 1 would end up as 1. Remember that Java will allow you to add anything to a String, it does the conversion for you - that's why Object has a toString() method. I am also very curious why one would ever need to write String s1 = + null; -- Voytek

RE: Display values after validation (was RE: action input)

2003-01-17 Thread Susan Bradeen
Yep, works fine. Quite impressive, saves some work. I ended up having an issue with a custom record lock when trying to fetch information for editing a second time. Not a Struts issue! Thank you to all who replied. Susan Bradeen Mark Galbreath [EMAIL PROTECTED] 01/17/2003 09:32 AM Please

Axis/SOAP proposal for Struts

2003-01-17 Thread Mike Oliver
Struts Users, I would like to propose that Struts be extended to support another entry point. The ActionServlet would be augmented by an Axis/SOAP Web Services Interface to Struts. FormBeans would be part of the payload for requests. Responses would be generated by Forwards for SOAP. This

Re: [OT] Date format

2003-01-17 Thread Mark Lepkowski
RE: [OT] Date formatWith SimpleDateFormat you specify the format as a String. You surely should be able to display that string. What I am looking for is how to display the *format*, and not how to display a date in a given format. (snip)

Re: Most Stable Struts Build

2003-01-17 Thread David Graham
1.1 beta 3 From: Vinh Tran [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Most Stable Struts Build Date: Fri, 17 Jan 2003 10:37:15 -0500 All: I am finally updating Tomcat to 4.0 and I would like to also update Struts to 1.1 as well. I was wondering if anyone

Tiles - Modules - HTML:BASE

2003-01-17 Thread Christoph Rooms
Hi guys, I am trying to replace the Templates by Tiles ... The problem I am facing is, that the html:base tag is based on the location of my layout-file. (in my case /layout ...) So all my images now point to ... /context/layouts/images/mg1.jpg, it should be /context/images/img1.jpg ... Is

Re: Struts Validator Problem

2003-01-17 Thread Dan Tran
check your validation.xml and makesure all dedined form field match with your jsp field. I ran to this before hope this help -D - Original Message - From: Suresh Addagalla [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 17, 2003 6:42 AM Subject: Struts Validator Problem

RE: Axis/SOAP proposal for Struts

2003-01-17 Thread Mark Galbreath
I actually AM doing this now, but I whole-heartedly agree that a standardized Axis/SOAP interface to Struts would be very, very cool. Mark -Original Message- From: Mike Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 10:46 AM I would like to propose that Struts be

DAO and Struts Best Practice

2003-01-17 Thread Phase Web and Multimedia
My struts app access my resource layer via a DAO pattern. I have been using DAO for a while and have seen various manners in which this is implemented. I have some questions for all of you out there in regards to the DAO pattern that you use and why. Following are some comparison points between a

RE: regular expression help

2003-01-17 Thread Raible, Matt
Sounds like it's work, I'm trying to create a constant for the validator - where a field can only have +, - or constant constant-namezip/constant-name constant-value^\d{5}\d*$/constant-value /constant -Original Message- From: Jarnot Voytek Contr AU HQ/SC

RE: Off-Topic: Microsoft Javascript Debugger

2003-01-17 Thread Mark Galbreath
Like I said, LISP boy: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdbug/Html/ sdbug_2.asp VBScript, not JavaScript. Mark -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 10:25 AM

RE: Indexed Properties and Population

2003-01-17 Thread Raible, Matt
Here's how I did it: On my Form: public ArrayList getKids() { returns kids; } public void setKids(ArrayList kids) { this.kids = kids; } public int getKidsSize() { return kids.size(); } In my JSP: nested:iterate property=kids ... nested:text

RE: Most Stable Struts Build

2003-01-17 Thread Mark Galbreath
When is the next release coming out? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 11:01 AM 1.1 beta 3 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tiles - Modules - HTML:BASE

2003-01-17 Thread Raible, Matt
I have found that I'm better off not using the html:base / tag with Tiles. -Original Message- From: Christoph Rooms [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 9:01 AM To: [EMAIL PROTECTED] Subject: Tiles - Modules - HTML:BASE Hi guys, I am trying to replace the Templates

RE: Tiles - Modules - HTML:BASE

2003-01-17 Thread Pani, Gourav
The html:base/ tag also causes problems with links where you have to implicitly specify the application root as part of your directory path in your JSPs. -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 11:08 AM To: 'Struts Users Mailing

Re: Most Stable Struts Build

2003-01-17 Thread Nicolas De Loof
I think I allready read this question somewhere http://jakarta.apache.org/struts/faqs/helping.html#release Nico. When is the next release coming out? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 11:01 AM 1.1 beta 3 --

RE: Most Stable Struts Build

2003-01-17 Thread Mark Galbreath
Nico doesn't know me very well, do he? ;-) -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 11:12 AM I think I allready read this question somewhere http://jakarta.apache.org/struts/faqs/helping.html#release Nico. When is the

Re: Axis/SOAP proposal for Struts

2003-01-17 Thread Joe Germuska
I am planning on doing this anyway, and felt it applicable to this group and would offer to share it as a sub project and would welcome contributions of thought, expertise and code. Craig has talked about a vision for Web Services being a part of Struts 2.x, although it doesn't seem to be on

RE: Most Stable Struts Build

2003-01-17 Thread David Graham
Sarcasm can be tough to get through email...I hope that was a joke ;-). Dave From: Mark Galbreath [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Most Stable Struts Build Date: Fri, 17 Jan 2003 11:07:10

RE: Tiles - Modules - HTML:BASE

2003-01-17 Thread Christoph Rooms
What are possible alternatives ? Christoph Rooms TAM + 32 475 531 529 Novell Positioned as a Leader in Analyst Firm's Metadirectory Magic Quadrant Novell is the first, and thus far only, company to enter the Leader Quadrant of Gartner's Metadirectory Services Magic Quadrant. Leaders are vendors

  1   2   3   >