Generating a form database

2004-06-11 Thread Ricardo Andres Quintero
Good afternoon The problem i want to solve is that, i need to create a form depending on the data in a database is. I know i can asociate a bean form with the view, but the class'atrributes are indeterminated, since it depends on the database data. does anyone know how to solve this problem?

Printing reports

2004-06-15 Thread Ricardo Andres Quintero
Good afternoon. I am a struts user. i haven't never printed reports, im making some jsp's which show some data and now, i must print them as reports. Could anyone tell me how to do it? someone who has sometimes done it please. -- Ricardo Andrés Quintero R. Ubiquando Ltda. -

Using a servlet code within Struts

2004-06-16 Thread Ricardo Andres Quintero
Hello everyone I want to make some servlet code to work in Struts. i dont want to make the servlet to work. i want to rewrite the code into Struts. The servlet uses out = response.getOutputStream() and then out.write(); I know Struts uses the model 2, so that the view is a jsp. Im thinking of u

Re: no struts classes (jar files) found by application

2004-06-22 Thread Ricardo Andres Quintero
Hello: all of the web app when using Sevlets or Jsps, must conform the Servlet 2.1 especification. I mean it must have a WEB-INF directory and a lib and classes directories into it, in addition to a web.xml file, called the web deployment descriptor. The webclassloader follows certain steps when

Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
Hello my friends Followed i attach a message i found in the internet. I have found some conceptual solutions about this problem, but i DO need an example that works to solve it. The conceptual solution talks about a token syncronizer. I don't know how to write it. Thank you in advanced. <%-- THE

