Re: AW: How to submit form in pop-up window and forward parent results page? [OT]

2004-03-11 Thread Guido García Bernardo
Your editItem action, when the update is finished, forwards to autoCloseAndReloadOpener.jsp autoCloseAndReloadOpener.jsp does steps (5) and (6): html body onLoad=self.close() script // Reload opener opener.formReload.submit(); // or something like this, using opener /scrip

ASP.NET and Struts: Web Application Architectures

2004-03-10 Thread Guido García Bernardo
Interesting reading... http://msdn.microsoft.com/asp.net/using/migrating/default.aspx?pull=/library/en-us/dnaspp/html/aspnet-aspnet-j2ee-struts.asp#aspnet-aspnet-j2ee-struts_topic4 Regards. - To unsubscribe, e-mail: [EMAIL

Re: Action form

2004-02-24 Thread Guido García Bernardo
I think you are searching for DynaActionForm. Take a look at http://www.reumann.net/do/struts/lesson3/step4 I personally don't like them because of debug difficulties. Regards, Guido. Pradeep, PK wrote: Is it mandatory to create ActionForm class for each JSP if we want to send the form data

[OT] Re: IBatis???

2004-02-14 Thread Guido García Bernardo
www.ibatis.com iBATIS SQL Maps provides a very simple and flexible means of moving data between your Java objects and a relational database. Use the full power of real SQL without a single line of JDBC code! http://www.ibatis.com/common/sqlmaps.html iBATIS DAO is an abstraction layer that

[OT] Re: log4j integration

2004-01-27 Thread Guido García Bernardo
This is OT. The word struts in a message is not the only thing it needs to be struts related... Try PropertyConfigurator.configureAndWatch, I think that is what you are searching for... You cand find a simple example at http://www.jguru.com/forums/view.jsp?EID=1130416 Un saludo, chicos. Guido

[OT] Re: populating session object

2004-01-27 Thread Guido García Bernardo
=application* / Be careful, because I am almost sure that objects placed in application scope will be used by more than one thread so you must design them accordingly. Regards! Guido García PD. BTW, is there any _free_ memory profiler or something similar to JProbe or OptimizeIt? shankarr wrote

[OT] Re: beans

2004-01-22 Thread Guido García Bernardo
This is a very good how not to ask a question example... (spam included!!) The only thing he has forgot is the THIS IS VERY IMPORTANT, PLEASE HELP in the subject... Anyway http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=run+a+jsp+and+a+bean Regards xavier manohar wrote: hi can

Re: [OT] JSP editor - plugin for eclipse ?

2004-01-20 Thread Guido García Bernardo
You asked the right mailing list. Divya B Sridhar wrote: Hi All, Do we have a plugin for eclipse which would check JSP syntax at save time/compilation time or so? Since Eclipse would recognise Java keywords if JDK is installed; similarly, do we have a plugin for eclipse which enables eclipse to

Re: Prevent direct access to jsp pages

2004-01-20 Thread Guido García Bernardo
http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=prevent+direct+access+to+jsp+pages Florin Pop wrote: Hi, I have a jsp page which contains some comboboxes. I set the data in the comboboxes in an Action before forwarding to the jsp. How can I prevent direct access to the jsp page? So

[OT] Re: Tool for jsp debug

2004-01-20 Thread Guido García Bernardo
This is very OT. http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=tool+for+jsp+debug Florin Pop wrote: Hi, does anyone know a tool for debugging jsp files? So that you are able to trace the code in the jsp source not in the generated servlets.

Struts and webservices

2004-01-19 Thread Guido García Bernardo
) 3. Should we do anything with ActionServlet, extending it instead of RequestProcessor, etc. Any kind of opinion, sugerence or any other consideration are welcome!! Thank you very very much, Guido García Bernardo PD. BTW, is there any practical information or project about integrating Struts

Re: Validations - 'format' vs 'business'

2003-12-23 Thread Guido García Bernardo
assume anything...). HOW without duplicated code? Thank you again, Guido García Bernardo Vic Cekvenich wrote: {repost} I just override validate() method on formbean and do all there, including super.validate() that reads validation.xml. In here I call DAO's to do business validation also, ex

