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):

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 PROTE

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 da

[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 hides

[OT] Re: populating session object

2004-01-27 Thread Guido García Bernardo
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: Hello! Currently, in my des

[OT] Re: log4j integration

2004-01-27 Thread Guido García Bernardo
do, chicos. Guido. shankarr wrote: Hi! I have integrated log4j with struts. I need to know how to ensure that the changes done to log4j.properties file is taken into account at run time. TIA, Richie "To achieve all that is possible, one must attempt

[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=en&lr=&ie=UTF-8&oe=utf-8&q=run+a+jsp+and+a+bean Regards xavier manohar wrote: hi c

[OT] Re: Tool for jsp debug

2004-01-20 Thread Guido García Bernardo
This is very OT. http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=utf-8&q=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. --

Re: Prevent direct access to jsp pages

2004-01-20 Thread Guido García Bernardo
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=utf-8&q=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 ev

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

Struts and webservices

2004-01-19 Thread Guido García Bernardo
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 and standard webservic

Re: Validations - 'format' vs 'business'

2003-12-23 Thread Guido García Bernardo
your users and don't 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 d

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

2003-12-22 Thread Guido García Bernardo
nion about handling validation 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 ve

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 with

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 García 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 discus

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: I think there is not other way with javascript (all the things I tried were easily b

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, e-mail

Re: Best way for Database Exception Handling

2003-04-06 Thread Guido
tions (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

[OT] My Struts webapp and hosting

2003-04-05 Thread Guido
use I 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 additiona

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): I actually use <%= request.getRemoteUser() %>, and works fine, but i am a curious kid Thank you, Guido. - To unsubscribe, e-mail:

Re: DataSource references in Business Layer

2003-03-15 Thread Guido
s it" } -- Linus Torvalds } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - } } - } To unsubscribe, e-mail: [EMAIL PROTECTED] } For additional commands, e-mail: [EMAIL PROTECTED] } ---- Guido Garcia Bernardo [EM

DataSource references in Business Layer

2003-03-15 Thread Guido
iness 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,

Re: Data driven struts application

2003-03-14 Thread Guido
x27;) I supose I can 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

Data driven struts application

2003-03-14 Thread Guido
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

[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 URLEn

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 RegisterForm.java HTH Guido. Tom Cat wrote: Hi, I am new to struts trying to learn so

[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 wrot

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

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.

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: xslt in jsp

2003-03-09 Thread Guido
he 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 by Bayer } Shawn - devoted taglibs to xml and xml transformation for usage in jsp. } } -Original Message- }

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: } } } } } } - To

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 "actio

Re: How to Show gif image instead of html "button" in the forms for 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 unsubscrib

Struts & Barracuda

2003-02-20 Thread Guido
ished." ---- Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED] "stat rosa pristina nomine, nomi

Re: AW: Generate XML documents from Beans

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

Re: [newbie] Connection Pooling

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

Re: PropertyUtils:getIndexedProperty thows error

2003-02-03 Thread Guido
} } public String getBarX(){ } return this.barX; } } } }//EOC CollapseForm } } ERROR : java.lang.IllegalArgumentException: Invalid indexed property 'fooX' } } any idea/solution to resolve this ? } } regards, } Sourav Das } -----

Re: Multi-Select List Box

2003-02-01 Thread Guido
ur select box. > > David > ---- Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED] "stat rosa pristina

M - V - C components

2003-01-21 Thread Guido
the Control (as I supose)? Thank 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]>

RE: Controlling Direct Access to jsp pages

2003-01-13 Thread Guido
*.jsp file. 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("refere

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 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:

problems with nighly build and Tomcat 4.0.1

2002-01-11 Thread Nottebrok, Guido
e the struts.jar of struts 1.0 there are a lot of messages when tomcat is starting, showing me informations from struts about mappings and so on. When I use the struts.jar from the nightly build there are just 4 lines from Tomcat Who can tell me what is going wrong here? Guido -- To unsubscribe, e

Re: Iterate problem

2001-07-10 Thread guido . roth
Sorry, I'am somewhat at a loss... I had a similar problem, where it helped composing the property-term to a variable first, and using double quotes for the property value: ... <% pVal = view[" + index+ "]"+".orderNo; %> ... but I never understood wh

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: 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: ...

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: Problems with iterate

2001-07-04 Thread guido . roth
Hi There is according to documentation and TLD no attribute 'indexed' for the html:text-tag in Struts 1.0. What version of Struts are you using? Guido |-+| | Guido Roth |

Re: variable number of inputs

2001-07-04 Thread guido . roth
<% remarkVal = "entry[" + entryId + "].remark"; %> ... ... |-+| |Guido Roth |SYSTOR AG | | || |

Re: proposal: splitting struts mailing list

2001-07-02 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: Using non-form beans in a form...

2001-07-02 Thread guido . roth
Hi I had similar problems. I had to get my action configuration in 'web.xml' and 'struts-config.xml' right, and then Struts did update the Bean correctly. Hop

indexing in tag 'iterate'

2001-06-29 Thread guido . roth
;meaningful', ); thus the environment (beans etc.) seems to be OK. ... AccountAmountRemark I suppose there must be a solution in Struts for this standard problem. How does it look like? Thanks if you can bring me on the right track. 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