Re: Need Help: XML to HTML using java

2004-10-14 Thread Kranti Parisa
thanx alot Andrew On Fri, 15 Oct 2004 13:22:10 +0800, Andrew Hill <[EMAIL PROTECTED]> wrote: > These might help: > > http://stxx.sourceforge.net/ > > http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html > > > > > Kranti Parisa wrote: > > > Thanq > > > > i will follow ur su

Re: mechanism to clear objects in the session

2004-10-14 Thread Erik Weber
There was no common solution discussed that I recall. But, the idea is, put a class to work in a place where it can monitor every request. For example, in a Servlet Filter, or in a Struts RequestProcessor subclass, or an Action base class. As far as I know, there is no existing framework or com

RE: Null after error message

2004-10-14 Thread Toby Saville
You're a legend! I didn't have an = sign between my errors.footer key and value. Thanks. -Original Message- From: Shinobu Kawai [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 3:04 PM To: Struts Users Mailing List Subject: Re: Null after error message Hi Toby, > When I print

Re: Need Help: XML to HTML using java

2004-10-14 Thread Andrew Hill
These might help: http://stxx.sourceforge.net/ http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html Kranti Parisa wrote: Thanq i will follow ur suggestion On Fri, 15 Oct 2004 10:24:36 +0530, Kailash Vasani <[EMAIL PROTECTED]> wrote: Hi, It seems that all you need is XSL transforma

mechanism to clear objects in the session

2004-10-14 Thread lixin chu
Hi, I saw an ealier thread discussing this but still can not fully understand the solution. appreciate if any one can provide some more detailed info on this. basically if the current page flow is terminated for some reason, how the Struts application can clear the objects stored in the session ?

Re: Need Help: XML to HTML using java

2004-10-14 Thread Kranti Parisa
Thanq i will follow ur suggestion On Fri, 15 Oct 2004 10:24:36 +0530, Kailash Vasani <[EMAIL PROTECTED]> wrote: > Hi, > > It seems that all you need is XSL transformation. > > One more suggestion, > Before posting questions to this group, Please put [OT] (including brackets) > as first charact

Re: ActionError deprecated but ActionForm validate() uses ActionErrors

2004-10-14 Thread Shinobu Kawai
Hi Eu Gene, > Re the title, ActionError was deprecated in Struts 1.2 but ActionForm > validate() still returns ActionErrors. ActionErrors only has one add() > method that accepts ActionError, not ActionMessage. > > How do I modify my code in such a way to avoid using the deprecated > ActionError

Re: Null after error message

2004-10-14 Thread Shinobu Kawai
Hi Toby, > When I print an error message using > > > > The error message is correctly displayed (from my ApplicationResources > file) however after each error message, the word "null" appears. Why is > this? What are you setting for "errors.suffix"? And the other resources stated at http:

Null after error message

2004-10-14 Thread Toby Saville
Hello, When I print an error message using The error message is correctly displayed (from my ApplicationResources file) however after each error message, the word "null" appears. Why is this? When I create an action error I do it like this: errors.add("myProperty", new ActionError("myPropert

RE: Need Help: XML to HTML using java

2004-10-14 Thread Kailash Vasani
Hi, It seems that all you need is XSL transformation. One more suggestion, Before posting questions to this group, Please put [OT] (including brackets) as first characters in subject line, in case the question that you are asking is not relevant to Struts. (like this question). -Original Me

Need Help: XML to HTML using java

2004-10-14 Thread Kranti Parisa
Hi all, i have a problem... iam having a xml file having the following structure.. i need to convert this xml file to HTML file having the table of information.. so plz help me out... Sainsbury's aromatherapy citrus mint TestPerf TestPerf001 Ashraf Product

RE: problem with element in struts-config.xml

2004-10-14 Thread David G. Friedman
Ashish, Your action has validate="true" but not input="" parameter to go when validation fails. So where does the page go? Is this part of your display problem? Regards, David -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 5:56 PM

RE: struts validation and resource file

2004-10-14 Thread David G. Friedman
Ashish, I think you want to change your to include a bundle="approvals" and resource="true" to use the key name dapproval.006 from the "approvals" message bundle. See the javadoc for the commons validator at: http://jakarta.apache.org/commons/validator/apidocs/org/apache/commons/valid ator/Arg.

Re: sending/maintaning a download link

2004-10-14 Thread Richard
Thanks guys for the help. Thanks for bringing the idea forward Craig. On Thu, 14 Oct 2004 11:40:49 -0700, Craig McClanahan <[EMAIL PROTECTED]> wrote: > You should note that the standard struts-example webapp does exactly > this ... the "database" is represented as an XML file that is > initialze

ActionError deprecated but ActionForm validate() uses ActionErrors

2004-10-14 Thread eugene . lim
Good day, Re the title, ActionError was deprecated in Struts 1.2 but ActionForm validate() still returns ActionErrors. ActionErrors only has one add() method that accepts ActionError, not ActionMessage. How do I modify my code in such a way to avoid using the deprecated ActionError, but still mak

Re: Validator not validating v. 1.2.4

2004-10-14 Thread Vic Cekvenich
Motly I have validate=flase and manualy call it. Consider unit testing it like that outside of Tomcat. .V Jin Bal wrote: Hi Guys My validator config seems to be incorrect somewhere but I'm stumped as to what it is. The symptoms are that the validator succeeds in all validations no matter what i

Exposing ActionForm and MVC fields

2004-10-14 Thread Leandro Melo
Hi, i'd like to hear some opinions. I got a b2b application. I'm facing a desing problem. This problems is associated basically to 2 themes: - MVC - Exposing AcfionForm fields. I got a page where the BUYER fills a form to buy an specific item. The steps are very simple. 1 - He sends a request fo

[ANN] maven-struts-module-plugin 1.0

2004-10-14 Thread Nathan Coast
The codeczar team is pleased to announce version 1.0 of the maven-struts-module-plugin. A maven plugin that makes it easier to work with struts modules. http://www.codeczar.com/products/maven-struts-module-plugin/ use this plugin to: 1) break complex web-apps into smaller module projects e.g. h

Dissapearing items in cluster

2004-10-14 Thread Ivan Vasquez
Our application has a form with a multiple-selection item. We implemented it by including a List in the ActionForm. Each item in the List is a plain-old object, added from the corresponding Action. When this application runs in a 2-node cluster, items in the List dissappear at random. Session r

RE: No ActionErrors from Action class

2004-10-14 Thread Toby Saville
I mean I do the following mapping.findForward("failure"); And the page set up as the failure forward in the struts-config.xml file is correctly shown. toby -Original Message- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 10:25 PM To: [EMAIL PROTECTED] Subj

Render ActionMessages by a Action Class on a jsp

2004-10-14 Thread daniel weiss
Hi folks, i tried to implement render some actionmessages on a jsp by a action class i found this tutorial at http://javaboutique.internet.com/tutorials/excep_struts/index-2.html I thought, this it'll be the right way to do this, but my result was: javax.servlet.ServletException: Cannot find b

struts validation and resource file

2004-10-14 Thread Ashish Kulkarni
Hi Can i specify which message resource should be used to get the text when performing validation? I hit the follwoing problem In my struts-configxml i have defined 2 resource files like and in my validation.xml file i have the following validation where key approval.005 is from resource

problem with element in struts-config.xml

2004-10-14 Thread Ashish Kulkarni
Hi I am having problem with element I have 2 jsp, adminlogin.jsp is in folder pages and index.jsp is in folder pages\admin Here is how i have defined my action in struts-config.xml file Now the problem if i get error in AdminLoginAction it tries to display adminlogin.jsp, but the relative path

Re: Sanity check: Struts 1.2.4/Tomcat config

2004-10-14 Thread Craig McClanahan
All you need to do is add a "welcome file" element in web.xml that points the user at your login action: welcome.do This won't work in Tomcat 4, but does work in Tomcat 5. (NOTE: if you're using Servlet 2.3 or earlier format for your web.xml file, the order of the elements is defined

RE: populating multiple action forms

2004-10-14 Thread Fedor Smirnoff
So you are saying I should use same properties between the two forms and than copy from one to another? Is it better than just pulling variables from request and putting them into the second form? Thanks, Fedor -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursd

RE: populating multiple action forms

2004-10-14 Thread Fedor Smirnoff
So you are saying I should use same properties between the two forms and than copy from one to another? Is it better than just pulling variables from request and putting them into the second form? Thanks, Fedor -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursd

Re: synchronizer token - double submit problem

2004-10-14 Thread umamaheswara rao
Hi, Good to get Response from you Mr. Craig McClanahan. Please find the following problem I've ... I've followed the article mentioned in javaworld (http://www.javaworld.com/javatips/jw-javatip136_p.html), Since I have BaseActionClass which extends Action class following are the Action cla

Sanity check: Struts 1.2.4/Tomcat config

2004-10-14 Thread Kevin Clifton
Hello all. I'm just looking for a quick sanity check before I go off to build some pieces I'm building out a webapp that will use Struts with Tomcat 5.0.2x. I'm planning to run everything under Tomcat and avoid deploying Apache for handling static content. I've prototyped a signup module for

problem with table of radio buttons on Unix

2004-10-14 Thread Shyam Anand
Hi, I have a scenario where I have a table of radio buttons for a set of questions (Yes/No) on a page. I'm using indexed properties for the same. Each question on my JSP is represented by an object called YesNoQuestion, and my ActionForm uses an ArrayList of YesNoQuestions called yesNoList. In

Re: and Problem

2004-10-14 Thread Hubert Rabago
Try "enctype": http://struts.apache.org/userGuide/struts-html.html#form On Thu, 14 Oct 2004 13:22:24 -0700 (PDT), Caroline Jen <[EMAIL PROTECTED]> wrote: > I have a form with a drop-down menu in it. The > drop-down menu is created using the tag. > > Everything displays well this way: > >

and Problem

2004-10-14 Thread Caroline Jen
I have a form with a drop-down menu in it. The drop-down menu is created using the tag. Everything displays well this way: -Select- But, if I add this attribute; ENCTYPE="multipart/form-data", in the tag like this: I get this runtime error in the browser: Attribute ENC

Re: ActionForm Does Not Pick Up the Value of Check Boxes

2004-10-14 Thread Hubert Rabago
I haven't tried this yet, but I do know that the Struts docs say you need to use the multibox tag instead of the checkbox tag if you want to use a string array. http://struts.apache.org/userGuide/struts-html.html#multibox On Thu, 14 Oct 2004 11:36:29 -0700 (PDT), Caroline Jen <[EMAIL PROTECTED]>

Re: populating multiple action forms

2004-10-14 Thread Hubert Rabago
He he he, I just thought up a nasty hack to attempt this, though I haven't tried it yet to see if it would work. It involves a BeanValidatorForm that wraps another BeanValidatorForm. Calling Niall, would this work? =p I wonder if I'll be able to find the time to do it tonight. Sorry, Fedor, I'm

struts and caching

2004-10-14 Thread hicnar_struts_list
Hi, Are there any cache libraries that work with Struts (or any other known and working techniques)?? In the app I'm working on I'd like to minimize the interaction with database. I was thinking of using OSCache, but I'm affraid it doesn't make sense, because interaction with the database takes p

populating multiple action forms

2004-10-14 Thread Fedor Smirnoff
Can I populate multiple action forms form one jsp file/ one action. I know I can access other forms with session and pull variables from request to populate secondary action form, however, is there a better way to do it? Thanks Fedor --

populating multiple action forms

2004-10-14 Thread Fedor Smirnoff
Can I populate multiple action forms form one jsp file/ one action. I know I can access other forms with session and pull variables from request to populate secondary action form, however, is there a better way to do it? Thanks Fedor --

Re: synchronizer token - double submit problem

2004-10-14 Thread Jeff Beal
The tag inserts the token as a hidden field. umamaheswara rao wrote: Hi , Your help is apprciated. How do I set a token it to JSP ? do I need to have to set the token to the form bean(form.setToken("value from session with saveToken method")) in the action class which calls saveToken(req

Re: synchronizer token - double submit problem

2004-10-14 Thread Craig McClanahan
Once you've called saveToken(), the tag will automatically create a hidden field with a name that is known to the isTokenValid() and resetToken() methods -- you do not have to do anything at all in the JSP page for this to work. Craig On Thu, 14 Oct 2004 11:30:28 -0700 (PDT), umamaheswara rao <

Re: sending/maintaning a download link

2004-10-14 Thread Craig McClanahan
You should note that the standard struts-example webapp does exactly this ... the "database" is represented as an XML file that is initialzed in the init() method of a plugin, and finalized in the destroy() method. Craig On Thu, 14 Oct 2004 09:43:36 -0700, Wiebe de Jong <[EMAIL PROTECTED]> wrote

ActionForm Does Not Pick Up the Value of Check Boxes

2004-10-14 Thread Caroline Jen
I have a web page that displays check boxes for user to make multiple selection: [code] .. .. .. .. [/code] For testing purpose, I made 6 selections of e-mail addresses among all check boxes displayed, Those 6 e-mail addresses are my friends'. Then, the SelectRecipientFo

synchronizer token - double submit problem

2004-10-14 Thread umamaheswara rao
Hi , Your help is apprciated. How do I set a token it to JSP ? do I need to have to set the token to the form bean(form.setToken("value from session with saveToken method")) in the action class which calls saveToken(request) method ? I understand the following process...but I got stu

RE: Streaming an attachment from an Action not working with Internet Explorer

2004-10-14 Thread Moynihan, Edward
Hi, Thanks for the suggestions. I've found that if I set the following, then the correct File Download dialog appears response.setHeader("Pragma", ""); response.setHeader("Expires", ""); -Ed. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED]

RE: sending/maintaning a download link

2004-10-14 Thread Wiebe de Jong
If you don't have access to a database, then creating some kind of in-memory database and storing it in the servlet context is a good alternative. Use a Struts plugin for setup and cleanup of whatever you use. One thing you will have to be careful of is using up all your memory. If you are storing

Re: An Eclipse Like WebApp Framework? -- a proposal

2004-10-14 Thread Michael McGrady
Looks like looking at what is being done with chain would be the first thing. I have a question and a comment. If you don't have time for the qeustion, I certainly will understand. QUESTION: Component drag and drop? Is the drag and drop for apps using the chaing of responsibility framework o

Re: Validator not validating v. 1.2.4 - solved

2004-10-14 Thread Jin Bal
It was an old version of validator-rules.xml thanks for the help Jin - Original Message - From: "Hollaway, Shedrick CIV (TRFKB C600)" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, October 14, 2004 5:06 PM Subject: RE: Validator not validating v.

RE: Validator not validating v. 1.2.4

2004-10-14 Thread Hollaway, Shedrick CIV (TRFKB C600)
Is this the complete form bean? > the form bean looks like: > > public class PasswordReminderForm extends ValidatorActionForm { > public PasswordReminderForm() { > } > private String emailAddress; > public String getEmailAddress() { > return emailAddress; > } > publ

Re: How to read MessageResources.

2004-10-14 Thread Alan Pocklington
Bill, Thanks for the pointer. I have already downloaded the source and have extended Struts successfully many times. The MessageResources thing was something I couldn't quite get my head around, so I figured I'd ask the experts. Now I have the code, it didn't seem so complicated after all.

Re: FieldChecks change signature and no longer returns value

2004-10-14 Thread Mick Wever
> Gentoo now has the latest version. You're responsible for the ebuild? Thanks! But doesn't build: >>> Source unpacked. Buildfile: build.xml does not exist! Build failed Mick. -- --- "The reward of patience is patience." St. Augustine http://www.harryspractice.com.au>Harry's Practice --- --

RE: Problem with struts validator../ Struts 1.2

2004-10-14 Thread Marco Mistroni
Hello, Thanx... actually after finding it out, I needed anyway To update my validation files.. It turned out that I had to replace validation-rules.xml with the one that Comes with struts-examples 1.2, as well as change the dtd in validation.xml file... Thanx anyway and regards mar

Re: Navigation and forms submit

2004-10-14 Thread fzlists
Can you smiply have all the forms named the same thing (say, "theForm"), and then on your links, do: onClick="theForm.submit();" -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, October 14, 2004 10:59 am, Karsten Krieg said: > Hi! >

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
On Thu, 14 Oct 2004 07:17:34 -0400, Kris Schneider wrote: > It's got nothing to do with JSTL and everything to do with your Struts > action. The Struts controller effectively performs the forward with the > result of your action's execute method. Yes, can work perfectly > well when used multiple

RE: Problem with struts validator../ Struts 1.2

2004-10-14 Thread Hollaway, Shedrick CIV (TRFKB C600)
Marco, is missing. > my validation.xml Is as follows.. > > > > > > key="error.field.required"/> > > > > > > >

OT: RiA/Soa - was OT Re: Back Button Woes!!!!

2004-10-14 Thread Vic Cekvenich
Rick Reumann wrote: Vic Cekvenich wrote the following on 10/11/2004 7:34 PM: "Walk toward the light" http://theserverside.com/articles/article.tss?l=RiA Vic, I briefly read over the article. I was hoping people would do the 3 pages of code to check out, or download it. It's for programing more t

Re: Using JSTL 1.1 with Struts 1.2.4 and JBoss 3.2.5 or 4.0?

2004-10-14 Thread Satish Talim
Karr I did as per your explanation. This is the result: if you look at my success.jsp page, I had to use core_rt in the uri to get the output. If I use just core in the uri, I get an error as: "According to TLD or attribute directive in tag file, attribute value does not accept any expressions"

Navigation and forms submit

2004-10-14 Thread Karsten Krieg
Hi! I've a navigation bar on the left side of my application which consists mostly of tags with an action named /navigateMenu, which performs the task of passing the control to the target action, depending on the index. Our application design now requires that the ac

Re: Validator not validating v. 1.2.4

2004-10-14 Thread Jin Bal
Thanks for your reply: the "/" is that hte form name matche the path attribute in the struts config and follows the example in the docs. thanks Jin Should your formname start with a "/" ? Lee On Thu, 14 Oct 2004 13:35:54 +0100, Jin Bal <[EMAIL PROTECTED]> wrote: Hi Guys My validator config seems

Re: Using JSTL 1.1 with Struts 1.2.4 and JBoss 3.2.5 or 4.0?

2004-10-14 Thread Satish Talim
Rick, well if you look at myjsppage.jsp, I had to use core_rt in the uri. If I use just core in the uri, I get an error as: "According to TLD or attribute directive in tag file, attribute value does not accept any expressions" <%@ taglib uri="http://java.sun.com/jstl/core_rt"; prefix="c" %>

Re: Validator not validating v. 1.2.4

2004-10-14 Thread Lee Harrington
Should your formname start with a "/" ? Lee On Thu, 14 Oct 2004 13:35:54 +0100, Jin Bal <[EMAIL PROTECTED]> wrote: > Hi Guys > > My validator config seems to be incorrect somewhere but I'm stumped as to what it > is. The symptoms are that the validator succeeds in all validations no matter wh

RE: Using JSTL 1.1 with Struts 1.2.4 and JBoss 3.2.5 or 4.0?

2004-10-14 Thread Karr, David
> -Original Message- > From: Satish Talim [mailto:[EMAIL PROTECTED] > > However, I am still unclear. Karr mentioned "The features > provided by Struts-EL are all natively provided in the > container. " - so how does this JBoss container evaluate > jar file? Any ideas? Sorry, I was un

Re: Streaming an attachment from an Action not working with Internet Explorer

2004-10-14 Thread Martin Gainty
Ed My experience is that the majority of Microsoft programs (IE) default to saving contents to %USERPROFILE% folder I would suggest using fully qualified pathname %TOMCAT_HOME%\\webapps\\testDownload\\TextDownloadByOctectStreamWithoutForwa rd.txt (instead of relative path..) Anyone else? Martin- --

Re: An Eclipse Like WebApp Framework? -- a proposal

2004-10-14 Thread Ted Husted
On Wed, 06 Oct 2004 08:26:20 -0700, Michael McGrady wrote: > PROPOSAL/SUGGESTION > > > If you were interested, we might try doing this as a Struts Branch, > maybe calling it "Branch" or "Struts Branch", with a really up-to- > date modular structure along the lines indicated in Stuart Dabbs > Hallow

Re: Streaming an attachment from an Action not working with Internet Explorer

2004-10-14 Thread Susan Bradeen
On Wed, 13 Oct 2004 13:12:23 -0400, Moynihan, Edward <[EMAIL PROTECTED]> wrote: > Hi, >Can anyone point me in the right direction with the following problem that I am > experiencing. > >I've written a very simple action that streams back to the client an attachment. > So, here is a code

Validator not validating v. 1.2.4

2004-10-14 Thread Jin Bal
Hi Guys My validator config seems to be incorrect somewhere but I'm stumped as to what it is. The symptoms are that the validator succeeds in all validations no matter what i enter (or don't enter) in the form I am using an extension of ValidatorActionForm to use the path attribute in the stru

Re: The old 'please wait' issue

2004-10-14 Thread Jeff Beal
I had something worked up on a former project that allowed me to add extra header information on a page-by-page basis to Tiles. I don't have access to the source code any more, but it looked something like this: Tiles definition file: I don't think that I used the ex

Re: No ActionErrors from Action class

2004-10-14 Thread Jeff Beal
When you say 'redirected' do you mean 'redirected'? If so, that's the problem. Redirecting creates a new request, and the errors are saved in the request scope, so they would be gone. I don't see anything else that jumps out at me. Toby Saville wrote: The browser is then correctly redirected t

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
> It's got nothing to do with JSTL and everything to do with your Struts > action. The Struts controller effectively performs the forward with the > result of your action's execute method. Yes, can work perfectly > well when used multiple times in a page. For URLs that are within the same > contex

Re: Cannot call more than once!

2004-10-14 Thread Kris Schneider
It's got nothing to do with JSTL and everything to do with your Struts action. The Struts controller effectively performs the forward with the result of your action's execute method. Yes, can work perfectly well when used multiple times in a page. For URLs that are within the same context (same ap

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
On Wed, 13 Oct 2004 13:59:32 -0400, Kris Schneider wrote: > I'm not sure he actually intended to do multiple forwards, it seems like > he just wanted to reuse an action to generate some common output. The > fact that Struts is performing an implicit forward in response to each > of those imports c

Re: The old 'please wait' issue

2004-10-14 Thread Lionel
andy wix wrote: > The problem is that I am using Tiles and so cannot have (as far as I > know) a meta-refresh tag as this should go in the head of the > document. Likewise I can't use on-load javascipt as I don't have a > body tag. response.setHeader("Refresh", "..."); --

Re: Passing non-simple Bean to tiles context?

2004-10-14 Thread David Farrell
using - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Passing non-simple Bean to tiles context?

2004-10-14 Thread David Farrell
Hi, I'm attempting to use Tiles at present. My layout page looks like this: <%@ taglib uri="/tags/struts-tiles" prefix="tiles"%> the page that uses that layout has a bit like this: the tile itself (as specificed in /text_template.jsp) looks like this <%@ tagl

RE: i18n and  

2004-10-14 Thread Hiran.Chaudhuri
Hi, Andrew. I'm not a CSS crack, but perhaps use google with "white-space:nowrap" to get further. Hiran - Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimer Straße 11 80867 München Phone +49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -Original Message

Re: i18n and  

2004-10-14 Thread Andrew Hill
a user with bad eyes may choose to use bigger fonts I have perfect eyesight but Ive been making a lot of use of firefox's font resizing abilities lately since my work PC got upgraded to one that can handle 1600 * 1200 resolution... (great for working in eclipse, bad for reading long pages in b

RE: Where Is the Best Place To Store Files?

2004-10-14 Thread McCormack, Chris
Why not have have your httpd serve the static content and leave the application to be handled by your app server (if you have this configuration). This is what the httpd was designed for :) This gives you the independence of leaving your static content to reside on a disk server (or seperate bo

RE: i18n and  

2004-10-14 Thread Hiran.Chaudhuri
Hi, Joe. I'd rather not add any non breaking spaces to the messages. You don't know how long a message might become (typically each language needs another amount of words to express the same, and english is pretty short compared to others). The problem you actually have is a layout problem, and

RE: Where Is the Best Place To Store Files?

2004-10-14 Thread Hiran.Chaudhuri
Hi, guys. Calm down a bit. The original question never said that these files need to be uploaded by the client, or did I miss that bit? All I know is there are readonly files that need to be served via HTTP without access restriction and are already there at deployment time so a database is not

RE: Where Is the Best Place To Store Files?

2004-10-14 Thread Hiran.Chaudhuri
Hi, Carline. You answered the question already. As a database is out of the question, and the files must be downloadable (no database, no WEB-INF subdirectory) you need the filesystem, preferrable inside your webapp but outside of WEB-INF. Just pick a directory. If your superior does not agree,

AW: Validator: Using "<" and ">" in a mask

2004-10-14 Thread Niebert, Tanja
It works! Great, thanks a lot Tanja -Ursprungliche Nachricht- Von: Arnaud Vandyck [mailto:[EMAIL PROTECTED] Im Auftrag von Arnaud Vandyck Gesendet: Donnerstag, 14. Oktober 2004 10:18 An: Struts Users Mailing List Betreff: Re: Validator: Using "<" and ">" in a mask Thu, 14 Oct 2004 08:13

Re: Validator: Using "<" and ">" in a mask

2004-10-14 Thread Arnaud Vandyck
Thu, 14 Oct 2004 08:13:21 +0200, "Niebert, Tanja" <[EMAIL PROTECTED]> wrote: > Hi, > > I want to create a mask validation where I allow alphanumeric > characters plus the "<" and ">" signs. Using "\<" and "\>" doesn't > work. I get an exception saying, that the XML-File is not well formed. > > T

Re: Arzttermin

2004-10-14 Thread Christoph Kutzinski
Markus Heck wrote: Hallo Andreas, ich hab um 9:50 Uhr einen Arzttermin; ich meld mich dann noch mal und sag Bescheid, wann und ob ich heute noch komme. Zu MAP: Dein Programm hab ich gestern noch getestet (mit einer Schleife über alle Sätze aus vip_products), ich hab noch eine Änderung eingebaut, da