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
if this question is out of my ignorance
of understanding of struts..
Warm Regards,
Pradeep
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Guido García Bernardo - [EMAIL
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.
Maybe you can use the application scope:
foo.Employees employees = (foo.Counter)getServletContext().getAttribute(employees);
if (employees == null) {
employees = new foo.Employees();
getServletContext().setAttribute(employees, employees);
}
and then
jsp:useBean class=foo.Employees
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
)
RegdsVasi
--
Guido García Bernardo - [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Tfn. +34 983 54 89 08
IT DEUSTO http://www.itdeusto.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 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
16 matches
Mail list logo