RE: [OT] Recommendation of Instant Messagging System

2005-05-04 Thread Miquel Angel
Erik, Leon and Jason, thank you very much for your answers. I think we will develop our own system (we need a messaging system integrated with our system: our table of users, our forms, ...), but we have no experience with sockets, ServletSockets, Threats ... We are goog developing business softw

Decrease image resolution , size.

2005-05-04 Thread haim
Hi All I am having a photo album application that allows users to upload photos and create albums. I was required to decrease the size of the downloaded image so it will take less space on the hard disk , and still keep reasonable quality when displayed. Currently I am using commons-fileupload.

Re: My OWN VALIDATOR

2005-05-04 Thread Niall Pemberton
Looks like the method signature you've defined in the validaot-rules.xml doesn't match whats actually in your java class. How about you show us validateLicenciaMaestro() method in the ValidatorLicenciaMaestro class? - Original Message - From: "Metal KoRn" <[EMAIL PROTECTED]> To: Sent: Th

My OWN VALIDATOR

2005-05-04 Thread Metal KoRn
Hey guys Im having a bit of problems by applying my own validators. The thing is that I create my validator class, for testing reasons the calling method returns a false, this only for checkin if the validator is working good. But Im getting the following Exception. Im using Struts 1.2.4 version

Re: File Upload with Struts .

2005-05-04 Thread Larry Meadors
If you have a box with a metric buttload of RAM, maybe. If not, you really shoudl not be using http to upload that much data. FTP would probably be more appropriate. Larry On 5/4/05, temp temp <[EMAIL PROTECTED]> wrote: > > > Can I upload very large files like 8 Gb with struts > file upload

Re: 1.3 and chains

2005-05-04 Thread Joe Germuska
At 4:05 PM -0700 5/4/05, Michael Jouravlev wrote: No, it compiles. But does not... well, did not run. Stupid, stupid, stupid me. There IS chain-config.xml in 1.3, but in core\conf\share. Should not it be moved (or copied) to org\apache\struts\chain where ActionServlet looks it up by default? The ma

Re: struts file upload

2005-05-04 Thread Dakota Jack
You might want to build your own file upload application off of commons or cos. The Struts application is not particularly sophisticated. However, if you do, then you have to build your own objects to mine the data, because Struts has tied the internals of the RequestProcessor to the upload appli

Re: struts file upload

2005-05-04 Thread Martin Gainty
Miro Check out JavaZoom UploadBean at http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html HTH, Martin- - Original Message - From: "temp temp" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 04, 2005 8:09 PM Subject: struts file upload I am using struts and trying to upload files

struts file upload

2005-05-04 Thread temp temp
I am using struts and trying to upload files of any type and size.If the server as well as client is on the same PC no issues ,but if I try to accomplish this across the network then I am only able to upload a file if the size is less then 1 MB .Not sure what the problem is. thanks & regards

File Upload with Struts .

2005-05-04 Thread temp temp
Can I upload very large files like 8 Gb with struts file upload . thanks & regards __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail ---

Re: 1.3 and chains

2005-05-04 Thread Michael Jouravlev
No, it compiles. But does not... well, did not run. Stupid, stupid, stupid me. There IS chain-config.xml in 1.3, but in core\conf\share. Should not it be moved (or copied) to org\apache\struts\chain where ActionServlet looks it up by default? On 5/4/05, rmanchu <[EMAIL PROTECTED]> wrote: > > hi

Re: 1.3 and chains

2005-05-04 Thread Niall Pemberton
We have a new maven build. If you run the maven build then it packages the chain-config.xml in the "core" jar. Theres some details on the maven build on the wiki here: http://wiki.apache.org/struts/StrutsMaintenanceMaven Alternatively the easiest way to try it out is to download the nightly build

Re: 1.3 and chains

2005-05-04 Thread rmanchu
hi. i compiled with ant, no problems. ps: do u have build_tests.xml? did not get it in my download, so cannot run junit tests. riyaz Michael Jouravlev wrote: I checked out 1.3 from svn, compiled it and tried to run. Apparently, -