[OT] Validations - 'format' vs 'business'

2003-12-22 Thread Guido García Bernardo
errors: 1. Throwing an Exception from the business logic classes and catch it in the Action (or declare the exception in struts-config.xml) 2. Returning null (or -1, or a no-sense value) from the business logic classes 3. Any other way... Thank you very much, Guido García Bernardo

Re: java.lang.VerifyError

2003-12-12 Thread Guido García Bernardo
I have seen that exception... when I try to use a 1.4 compiled Java class under a 1.2 jvm. Try googling... Regards, Guido. Vasi wrote: HI All, I am facing a typical issue. I have the following code in my jsp page. When I remove this code and excute, I have no issues, but I run the code

Re: When HashMap will replace ActionForm ?

2003-12-10 Thread Guido García Bernardo
or philosophical purity should always yield to pragmatism Hookom, Jacob wrote: Anyone who's done major business application development knows that academic arguments on programming 'style' get thrown right out the window in favor of efficient progress ;-) -Original Message- From: Trieu,

Re: RES: Subclassing ActionServlet

2003-12-05 Thread Guido Garca Bernardo
This way you can't extend other 'struts core actions' (Dispatch, Lookup...). I think a better way may be: - Using a filter (servlet 2.3) in order to pre and post process the request - Extending RequestDispatcher Regards, Guido. PD. I am not sure, but i think you can find a discussion about

Re: Displaying a dialogue box with Struts... [OT]

2003-11-19 Thread Guido García Bernardo
This is not really Struts related... You can do it with JavaScript (IE only) var result = showModalDialog( 'dialog.jsp','','dialogHeight:10;status:no;'); And in the 'dialog.jsp' use the returnValue: input type=button value=Ok onClick=self.returnValue='Ok'; self.close(); input

Re: convert xml into java file

2003-11-14 Thread Guido ITD
Take a look at Jakarta Digester. G. Vicky wrote: Can anyone describe how can i convert .xml file into .java file (with getters and setters). any pointers/resources would be appreciated. Thanks, Vicky - To unsubscribe,

Re: Best way for Database Exception Handling

2003-04-06 Thread Guido
(SQLException or whatever) in the business logic layer and throw a EISException or something like that. Regards, Guido. On Sat, 5 Apr 2003, Harish Krishnaswamy wrote: } If your business logic cannot do anything with your DBException, what is the need for defining one } such exception? Why not just

[OT] My Struts webapp and hosting

2003-04-05 Thread Guido
have not found any very cheep_ Struts hosting. Regards, Guido. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

DynaForms perfomance

2003-04-02 Thread Guido
Is there any perfomance comparation DynaActionForms vs ActionForms? What is the penalty of using Dyna ones (perfomance and other drawbacks)? Thank you, Guido. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: OJB Deployment With Sturts 1.1rc1

2003-04-01 Thread Guido
What JDK version are you using? I had that exception when I was compiling my classes with a JDK and running them in a Tomcat using a different version. Regards, Guido. Stephen Smithstone wrote: Any one using the ojb stuff ?? which jar files do i need to deploy with my struts app i have trouble

Re: how to configure iplant web server for struts

2003-03-17 Thread Guido
I have exactly your problem using iPlanet 4.1 Regards, Guido. Ramesh_KumarP wrote: HI, I am facing problem in working struts in iplant webserver I am using only ActionServlet Tell me step by step procedure to execute an struts - application in iplanet web server.. Regards, P.RAMESHKUMAR

request.getRemoteUser

2003-03-16 Thread Guido
Is there any way to show the remote user that sounds like (this doesnt work): bean:write name=request property=remoteUser / I actually use %= request.getRemoteUser() %, and works fine, but i am a curious kid Thank you, Guido

DataSource references in Business Layer

2003-03-15 Thread Guido
logic in the Action classes (that is what i am actually doing)... Maybe it is not possible and I should use JNDI or something like that instead. 2. What method should I use if ActionServlet.findDataSource(String) is now deprecated? Thank you very much, Guido

Re: DataSource references in Business Layer

