+1 for that answer.
Pedro Salgado
On 27/07/2005 08:15, "Tamas Szabo" <[EMAIL PROTECTED]> wrote:
> I wouldn't bet on PHP being more popular than Java webapps.
>
> I think that there will be more smaller Java webapps if there were much
> support for them a
very similar to iBatis
with no complexity at all.
In conclusion, good ideas/implementations can and should be re-used but with
they must be thought on the correct context and implemented exploring the
strengths/advantages of the new language/technology and, sometimes, with a
lot of creativity.
2 more Struts sites to add to the list
(http://wiki.apache.org/struts/StrutsWebLinks):
http://www.iberia.com/
https://caixadirecta.cgd.pt/ (bank)
Of course I cannot be sure but it sure seems like it :)
PS
On 03/07/2005 09:44, "Jesse Alexander (KBSA 21)"
<[EMAIL PROTECTED]> wrote:
> -Origin
t has been 2
years) he usually retrieved the BOs from the model/persistence layer and
then created view objects (POJOs).
I remind him mixing this data on an ActionForm.
Pedro Salgado
>
> Most people I think agree with the idea of a single object communicating
> between the control and th
Well, your option 1) matched the #2
and
2) matched the #4
:)
Pedro Salgado
> #1 Prefer not to use action forms at all
> #2 For input data only (usually collected from HTML form)
> #3 For output only (to be used in JSP)
> #4 Same form for input and output
> #5 One form for inp
So you use #2? :)
Pedro Salgado
On 12/05/2005 14:40, "Vic Cekvenich (netsql)" <[EMAIL PROTECTED]> wrote:
> Some of you needs a struts mentor ;-)
>
> You use display any bean or collection in struts, if it's RO, you don't
> use formBeans and you use
ava bean and always register it
on a specific name (for example "view") either on the request or session
scope?
In the end you have something like ${view.property} on your jsp file.
It is true that you might not be able to easily use but with
JSTL you can reduce this disadvantage.
Ped
xclusively in request or session attributes as necessary, but never the
> form; I believe this complicates and misuses the conception of a form.
I also agree with you.
I even created some small package to make my own "viewbeans
On 25/1/05 8:49 am, "Manisha Sathe" <[EMAIL PROTECTED]> wrote:
> finally i could figure it out as
>
> ActionErrors errors = super.validate(...) ( i am new to java too)
>
> With this i could get the server side validation + my own validation.
>
> The same thing i want to do it for Javascript val
yclasslogger.layout=org.apache.log4j.PatternLayout
log4j.appender.myclasslogger.layout.ConversionPattern=%d{ABSOLUTE} - %p %c -
%m%n
This will solve all logging problems in every class, if you replicate the
same behaviour.
Pedro Salgado
> I have already search information about this and the Struts home page
> refers this too. However
On 14/1/05 9:50 am, "sachin" <[EMAIL PROTECTED]> wrote:
> hi all ,
>
> how to achieve paging in struts views ?
>
http://displaytag.sourceforge.net ?
> so that all the records can be viewed by prevoius , next links
> There are function available in ASP , PHP ..
> If something of that type is
use Intellij IDEA...
+++
1 simple and doesn't get in the way
2 ant/junit integration
3 because it is really really good
---
1 $500 personal license (compared with $0 eclipse) - if you don¹t want to
spend money... well it is not for you.
Pedro Salgado
On 13/1/05 11:26 am, &quo
org.apache.commons.chain.CONFIG_WEB_RESOURCE
chain-config.xml
and
org.apache.commons.chain.CONFIG_WEB_RESOURCE
/WEB-INF/classes/chain-config.xml
the same result.
what is odd is that the digester doesn't parse anything and it doesn't
complain
(that is being copied to the WEB-INF/classes)
** web.xml (Tomcat-5.0.27)
org.apache.commons.chain.CONFIG_CLASS_RESOURCE
chain-config.xml
org.apache.commons.chain.web.ChainListener
on your
form-bean, forget cleaning the session and the rest stays the same.
I hope I have explained myself well.
Pedro Salgado
On 12/1/05 10:29 am, "Mark Benussi" <[EMAIL PROTECTED]> wrote:
> I have a web based application which allows the Creation, Update, Read and
>
I think you could also try this... I think it will also work (maybe you
should then switch from request.setAttribute to session.setAttribute... but
I don¹t remember).
Pedro Salgado
-
To unsubscribe, e-mail: [EMAIL
>
> CategoryEditForm categoryEditForm = (CategoryEditForm)form;
> categoryEditForm.setName("testing");
>
request.setAttribute("categoryEditForm", form);
> return (mapping.findForward("continue"));
I think that will do
ion input.
try a simple form at first... with only one rule and see what happens.
check the files on attachment ;).
Pedro Salgado
>
> Uma
>
> -Original Message-
> From: Pedro Salgado [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 10, 2005 5:29 AM
> To:
check commons-validator.
declare the commons-validator plugin on your struts-config.xml.
use the validator-rules to specify validation rules (basic copy paste).
use the validation.xml to specify the rules that apply to which fields on
a form.
on your jsp use .
Pedro Salgado
On 10/1
,
Pedro Salgado
Hi Robert..
I guess you could achieve the same using the controllerClass attribute and
building your class.. For instance, I have this definition in the
tiles-defs.xml file:
---
---
And I have this controllerClass
---
package com.dars
Have you checked if you aren't duplicating configurations on more than 1
file? (configFile1, ..., configFileN... N replaces configurations that are
also present (duplicate) in 1).
Are you working with modules?
Is the forward pointing to a correct action? (try putting validate =
false... and
You have to add a line to your struts-config pointing to your
message-resources:
(be carefull with typos)
If your using fmt... for the default bundle to point to the same struts
default message bundle, add this to your web.xml:
javax.servlet.jsp.jstl.fmt.localizationCont
How about:
Pedro
On 11/10/04 2:23 pm, "Tom Holmes Jr." <[EMAIL PROTECTED]> wrote:
> I have a tag that looks like this:
>
>
> Rather than having these two address lines on one line, I'd like to
> include a line break so that I get two lines. I've tried a few things
> and can't seem
On 7/10/04 1:00 am, "Gabriel França Campolina" <[EMAIL PROTECTED]> wrote:
> Hi Folks,
> I have the problem when i submit a field text that was mapping to
> java.sql.date in format dd/MM/, I received null value, what´s my
> problem?? only this value I don't received the other fields(String) i
>
On 26/9/04 5:30 pm, "Chris" <[EMAIL PROTECTED]> wrote:
>> - configure your web.xml correctly to enable EL
>> - use struts non-el tag libraries or any non-el tag library (jstl
>>included)
>
> BTW, in JSTL, which one is non-el tag library? c.tld or c-rt.tld ?
If you are using Tomcat5... t
On 26/9/04 5:30 pm, "Chris" <[EMAIL PROTECTED]> wrote:
>> - configure your web.xml correctly to enable EL
>> - use struts non-el tag libraries or any non-el tag library (jstl
>>included)
>
> BTW, in JSTL, which one is non-el tag library? c.tld or c-rt.tld ?
If you are using Tomcat5... t
To forward to the "failure" page try using mapping.getInputForward();
It is better than defining a failure forward everytime and is less
error-prone.
Pedro Salgado
On 26/9/04 4:11 pm, "Yves Sy" <[EMAIL PROTECTED]> wrote:
> What do you mean &qu
orrectly to enable EL
- use struts non-el tag libraries or any non-el tag library (jstl
included)
Regards,
Pedro Salgado
>>
>>
>>
>> - Original Message -
>> From: "David G. Friedman" <[EMAIL PROTECTED]>
>> To: "Struts Users
Hi to everyone!
I have already used taglibs before but I am having some trouble making
jstl core 1.1.1 taglib to evaluate expression languages on Tomcat 5.0.27.
I have all of the required libraries on WEB-INF/lib/ (jstl, standard,
jdbc_2_0_stdext, xalan and xerces).
Tomcat does not give any
On 1/9/04 11:31 pm, "Pedro Salgado" <[EMAIL PROTECTED]> wrote:
>
> 1.
>
> I think all of you are missing one big feature of iBatis: the Dao
> framework.
Well this aint exactly true... David Friedman pointed that already...
sorry :(
>
> Even though, you
s, by implementing the
Templates).
Regards,
Pedro Salgado
On 1/9/04 10:04 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>> I didn't see that you could use straight sql in Hibernate
> You can - that's why we went with it. We can let it do it's stu
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
Pedro Salgado
On 04/06/29 10:46, "Kote, Nijaguna Sangankal"
<[EMAIL PROTECTED]> wrote:
> What is the equalant of
> "-//Apache Software Foundation//DTD Commons Validator Rules
>
Have you checked iBatis? www.ibatis.com
Pedro Salgado
On 04/06/27 12:16, "Irfandhy Franciscus" <[EMAIL PROTECTED]> wrote:
> Thanks for the reply. So far I have tested my apps with JUnit and
> HttpUnit using a single resin serve. and it is working fine. I am just
> sc
ng threadID = String.valueOf( threadID_int );
>> 7. if ( threadRows.size() == 0 ) {}
>> 8. if ( previousOffset >= 0 || nextOffset >= 0 ) {}
>> 9. if ( prevArticle != null ) && ( !article.equals(
>> prevArticle ) ) {}
The article != preArticle I am not
from
session and the unbound method will be called.
When a session times out the ApplicationContainer will be removed from
session and the unbound method will be called.
Pedro Salgado
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
4.1.30).
Pedro Salgado
On 04/06/14 20:24, "Zhang, Larry (L.)" <[EMAIL PROTECTED]> wrote:
> I want to define two security roles, one of which is employee and another is
> manager. Employee is not able to see some resources belonging to manager.
> Under J2EE standard, we ca
and check your framework more carefully.
I found some answers in the Java development with ant sample chapter and
on the Axis documentation.
I will gather all together and then make a reply.
(to all) Thank you for your help.
Pedro Salgado
On 04/05/21 15:21, "None None" <[EM
o a
> String.
> If u need for some reason to map it to a specific type, have a look at
> The org.commons.beanutils.ConvertingWrapDynaBean class and see if it can
> help
>
>
> Dunno what the client would to though..
>
> Regars
> marco
>
>
>
>
>
populated as a regular bean, why not make the
marshaling of the xml document inside of the soap envelope?
You do have the syntax that should be sent on the envelope. You just need
the right bean to marshall to. (It may not be marshal but unmarshal... I get
them both confused, all the time).
Pedr
Is there any MVC implementation for web services (I am not seeing any wasy
way to do that with Struts)?
Thank you,
Pedro Salgado
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
is it a
> little lighter?
I only used Eclipse M2 on my mac so... It has been a while :) to make a
good comparison.
On both cases it is better to have a lot of RAM.
I find IDEA a better option to use as a development environment (it is
what I use at work but I prefered the
e
> struts-config.xml, create a class for that empty form, etc.
>
> Is there a simple way to solve that?
>
What about a button with an onclick Javascript event that redirects you to
the desired Struts action passing a
tions but maybe there could
be some ideas that could help you:
http://www.cs.wustl.edu/~corsaro/papers/RM2003/p18-moreira.pdf
Anyway I think this is good stuff so...
Regards,
Pedro Salgado
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
owed to run between the appserver and webserver.
Another possiblity is appserver business logic provide "services" to the
web server that could lead to a security problem or inconsistent state.
Regards,
Pedro Salgado
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t,%20javax.
servlet.http.HttpServletResponse,%20org.apache.struts.action.Action,%20org.a
pache.struts.action.ActionForm,%20org.apache.struts.action.ActionMapping)
I ran out of ideas so... you can still solve your problem with multiple
actions. :)
Pedro Salgado
>
> Thanks you all.
>
> -Original Mes
the assurance by changing BaseActionUtils, you change
generic validation on all action classes (just like simply extending the
base class).
Pedro Salgado
> Thanks.
>
> -Original Message-
> From: Prabhat Kumar (IT) [mailto:[EMAIL PROTECTED]
> Sent: terça-feira, 30 de março de
ams);
- class RemovePerson extends BaseAction
- execute() : 1st executes PersonUtils.commonCodeMethod(params);
Pedro Salgado
On 30/03/2004 21:12, "Menke, John" <[EMAIL PROTECTED]> wrote:
> In our base action classes we have elected not to implement the execute
> method mak
47 matches
Mail list logo