Your "editItem" action, when the update is finished, forwards to
"autoCloseAndReloadOpener.jsp"
autoCloseAndReloadOpener.jsp does steps (5) and (6):
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
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
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
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
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
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
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.
--
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
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
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
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
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
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
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,
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
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
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
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
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]
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
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
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
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:
s it"
} -- Linus Torvalds
} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}
} -
} To unsubscribe, e-mail: [EMAIL PROTECTED]
} For additional commands, e-mail: [EMAIL PROTECTED]
}
----
Guido Garcia Bernardo
[EM
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,
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
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
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
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
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
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
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.
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
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-
}
...?
Thanks.
Guido García Bernardo
[EMAIL PROTECTED]
Spain is different.
On Tue, 25 Feb 2003, Brandon Goodin wrote:
} Here is a config sample:
}
}
}
}
}
}
-
To
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
"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.
--
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
ished."
----
Guido Garcia Bernardo
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"stat rosa pristina
nomine, nomi
PROTECTED]
}
----
Guido Garcia Bernardo
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"stat rosa pristina
nomine, nomina nuda tenemus."
-
sed connection pooling.
}
} plastic
}
}
} -
} To unsubscribe, e-mail: [EMAIL PROTECTED]
} For additional commands, e-mail: [EMAIL PROTECTED]
}
----
Guido Garcia Bernardo
}
} 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
}
-----
ur select
box.
>
> David
>
----
Guido Garcia Bernardo
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"stat rosa pristina
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]>
*.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
(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:
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
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
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
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:
...
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
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 |
<% remarkVal = "entry[" + entryId + "].remark"; %>
...
...
|-+|
|Guido Roth |SYSTOR AG |
| ||
|
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
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
;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
Hi
The Struts documentation states that the result of the getter must be a
'java.util.Collection'; String[] is no Collection.
Regards, Guido
58 matches
Mail list logo