1.3 and chains

2005-05-04 Thread Michael Jouravlev
I checked out 1.3 from svn, compiled it and tried to run. Apparently, it cannot find chain-config.xml and throws exception. It is said here http://wiki.apache.org/struts/StrutsChain that chain-config.xml is in Struts distro. It is not in 1.2.6. On the other hand, 1.3 from svn has chain package, but

Re: html:cancel

2005-05-04 Thread Michael Jouravlev
I wanted to reply with same, but wanted to verify it first. Turns out, that many (all?) Struts tags allow text content. I did not know that. Actually, some tags mention this, most do not. Should one assume, that "value" attribute can always be substituted with text content (I can look in the code,

Re: html:cancel

2005-05-04 Thread Niall Pemberton
I believe you can specify the value in the body of the tag... Niall - Original Message - From: "Durham David R Jr Ctr 805 CSPTS/SCE" <[EMAIL PROTECTED]> Sent: Wednesday, May 04, 2005 10:54 PM Hmm, I'll have to look at this. My reason for not using is that I need to spe

RE: html:cancel

2005-05-04 Thread deepak
You can specify the "value" attribute with >> Try using >> >> > > Hmm, I'll have to look at this. My reason for not using > is that I need to specify the "value" as a message resources property. > >> " onclick="bCancel=true;" type="submit"> > > Thanks. > > - Dave > > --

RE: html:cancel

2005-05-04 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> tag submits "org.apache.struts.taglib.html.CANCEL" > as request parameter. Then RequestProcessor checks for > "org.apache.struts.taglib.html.CANCEL" request key and sets > "org.apache.struts.action.CANCEL" (that is, Globals.CANCEL_KEY) > attribute, which is checked by Action.isCancelled() Ah,

RE: html:cancel

2005-05-04 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> Try using > > Hmm, I'll have to look at this. My reason for not using is that I need to specify the "value" as a message resources property. > " onclick="bCancel=true;" type="submit"> Thanks. - Dave - To unsubscribe, e-m

RE: [OT] Recommendation of Instant Messagging System

2005-05-04 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> The requirements are these: > 1. A user has a list of the other users in the system. He can click > a button that initiates a conversation with the selected user. The > other user can accept or not the conversation. If accepts, a "chat > room" is opened and now then can have a conversation. Th

Re: struts file upload problem

2005-05-04 Thread temp temp
I can upload files of size 1 Gb from localhost but not from network so I guess problem is not related to container upload limit as I did upload 1 Gb file from localhost .I am not able to do this from network however I was able to upload small files from network . sairam --- Dave Newton <[EMA

Re: struts file upload problem

2005-05-04 Thread Dave Newton
temp temp wrote: No there is no limit for file upload as per commons fileupload. The server or container might have an upload limit, for intance Apache has (or did, anyway) "LimitRequestBody" config. Dave - To unsubscribe,

RE: struts file upload problem

2005-05-04 Thread temp temp
No there is no limit for file upload as per commons fileupload. I guess there should be some setting with the server for connection time out or something I am using websphere 5.0 can you guide me . --- Folashade Adeyosoye <[EMAIL PROTECTED]> wrote: > 1 GB is Huge to upload, isn't the

Re: html:cancel

2005-05-04 Thread deepak
Try using or " onclick="bCancel=true;" type="submit"> > I've got a jsp chunk like this: > > value=""> > > > And this code in an action: > > if (isCancelled(request)) { > // do something > } > > When I click cancel, isCancelled(request) returns false. Checking the

Re: html:cancel

2005-05-04 Thread Michael Jouravlev
Why don't you just use instead of setting name manually into generic input element? tag submits "org.apache.struts.taglib.html.CANCEL" as request parameter. Then RequestProcessor checks for "org.apache.struts.taglib.html.CANCEL" request key and sets "org.apache.struts.action.CANCEL" (that is, Gl

RE: struts file upload problem

2005-05-04 Thread Folashade Adeyosoye
1 GB is Huge to upload, isn't there alimit? I thought there was -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 4:20 PM To: user@struts.apache.org Subject: struts file upload problem I am using struts to upload a file . It works fine with small

struts( commons -fileupload) file upload

2005-05-04 Thread temp temp
I am using struts (commons-fileupload) to upload a file . It works fine with small files . But for files with size 1Gb it works fine when I upload from localhost but does not work when I upload it from network .I am using websphere 5.0 . Is there any setting for the server which prevents the s

RE: [OT: Swing slow?] Re: ANOTHER IDE

2005-05-04 Thread Folashade Adeyosoye
JBuilder 2005 has been good to me, a little slower that JBuilder 9, with JB 2005 thay have incorporated the eclipse feel -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 5:06 PM To: Struts Users Mailing List Subject: Re: [OT: Swing slow?] Re:

Re: [OT: Swing slow?] Re: ANOTHER IDE

2005-05-04 Thread Dave Newton
Rick Reumann wrote: Eclipse was ok as far as IDE features and price tag, but it just didn't 'feel' right to me. Using IDEA just feels right it, plus of course it does everything and more you'd expect from an IDE. By the way, who says Swing is slow? I don't think they use SWT for IDEA and yet it

html:cancel

2005-05-04 Thread Durham David R Jr Ctr 805 CSPTS/SCE
I've got a jsp chunk like this: "> And this code in an action: if (isCancelled(request)) { // do something } When I click cancel, isCancelled(request) returns false. Checking the Action.isCancelled() method reveals that it looks for a request attribute not a request parame

Re: [OT] Re: ANOTHER IDE

2005-05-04 Thread Rick Reumann
Frank W. Zammetti wrote the following on 5/4/2005 4:00 PM: they always seem to get in the way for me more than they help in the long run. This is how I always felt as well until I used IDEA. It's the one IDE that I've used where I didn't feel like I was using an IDE. Eclipse was ok as far as ID

Re: struts date validator

2005-05-04 Thread Carl Smith
Here is my configuration in validation.xml, I need to validate date entered by user using MM/dd/ format. What is your suggestion? Thanks. Erik Weber <[EMAIL PROTECTED]> wrote:I think you want datePatternStrict instead of datePattern. Erik Carl Smith wrote: >We are using stru

struts file upload problem

2005-05-04 Thread temp temp
I am using struts to upload a file . It works fine with small files . But for files with size 1Gb it works fine when I upload from localhost but does not work when I upload it from network .It gives network exception socket connection closed by peer. Can somebody help me with this. thanks & re

RE: Validation Problem with depends=URL

2005-05-04 Thread Benedict, Paul C
I hope Validator 1.1.5 comes out soon then! -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 3:53 PM To: Struts Users Mailing List Subject: Re: Validation Problem with depends=URL No, it needs to be fixed in Validator and Validator to be r

Re: Overwriting HtmlTag

2005-05-04 Thread James Mitchell
Sort of a hack, but you could achieve this during the build with the Ant replace tag. Here's a related topic: http://raibledesigns.com/page/rd?anchor=trim_spaces_in_your_jsp Based on what Yann posted in a comment, you could modify it to do what you need. Be advised though, I did not try t

Re: [OT] Re: ANOTHER IDE

2005-05-04 Thread Frank W. Zammetti
Agreed... I've played with virtually every IDE out there, any it's always felt like while they have a couple of nicities (and sometimes a VERY nice nicity!) they always seem to get in the way for me more than they help in the long run. The only exception is a debugger, which genuinely is helpf

Re: Validation Problem with depends=URL

2005-05-04 Thread Niall Pemberton
No, it needs to be fixed in Validator and Validator to be released first - once Validator is released we can then change Struts to depend on the new validator version and then ship it in a release. Niall - Original Message - From: "Benedict, Paul C" <[EMAIL PROTECTED]> To: "'Struts Users

[OT] Re: ANOTHER IDE

2005-05-04 Thread Dave Newton
Frank W. Zammetti wrote: Macros are an absolute must for me, and it's art of the reason I still use nothing but UltraEdit... all the fancy code refactoring tools and such that all the IDEs have I wind up doing in macros, and I have more control over how they work, at least, it sure feels like I

Re: Calendar control

2005-05-04 Thread Larry Meadors
OOHH! Look here: http://java-source.net/open-source/groupware Larry On 5/4/05, Rafael Taboada <[EMAIL PROTECTED]> wrote: > > I mean, i want to make a module where i can track events, like > outlook in calendar module. No calendar popup. > > for example: http://php-calendar.sourceforge.net/php

Re: Calendar control

2005-05-04 Thread Rafael Taboada
I mean, i want to make a module where i can track events, like outlook in calendar module. No calendar popup. for example: http://php-calendar.sourceforge.net/php-calendar/ but it is built in php. it there anything like this but in jsp or javascript???. thanks regards. -- Rafael Taboada

Re: struts date validator

2005-05-04 Thread Erik Weber
I think you want datePatternStrict instead of datePattern. Erik Carl Smith wrote: We are using struts date validator, for some reason we found that the struts "date" validator let 04/02/05 pass, but we are hoping that the validation fails since 04/02/05 is not of format MM/dd/. Did you have t

Re: ANOTHER IDE

2005-05-04 Thread Frank W. Zammetti
Macros are an absolute must for me, and it's art of the reason I still use nothing but UltraEdit... all the fancy code refactoring tools and such that all the IDEs have I wind up doing in macros, and I have more control over how they work, at least, it sure feels like I do. I'm going to have an

RE: Validation Problem with depends=URL

2005-05-04 Thread Benedict, Paul C
Will this be in 1.2.7? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 3:13 PM To: Struts Users Mailing List Subject: Re: Validation Problem with depends=URL This is a bug in validator: http://issues.apache.org/bugzilla/show_bug.cgi?id=3

Best practices for multi-channel/shared data validation

2005-05-04 Thread Brown, James
I am in the midst of the redesign of a CORBA-based application framework. The target architecture is J2EE. One architectural goal is that EJB's are used to house (or at least front-end) all core business logic and rules - no underlying knowledge or concern about page flow, data collection or end-

struts date validator

2005-05-04 Thread Carl Smith
We are using struts date validator, for some reason we found that the struts "date" validator let 04/02/05 pass, but we are hoping that the validation fails since 04/02/05 is not of format MM/dd/. Did you have the same issue? What is the correct way to validate the date? Thanks.

Re: Validation Problem with depends=URL

2005-05-04 Thread Niall Pemberton
This is a bug in validator: http://issues.apache.org/bugzilla/show_bug.cgi?id=30686 Niall - Original Message - From: "Günther Wieser" <[EMAIL PROTECTED]> Sent: Wednesday, May 04, 2005 7:46 PM as franck is in my team, i can answer this question on behalf of franck. i think there went

RE: Combining html:image and bean:define

2005-05-04 Thread Chris Loschen
Thanks very much -- that's much more straightforward! I'm starting to find the same problem in a series of other pages as well, so I'm putting your solution to a lot of use right away. I appreciate the help. Chris -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent:

RE: Validation Problem with depends=URL

2005-05-04 Thread =?iso-8859-1?Q?G=FCnther_Wieser?=
hi, as franck is in my team, i can answer this question on behalf of franck. i think there went something wrong with the formatting of his email, of course he types in "http://www.myurl.com"; (yes, without the quotes), but whatever we enter, we get a validation error that this is not a valid url.

RE: Calendar control

2005-05-04 Thread Folashade Adeyosoye
I use this... http://www.dynarch.com/projects/calendar/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 1:23 PM To: Struts Users Mailing List Subject: Re: Calendar control I've used this in the past and it works well. [JavaScript] ht

Re: Calendar control

2005-05-04 Thread gdeschen
I've used this in the past and it works well. [JavaScript] http://www.mattkruse.com/javascript/calendarpopup/ HTH, Glenn Rafael Taboada <[EMAIL PROTECTED]> 04/05/2005 01:15 PM Please respond to "Struts Users Mailing List" To Struts List cc Subject Calendar control Classification

Re: ANOTHER IDE

2005-05-04 Thread Dave Newton
Larry Meadors wrote: It takes a while to really get into IDEA, once you do, everything else feels like notepad or gedit. :-) XML editing? Got it, complete with tag and attribute completion. JSP editing? Got it, and it is as good as or better than the netbeans editor (that says alot). Java editin

Re: Calendar control

2005-05-04 Thread Rick Reumann
Rafael Taboada wrote the following on 5/4/2005 1:15 PM: Hi folks. I'm designing a module in my site where it has to control dates. Do you know if there is a project or open source control for this object? I mean, I need to show a calendar and all dates classified by day or month or year... Plea

Re: Overwriting HtmlTag

2005-05-04 Thread Dakota Jack
I hate to be blunt, Nancy, but the answer is just to do as you say: change the html tag code That is the virtue of code that is decoupled. You can change the code in one place with the effects rippling throughout your code. If you want the code to remain consistent with Struts and to be more por

Calendar control

2005-05-04 Thread Rafael Taboada
Hi folks. I'm designing a module in my site where it has to control dates. Do you know if there is a project or open source control for this object? I mean, I need to show a calendar and all dates classified by day or month or year... Please do u know anything about it? thanks. -- Rafa

Re: ANOTHER IDE

2005-05-04 Thread Larry Meadors
It takes a while to really get into IDEA, once you do, everything else feels like notepad or gedit. :-) XML editing? Got it, complete with tag and attribute completion. JSP editing? Got it, and it is as good as or better than the netbeans editor (that says alot). Java editing? Almost orgasmic..i