2003-03-15 Thread Guido
} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - } } - } To unsubscribe, e-mail: [EMAIL PROTECTED] } For additional commands, e-mail: [EMAIL PROTECTED] } Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED

Data driven struts application

2003-03-14 Thread Guido
of the ResultSet. + solution 2. Use a JavaBean with getters and setters (maybe as database column names) and include a JavaBean collection in the request as a Value Object (?) + solution 3. I don't know... :( Thank you very much, Guido. PD. Is it better to use a collection of JavaBeans or use just

Re: Data driven struts application

2003-03-14 Thread Guido
use a DynaBean. Are there any other technique? Thank you again, Guido. Robert S. Sfeir wrote: Yep, I agree with David. Your code will invariably be more usable and be more presentation layer friendly if you always return a Collection of some type. The Collection would contain beans

[OT] Escape characters

2003-03-13 Thread Guido
I'm using jsp + struts + oracle. My oracle data contains special characters ', , , etc. that cause the JSP not to be well formed. Where should I escape that chars? In the query, whit a JSP scriptlet (or taglig), in my Action classes? Is there any package (in some cases i'm using URLEncoder

Re: [OT] computer performance with jsp/servlets/struts

2003-03-11 Thread Guido
Is there any kind of benchmark results table or technical comparation between tomcat, jetty, iplanet, resin...? I've been searching google without success... I need something because much faster or much slower is not enought for me. Thank you! Manfred Wolff wrote: Dan Allen wrote: I only

Re: switching from non SSL to SSL in struts..

2003-03-11 Thread Guido
Oh no! This topic again!! :P Take a look at sslext (sslext.sourceforge.net) or search this mail list for it. hth, Guido. James wrote: I've got my SSL connector configured in tomcat.. what i want to know is what do i need to do to change to secure page from non secure pages in struts

Message replacement

2003-03-11 Thread Guido
Hello Anyone can explain me (for dumbs) how does this replacement works (Action sample code would be great) and what Java classes are involved? error.number=The number {0} is greater than {1} Thank you! Guido. - To unsubscribe

[OT]Re: Message replacement

2003-03-11 Thread Guido
Thank you. The idea was use only Java standard classes (or at least commons packages), not Struts dependent ones. Maybe I can use java.text.MessageFormat I have seen at http://java.sun.com/products/jdk/1.2/docs/api/java/text/MessageFormat.html Regards, guido. James Mitchell wrote: You can find

Re: weird org.apache.struts.action does not exist

2003-03-11 Thread Guido
Try using : instead of ; in your CLASSPATH if you are developing under Linux/UNIX. If this doesn't work, try putting the classpath within your javac statment: javac -classpath classpath RegisterForm.java HTH Guido. Tom Cat wrote: Hi, I am new to struts trying to learn something from Ted

RE: xslt in jsp

2003-03-09 Thread Guido
or struts taglibs instead of retrieving bean properties via %= bean.getXXX() %.) With the XSL style sheet you can do (the browser does it) the transformation you need. Regards from Spain, Guido. On Sat, 8 Mar 2003, Jörg Maurer wrote: } definitly give JSTL a try! Myself not applied it, but read book

Re: HELP! Plz!! request.getRequestURI() in jsp vs. Action classHELP!!! :)

2003-02-25 Thread Guido
If I am not missing anything, maybe you can (it is a good practice) go _always_ through an Action (or ActionForward, etc) and never post directly to a JSP... HTH, Guido. Khalid K. wrote: (Repost) Hello All, Please help with this problem. I need request.getRequestURI() to return actionA.do

RE: Passing parameters to Actions

2003-02-25 Thread Guido
...? Thanks. Guido García Bernardo [EMAIL PROTECTED] Spain is different. On Tue, 25 Feb 2003, Brandon Goodin wrote: } Here is a config sample: } } action path=/myAction.do }parameter=submit }type=com.foo.MyAction }name=myForm

Re: How to Show gif image instead of html button in the forms forhtml:submit tag ?

2003-02-24 Thread Guido
you should, you should... don't forget... philosophical purity should always yield to pragmatism Nicolas De Loof wrote: 1. Might be. dont know. but you should avoid using scriptlets in your code. and this is scriptlet.

