I'm not sure about best practices, but I try to avoid database connections
in my actions. I tend to put this code in the model objects and let them
handle exceptions and so forth.
> Hi all,
> In a well written struts application, we assume declarative exception
> handling is used. Therefore the c
Along similar lines, I have a question of using modules for
internationalization. We have a requirement to not only support i18n, but
to be able to tell the client how many of their visitors are seeing which
language version of any particular web page. I had thought of using
modules to help keep
issue. It will work anyway by
> Struts reading the browser default settings, but language-swich buttons
> are a little bit more tricky. Ask if you need it.
>
> Greetz
>
> Danny
>
>
>
> Bryon Lape schrieb:
>> A customer of ours has a site that they want to move int
A customer of ours has a site that they want to move into Canada. This
means every page will need to be translated into Canadan French and abide
by Canadian law. Currently, the site is en_US. THe site was built using
Struts and Tiles, but the tiles are not defined in Tiles XML, instead
there are
I've tried every single combination of message file names, struts, tiles
and the like to get iPlanet to see the messages and nothing worked. I've
come to the conclusion that iPlanet is just a big pile of heisse Schiesse.
It is odd because I use property files to config my own objects and they
can
I am beginning to believe that iPlanet is the root of my problems. I was
successful in getting iPlanet to use the 1.4 version of the JVM, but it
still does not resolves the MessageResources properly. In the debug log,
I do see what looks like it is reading the files, but I do not see a
"found thi
> Niall Pemberton a écrit :
>
>>What you have should work - but its always going to give an error unless
>>statut is set to "Doctorant".
>>
>>
> Yes! It's what i want.
>
>>Are you sure "statut" is in your bean and getting populated?
>>
>>
> Yes, because when the error happen (every time with any "s
> Hello
> Does anyone know or used an open source for databaup
> from windows XP, i need this software to be able
> select folders for backup, backup files changed, add
> if does not exist, and schedule backup from my laptop
> and desktop
>
I'm guess you mean something in place of the backup progr
I now have logging giving me something useful. When a form is submitted
with validation errors and below is an excerpt. No errors reported, but
it can't find tiles-def files. There is a tiles-def.xml, but the html
form is not listed there. Nor are the inputs or success urls.
---
Configuring a .File and giving it a name I've been able to find the log.
I can see it converting the parameter on and
converts it to a String. WHat I don't see is it reading it nor are there
any errors. I even put a value in of a file that does not exist and still
no error.
---
>>
> hm strange ... in this case I don't know what ot tell you ...
> the file name should be struts.log
> may be somebody who is more familiar with log4j should give you an idea
> ...
> borislav
Let me do a search on the whole harddrive for that file name.
---
> Bryon Lape wrote:
>
>>>Bryon Lape wrote:
>>>
>>>
>>>
>>>>>Bryon Lape wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>I am looking for good pointers
> Bryon Lape wrote:
>
>>>Bryon Lape wrote:
>>>
>>>
>>>
>>>>I am looking for good pointers on getting debug logging turned on in
>>>>Struts. I've added debug and detail params to my web.xml file, but I
>>>> get
> Bryon Lape wrote:
>
>>I am looking for good pointers on getting debug logging turned on in
>>Struts. I've added debug and detail params to my web.xml file, but I get
>>nothing. Do I need log4j? In the Struts Cookbook I've found some things
>>on
n connect remotely with your IDE and step through
> the code and observe variable values.
>
> -Richard
>
>
> Bryon Lape wrote:
>>> Bryon Lape wrote:
>>>
>>>
>>>> My goodness, it is as long as I thought. I can at least cut and paste
>>&g
> Bryon Lape wrote:
>
>>My goodness, it is as long as I thought. I can at least cut and paste
>>this instead of doing all that typing.
>>
>>
>>
> is it so much?
>
>>Thanks. I'll let you know how it goes. I am running under iPlanet Web
>&g
> I hope this could help you:
> 1. get log4j and put it together with other jars of your web project
> 2. create a log4j.properties file and put on the root of your web app.
> 3. add following lines in log4j.properties
>
>
> Borislav
My goodness, it is as long as I thought. I can at least cut and
I am looking for good pointers on getting debug logging turned on in
Struts. I've added debug and detail params to my web.xml file, but I get
nothing. Do I need log4j? In the Struts Cookbook I've found some things
on debugging, but it seems very complex to configure. Is this correct?
Is gettin
Wow, even better. Thanks.
>
> It's a standard build in validation of the validator see
> http://struts.apache.org/userGuide/dev_validator.html
>
> Gr,
> Bram
>
> I'm looking for a regular expression or something I can plug into Struts
> 1.2 to validate e-mail addresses off of a DynaForms. Anyone
> I'm looking for a regular expression or something I can plug into Struts
> 1.2 to validate e-mail addresses off of a DynaForms. Anyone have any
> pointers?
>
>
Never mind. I found this one on an ASP.Net page:
[EMAIL PROTECTED],3}
it is good enough for my needs.
20 matches
Mail list logo