Re: [OT] Recommendation of Instant Messagging System

2005-05-04 Thread Erik Weber
I just finished putting together a system with a Swing client and combined services over XMPP and HTTP. I think Leon's suggestion of doing your own is not bad, if you are good with Sockets, ServerSockets, XML APIs and Threads (find a good tutorial on building a chat system such as in the ubiqui

Re: Struts in Resin: 500 Servlet Exception

2005-05-04 Thread T. B.
Thanks Leon, again! --- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > check the wrapper.pl in the resin-3.0.x/bin > > # > # Initial classpath. Usually filled with the > environment or the command > line. > # > $CLASSPATH=""; > > Put you jar files therein. > > Works if you use the 3.0.x version

Re: How to populate a map of lists in an action form?

2005-05-04 Thread Rick Reumann
Daniel Lobo wrote the following on 5/4/2005 11:19 AM: I'm still as you Rick. The only solution i've found, as I said in the first email, is create a new List class, child of ArrayList, with a getter and a setter to get the list itself. This is more or less make the list a bean. In your example y

Re: Hosting cost: Java/Struts apps -versus- PHP apps...help!

2005-05-04 Thread Erik Weber
Sorry no URLs, but I have been seeing prices dipping into the $10 range, which is even with PHP (the cheapest PHP I ever saw was $4 but typical is $8.99 I think). And I have found that Tomcat/MySQL or Tomcat/PostgreSQL is everywhere, plus you'll usually get an Apache Web Server too. But be awar