Fw: Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
if ( session != null ) { session.invalidate(); } If you have already done and the problem remains, maybe you are using HttpServletRequest.getSession() method (or getSession(true)) inside the Actions (or "BaseAction" if you use a base class for your all actions, in o

Fw: Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
if ( session != null ) { session.invalidate(); } If you have already done and the problem remains, maybe you are using HttpServletRequest.getSession() method (or getSession(true)) inside the Actions (or "BaseAction" if you use a base class for your all actions, in o

Fw: Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
if ( session != null ) { session.invalidate(); } If you have already done and the problem remains, maybe you are using HttpServletRequest.getSession() method (or getSession(true)) inside the Actions (or "BaseAction" if you use a base class for your all actions, in o

Fw: Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
if ( session != null ) { session.invalidate(); } If you have already done and the problem remains, maybe you are using HttpServletRequest.getSession() method (or getSession(true)) inside the Actions (or "BaseAction" if you use a base class for your all actions, in o

Fw: Re: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
EMAIL PROTECTED]> >>Subject: R: Back Browser Button After Logout and Reload so that >>continue >>working >>Date: Thu, 24 Jun 2004 16:53:40 +0200 >> >>Hi, >>one possible solution is to invalidate the session inside the >>"LogoffAction". >

Fw: Re: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
EMAIL PROTECTED]> >>Subject: R: Back Browser Button After Logout and Reload so that >>continue >>working >>Date: Thu, 24 Jun 2004 16:53:40 +0200 >> >>Hi, >>one possible solution is to invalidate the session inside the >>"LogoffAction". >

Re: R: Re: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
o.k i made a mistake. On Thu, 24 Jun 2004 17:53:28 +0200, Amleto Di Salle wrote > Ricardo Andres Quintero we receive several copies of your e-mails! > > Please stop the spam... > > BR > /Amleto > > -Messaggio originale----- > Da: Ricardo Andres Quinte

Re: R: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
sers and other for not logged in users. In > >>struts-config one > >>of the attributs of the action class is "requiredlogin=yes" or > >>"requiredlogin=no" > >> > >>In the actionservlet, I check if the current action's > >

Re: R: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
sers and other for not logged in users. In > >>struts-config one > >>of the attributs of the action class is "requiredlogin=yes" or > >>"requiredlogin=no" > >> > >>In the actionservlet, I check if the current action's > >

Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Ricardo Andres Quintero
Hello Guys I need not to let users to login in my app simultaneosly. I mean if a login-password is actually logged in, i need to invalidatye that session and then let the new login-password to work in, after invalidating the old session. Any ideas? and of course any examples? -- Ricardo Andrés

html:checkbox no getter method for propety

2004-08-25 Thread Ricardo Andres Quintero
Hello im getting an error that i have a bean form with a boolean property but when i use , i got a no getter method for propert myProp, but it does exist in the bean form. any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: html:checkbox no getter method for propety

2004-08-25 Thread Ricardo Andres Quintero
Mensaje citado por Jim Barrows <[EMAIL PROTECTED]>: > > > > -Original Message- > > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, August 25, 2004 2:42 PM > > To: [EMAIL PROTECTED] > > Subject:

After sesion invalidate cannot find bean

2004-08-31 Thread Ricardo Andres Quintero
Hello Guys i notice this error that when the session expirates, if an action that uses a beanform is requested, and validate is true, the framework normally tries to execute the validate method of the bean, but you know the beanform just doesnt exist anymore, but the request can not be treated for

After sesion invalidate cannot find bean

2004-08-31 Thread Ricardo Andres Quintero
Hello Guys i notice this error that when the session expirates, if an action that uses a beanform is requested, and validate is true, the framework normally tries to execute the validate method of the bean, but you know the beanform just doesnt exist anymore, but the request can not be treated for

Re: After sesion invalidate cannot find bean

2004-08-31 Thread Ricardo Andres Quintero
with the nonexistent form? > > Erik > > Ricardo Andres Quintero wrote: > > >Hello Guys > >i notice this error that when the session expirates, if an action that uses a > >beanform is requested, and validate is true, the framework normally tries to > >execute t

Re: After sesion invalidate cannot find bean

2004-08-31 Thread Ricardo Andres Quintero
n an alternative > ActionMapping (to your login page or error page -- one which does > not require a Session-scoped form for setup) if the "User" object > does not exist. 4) edit the "controller" element of struts- > config.xml to install your custom RequestPr

Re: Newbie never displays errors

2004-10-13 Thread Ricardo Andres Quintero
it would be nice to have the form's action, and the action mapping of that form's ation. On Wed, 13 Oct 2004 11:10:51 -0400, Nadia Kunkov wrote > Hi, > > I have gone through multiple postings and followed the suggestions > about displaying the errors. I just need another pair of eyes to > look

RE: Newbie never displays errors

2004-10-13 Thread Ricardo Andres Quintero
this is gracefull! On Wed, 13 Oct 2004 13:19:30 -0400, Nadia Kunkov wrote > Nooo... I guess that's it! > I thought you need to call saveErrors only when you create > ActionErrors inside Action and not in Validate... Here is my Action > (I'm using DispatchAction): > > public ActionForward Add (

Re: within , how to use?

2004-09-29 Thread Ricardo Andres Quintero
Hello Nadia I dont know why you use instead of use did u configure myBeanName in the struts-congig.xml? does the action of the html:form use the bean-form myBeanName? On Wed, 29 Sep 2004 15:03:02 -0400, Nadia Kunkov wrote > Hi, newbie question again. > I'm trying to use within tag. > > He

Re: within , how to use?

2004-09-29 Thread Ricardo Andres Quintero
Hello Nadia I dont know why you use instead of use did u configure myBeanName in the struts-congig.xml? does the action of the html:form use the bean-form myBeanName? On Wed, 29 Sep 2004 15:03:02 -0400, Nadia Kunkov wrote > Hi, newbie question again. > I'm trying to use within tag. > > He

RE: within , how to use?

2004-09-29 Thread Ricardo Andres Quintero
> -----Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 2:14 PM > To: Struts Users Mailing List > Subject: Re: within , how to use? > > Hello Nadia > I dont know why you use > name="somename&quo

RE: within , how to use?

2004-09-29 Thread Ricardo Andres Quintero
> -----Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 2:14 PM > To: Struts Users Mailing List > Subject: Re: within , how to use? > > Hello Nadia > I dont know why you use > name="somename&quo

RE: within , how to use?

2004-09-29 Thread Ricardo Andres Quintero
> -----Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 2:14 PM > To: Struts Users Mailing List > Subject: Re: within , how to use? > > Hello Nadia > I dont know why you use > name="somename&quo

RE: within , how to use?

2004-09-29 Thread Ricardo Andres Quintero
> -----Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 2:14 PM > To: Struts Users Mailing List > Subject: Re: within , how to use? > > Hello Nadia > I dont know why you use > name="somename&quo

Re: Validate some forms and not the others. How?

2004-10-04 Thread Ricardo Andres Quintero
I dont understand why u use an ActionForm where u dont collect data neither use the ActionForm to show data. ? On Mon, 4 Oct 2004 12:10:49 -0400, Nadia Kunkov wrote > Hi, > I'm building an application using DispatchAction. I have several > screens that use the same ActionForm and I set validat

RE: good book about struts

2004-10-05 Thread Ricardo Andres Quintero
How much u know about Struts? I read programming Jakarta Struts of chuck Cavaness, OReally. It is a very very nice book if u dont know anything about Struts. On Tue, 5 Oct 2004 16:45:44 +0100, Robin Mannering wrote > Hi, > > Can't say which is best as I have only read Struts in Action: Ted > Hu

Re: Servlet action is not available.

2004-10-05 Thread Ricardo Andres Quintero
Did u configure the servlet controller in your app web.xml? On Tue, 5 Oct 2004 19:16:24 +0200, WOLips wrote > hi, > i have struts.jar in "myStrutsApp1\WEB-INF\lib" > and even in "tomcat\bin" > > the code is an example from the net, which i thing it must run. > > but i still get this error : > --

Re: Servlet action is not available.

2004-10-05 Thread Ricardo Andres Quintero
Did u configure the servlet controller in your app web.xml? On Tue, 5 Oct 2004 19:16:24 +0200, WOLips wrote > hi, > i have struts.jar in "myStrutsApp1\WEB-INF\lib" > and even in "tomcat\bin" > > the code is an example from the net, which i thing it must run. > > but i still get this error : > --

Re: Servlet action is not available.

2004-10-05 Thread Ricardo Andres Quintero
u should kick him!! thats terrible i dont know how we can live with this... On Tue, 05 Oct 2004 13:46:20 -0400, Rick Reumann wrote > WOLips wrote the following on 10/5/2004 1:16 PM: > > > but i still get this error : > > > > HTTP Status 404 - Servlet a

compile jsp with struts taglibs problem

2004-11-02 Thread Ricardo Andres Quintero
Hi Guys: does anyone know why this error happens with tomcat 5? im deploying into JBoss 3.2.5, and the problem is this: Ha tenido lugar un error en la línea: 22 en el archivo jsp: /web/jsp/inicio.jsp Error de servlet generado: /home/desarrollo/jboss-3.2.5/server/default/work/jboss.web/localhost/s

Sol: compile jsp with struts taglibs problem

2004-11-02 Thread Ricardo Andres Quintero
Hi Guys Thanks for Peng I found that i was putting a servlet.jar library into my war WEB-INF/lib directory, so that i cut it and it worked fine. Thanks a lot! On Tue, 2 Nov 2004 09:33:44 -0400, Ricardo Andres Quintero wrote > Hi Guys: > does anyone know why this error happens with to