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
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
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
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
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
=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
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
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
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
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.
)
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
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
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
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
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 discussion about
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
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,
(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
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 additional commands, e
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):
bean:write name=request property=remoteUser /
I actually use %= request.getRemoteUser() %, and works fine, but i am
a curious kid
Thank you,
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
} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}
} -
} To unsubscribe, e-mail: [EMAIL PROTECTED]
} For additional commands, e-mail: [EMAIL PROTECTED]
}
Guido Garcia Bernardo
[EMAIL PROTECTED]
[EMAIL PROTECTED
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
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
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
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
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
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
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
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
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
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
...?
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
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
.
Guido Garcia Bernardo
[EMAIL PROTECTED]
[EMAIL PROTECTED]
stat rosa pristina
nomine, nomina nuda tenemus
]
}
Guido Garcia Bernardo
[EMAIL PROTECTED]
[EMAIL PROTECTED]
stat rosa pristina
nomine, nomina nuda tenemus.
http://members.ud.com
}
}
} -
} To unsubscribe, e-mail: [EMAIL PROTECTED]
} For additional commands, e-mail: [EMAIL PROTECTED]
}
Guido Garcia Bernardo
[EMAIL PROTECTED]
[EMAIL PROTECTED
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
.
David
Guido Garcia Bernardo
[EMAIL PROTECTED]
[EMAIL PROTECTED]
stat rosa pristina
nomine, nomina nuda tenemus
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
.
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
(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
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]
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
tell me?)
Guido
suhas
[EMAIL PROTECTED
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 [
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
...
/html:form
...
|-+|
|Guido Roth |SYSTOR AG |
| ||
| ||
| Tel. +41 1 405 35 12 | Fax +41 1 405 31 13
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
The Struts documentation states that the result of the getter must be a
'java.util.Collection'; String[] is no Collection.
Regards, Guido
Laurent
it look like?
Thanks if you can bring me on the right track.
Guido
56 matches
Mail list logo