Re: [OT] Help in Application Design

2005-05-04 Thread Michael Jouravlev
If you prefer to have one page/one object paradigm and to submit page to itself, you might want to do it in JSF. If you prefer front controller paradigm which Struts uses, then you might want to move all code from JSPs into business classes, which are called from Struts actions, and to transform yo

Re: Hosting cost: Java/Struts apps -versus- PHP apps...help!

2005-05-04 Thread Matt Raible
I believe that www.kgbinternet.com has prices that are competitive with PHP hosting. Their $20 (CAD) is $16 US. http://www.kgbinternet.com/privatejvm.html Matt On May 4, 2005, at 6:43 AM, O. Oke wrote: Please direct me on how to deal with the comparative high cost of hosting Java applications. DE

Overwriting HtmlTag

2005-05-04 Thread Nancy Lin
Hi all, I have bunch of jsp with html tag and I want to automatically generate onchange function whent user changes/modified the data. Since the function that will be called on onChange will be the same throught out, I do not want every developer to go to each JSP(there are hundreds of file) and

Re: How to populate a map of lists in an action form?

2005-05-04 Thread Daniel Lobo
I'm still as you Rick. The only solution i've found, as I said in the first email, is create a new List class, child of ArrayList, with a getter and a setter to get the list itself. This is more or less make the list a bean. In your example you could access to an employee like this: testForm.bi

