Session vs GET parameters best practice

2003-07-08 Thread José Moreira
Hello, i humbly confess that since my ASP/PHP times, not long ago,i've been having problems understanding the 'best-practice' of Session vs GET parameters in CRUD's... In my current application the practice i use is the following, for editing a single PGSQL table: * a page displaying an

Struts Tiles definitions

2003-07-07 Thread José Moreira
Hello, is it possible to associate a request variable like 'action' to struts tiles definitions, in the tiles-definition.xml ? Usually i have an index.jsp requesting a layout depending on the value of the 'action' request parameter like this:

Parameters to Actions

2003-07-07 Thread José Moreira
Hello, i'm using this dynamic link to pass a parameters to an action: http://localhost:8081/deleteEvent.do?action=confirmDelete * code in deleteEventAction : try { String action = (String) request.getAttribute("action"); if (action.equals

Re: OT FRIDAY: Take a break with struts users

2003-06-13 Thread José Moreira
Here at work we use www.http-tunnel.com :D instaled in a NT4 inside the firewall with port 80 access only we're on linux boxes with GAIM ... contecting to that NT4 On Fri, 2003-06-13 at 16:28, James Mitchell wrote: > No, IRC with Trillian is the same as IRC with GAIM and IRC any one of the > many

Action Forwards

2003-06-05 Thread José Moreira
in 'index.jsp' showing the list built in 'listevents'. the problem is that when that happens, the url still remains 'http://localhost/logon.do' and not 'index.jsp' ... not allowing to pass GET parameters for posterior actions... what c

VIEW best pratice

2003-06-03 Thread José Moreira
Hello what's the best practice of transporting data from the MODEL to the VIEW (in my case JSP) ? In my case, i to retrieve a list of beans (Task) in a java.util.Vector which i want to format and display. For that i have an "allTasks" bean whose "vector" property (temporary name) c

Action Errors [SOLVED]

2003-05-31 Thread José Moreira
the problem was errors header and footer Hello, when i return the errors to my form i get a 'null' before and after each error message for each erroneous filled field... what seem to be the problem? thank you, good work -- José Moreira <[EM

Action Erros

2003-05-31 Thread José Moreira
Hello, when i return the errors to my form i get a 'null' before and after each error message for each erroneous filled field... what seem to be the problem? thank you, good work -- José Moreira <[EMAIL PROTECTED]>