FormBeans - View components?

2003-02-21 Thread Guido
What do you think about the article published at javaworld: http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt_p.html Look at Figures 1 and 2... FormBeans are model components, not view components. - To

Struts Barracuda

2003-02-20 Thread Guido
. Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED] stat rosa pristina nomine, nomina nuda tenemus

Re: AW: Generate XML documents from Beans

2003-02-13 Thread Guido
] } Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED] stat rosa pristina nomine, nomina nuda tenemus. http://members.ud.com

Re: [newbie] Connection Pooling

2003-02-12 Thread Guido
} } } - } To unsubscribe, e-mail: [EMAIL PROTECTED] } For additional commands, e-mail: [EMAIL PROTECTED] } Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED

Re: PropertyUtils:getIndexedProperty thows error

2003-02-03 Thread Guido
this.barX; } } } }//EOC CollapseForm } } ERROR : java.lang.IllegalArgumentException: Invalid indexed property 'fooX' } } any idea/solution to resolve this ? } } regards, } Sourav Das } Guido Garcia Bernardo [EMAIL PROTECTED

Re: Multi-Select List Box

2003-02-01 Thread Guido
. David Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED] stat rosa pristina nomine, nomina nuda tenemus

M - V - C components

2003-01-21 Thread Guido
you very much, Guido. [EMAIL PROTECTED] Valladolid (Spain) Soy cliente de Retecal y me siento estafado, no se lo recomiendo a nadie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

RE: Controlling Direct Access to jsp pages

2003-01-13 Thread Guido
. Regards from Spain, Guido. On Mon, 13 Jan 2003 [EMAIL PROTECTED] wrote: } Yes, you can use the struts-config.xml, actions or forwards } but if you don't want struts to know about (!) you can check by setting and } contextual attribute : } page1: request.setAttribute(referer, true) } page 2

AW: JavaScript Form/submit Function

2002-03-11 Thread Guido Schmutz
(with a different name than submit). Unfortunatly it's not possible to pass a name to the html:submit tag and I'm also not sure, if Struts uses the name submit internally. Any additional input would help me as well. Guido -Ursprüngliche Nachricht- Von: Bettina

problems with nighly build and Tomcat 4.0.1

2002-01-11 Thread Nottebrok, Guido
the nightly build there are just 4 lines from Tomcat Who can tell me what is going wrong here? Guido -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Iterate problem

2001-07-10 Thread guido . roth
Hi The parts you show look correct to me. It seems that the problem lies in the code of method OverDueOrderView.getOrderNo(), which you have not copied to the mail. Guido

Re: Iterate problem

2001-07-10 Thread guido . roth
tell me?) Guido suhas [EMAIL PROTECTED

Re: SilverStream and Struts

2001-07-09 Thread guido . roth
Hi I also had problems with the URL DTD references, and attributed them to our company firewall. You can solve the problem by removing the 'DOCTYPE' statement from the XML documents. What you can do also is copying the DTD directly into the XML, e.g. for web.xml: !DOCTYPE web-app [

Re: where'is the reference manual about strus-config.xml

2001-07-06 Thread guido . roth
Hi The best description I found is in the DTD: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd Guido Roth UEHARA Junji

Re: variable number of inputs

2001-07-04 Thread guido . roth
... /html:form ... |-+| |Guido Roth |SYSTOR AG | | || | || | Tel. +41 1 405 35 12 | Fax +41 1 405 31 13

Re: proposal: splitting struts mailing list

2001-07-03 Thread guido . roth
Exactly my opinion as well. If splitting is necessary, some other split-boundary should be found. Maybe one could try splitting between the Java-centred part and the HTML-centered part. But this is not convincing to me. Guido

RE: Something strange about iterate tag

2001-06-29 Thread guido . roth
Hi The Struts documentation states that the result of the getter must be a 'java.util.Collection'; String[] is no Collection. Regards, Guido Laurent

indexing in tag 'iterate'

2001-06-29 Thread guido . roth
it look like? Thanks if you can bring me on the right track. Guido