Re: Struts in Resin: 500 Servlet Exception

2005-05-04 Thread Leon Rosenberg
check the wrapper.pl in the resin-3.0.x/bin # # Initial classpath. Usually filled with the environment or the command line. # $CLASSPATH=""; Put you jar files therein. Works if you use the 3.0.x version of resin of course. If you are under windoz, you can write a batch file which calls httpd.e

Re: How to populate a map of lists in an action form?

2005-05-04 Thread Rick Reumann
Daniel's question still has me perplexed? I'm still stumped on how to write the inputs for html and the proper ActionForm methods that would accomodate a situation where you needed to update Maps or Lists that are nested deeply. I understand how to do it when you have access methods to the List

Re: [OT] Help in Application Design

2005-05-04 Thread Vic Cekvenich (netsql)
look at tiles section of struts books .V Richard Reyes wrote: Hi Guys, I have been task to maintain several jsp web applicatiohumonguosns. Each application has about 15 humonguos jsp's. Their original designs are to submit jsp pages to itself so each jsp contains large volumes of java codes. From t

Re: Struts in Resin: 500 Servlet Exception

2005-05-04 Thread T. B.
Thanks Leon! You are right about the other jars to be deployed. By the way, is there a way to specify other paths where other jar files resides so STRUTS know where to look for them instead of copying them to the app's lib? Thong --- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > Are you sure that

Re: Validation Problem with depends=URL

2005-05-04 Thread Dave Newton
Franck Wiegner wrote: invalid url I also get an error-msg, still okay. but when I enter a valid url (example: http://www.myurl.com) I also get the message that this is an invalid url, which is not okay, cause as long as I am not able to enter valid urls my form bean will ne

Re: How handle multiple records in form?

2005-05-04 Thread Vic Cekvenich (netsql)
struts html tag handle this, look at the docs page. Also displaytag was supposed to do this some time... not sure when. .V e-denton Java Programmer wrote: Hi, I need to accept up to 20 records per form, which may have been edited and update them in the database. In the past I have tried assigning u

How handle multiple records in form?

2005-05-04 Thread e-denton Java Programmer
Hi, I need to accept up to 20 records per form, which may have been edited and update them in the database. In the past I have tried assigning unique ids to each form field or using Javascript to create an XML string of the fields. I don't like either method. Is there a best practice for this? Th

How handle multiple records in form?

2005-05-04 Thread e-denton Java Programmer
Hi, I need to accept up to 20 records per form, which may have been edited and update them in the database. In the past I have tried assigning unique ids to each form field or using Javascript to create an XML string of the fields. I don't like either method. Is there a best practice for this? Th

Re: Hosting cost: Java/Struts apps -versus- PHP apps...help!

2005-05-04 Thread O. Oke
I completely, agree with your point, but it is not always easy to convince a client that it is better to develop certain applications with Java technology. Thanks O'Dele. --- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > Well, If your Java _application_ has no addit-value > against a php > scrip

Re: Hosting cost: Java/Struts apps -versus- PHP apps...help!

2005-05-04 Thread Leon Rosenberg
Well, If your Java _application_ has no addit-value against a php script, then you maybe shouldn't develop it with java? If it's so simple, that it can be done with php, if performance isn't a requirement, if manageability, flexibility and scaleability of the application isn't worth money, then

Hosting cost: Java/Struts apps -versus- PHP apps...help!

2005-05-04 Thread O. Oke
Please direct me on how to deal with the comparative high cost of hosting Java applications. DETAIL == My potential clients/customers already have PHP server as part of their hosting package. With Tomcat, it is a different story; the hosting companies of most of these potential clients, do n

[OT] Help in Application Design

2005-05-04 Thread Richard Reyes
Hi Guys, I have been task to maintain several jsp web applicatiohumonguosns. Each application has about 15 humonguos jsp's. Their original designs are to submit jsp pages to itself so each jsp contains large volumes of java codes. >From time to time a new feature request comes and there comes the

Validation Problem with depends=URL

2005-05-04 Thread Franck Wiegner
Hey, i am trying to validate the input of a form bean containing various fields. One of the fields requires the entry of an URL. The field-tag in my validation.xml looks like that: allowallschemes false

RE: Struts 1.3, chain & command configuration / few thoughts..

2005-05-04 Thread Joe Germuska
At 12:00 PM +0100 5/4/05, Marco Mistroni wrote: Hello joe, So really, all you should need to do is write a custom subclass of ComposableRequestProcessor which gets its base CatalogFactory from Spring during the init method. Then, you'd have to adapt the default chain-config.xml into Spring's bean

RE: Struts 1.3, chain & command configuration / few thoughts..

2005-05-04 Thread Marco Mistroni
Hello joe, >So really, all you should need to do is write a custom subclass of >ComposableRequestProcessor which gets its base CatalogFactory from >Spring during the init method. Then, you'd have to adapt the >default chain-config.xml into Spring's bean-factory XML syntax so as >to create a C

Re: Struts 1.3, chain & command configuration / few thoughts..

2005-05-04 Thread Joe Germuska
Hi, Marco: Since you first brought up using Spring to configure the chain, that has been on the back of my mind. Probably like you, as I use Spring more in an application I find it frustrating to bump up against places where I can't seem to connect to the ApplicationContext or otherwise use Sp

[OT]Re: Possibly OT: JSF Facets

2005-05-04 Thread Duncan Mills
Facets are named children of a component. You put something in a named slot and then the component actually takes care of how they gets laid out. This means the component can control the look and feel of the layout and adapt to localization issues such as reading right to left. It's a bit like

Struts 1.3, chain & command configuration / few thoughts..

2005-05-04 Thread Marco Mistroni
Hello all, I am currently using Struts 1.3dev in my application, and I have recently bothered the list to find a way to configure commands via Spring. Now, just yesterday, I came across an article (http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains2.html) on how The new RequestProce

Re: [OT] Recommendation of Instant Messagging System

2005-05-04 Thread masegui
The requirements are these: 1. A user has a list of the other users in the system. He can click a button that initiates a conversation with the selected user. The other user can accept or not the conversation. If accepts, a "chat room" is opened and now then can have a conversation. The rooms only

Re: Seperation between Controller and Model

2005-05-04 Thread Leon Rosenberg
your problem seems to be 100% presentation. Business logic shouldn't know anything about confirmation pages, because it's not a part of the business use case. Business logic should provide you the methods to perform the checks. like: in First Update Action: if (service.hasKeyPairMoved()) se

Re: [OT] Recommendation of Instant Messagging System

2005-05-04 Thread Leon Rosenberg
if your only functionality is to allow users to send each other messages which are embedded in the site (html, or something, but no standalone-desktop solutions) forget about existing systems and implement it by yourself. I have implemented dozens of such systems over the time, it's normally about

Re: Struts in Resin: 500 Servlet Exception

2005-05-04 Thread Leon Rosenberg
Are you sure that listen.jar has no futher dependencies? It looks like something in listen.jar (a class) which is initialized from JdbcUser.java:238 requires some other libs. example: Class A B = new B(); now B is in b.jar and in class B you have something like class B{ private static C c; }

Re: [OT] Recommendation of Instant Messagging System

2005-05-04 Thread Jason Lea
Hi, No experience in programming, only as a user. Look at http://www.jabber.org/ - "the Jabber protocols are free, open, public, and easily understandable; in addition, multiple implementations exist for clients , servers