global forwards and update problems

2004-01-15 Thread Mathieu Grimault
Hello everyone ! I've got a page A with a form with several fields, the fields are populated via the reset() method in a corresponding ActionForm, datas are holding in the session. After filling/modifying the datas in the form a user push a submit and is lead to a screen B. The Action

global forward, wrong display

2004-01-15 Thread Mathieu Grimault
Hello all !! Seens my question wasn't well explained... I've got a form with several text fields on a screen A witch display an object stored in the session. When a submit the form, all is good, i replace the old session object with a new one. It works. The problem is that when i use a global

Re: html:link, display problems

2003-11-28 Thread Mathieu Grimault
Mailing List [EMAIL PROTECTED] Sent: Thursday, November 27, 2003 6:22 PM Subject: Re: html:link, display problems Do you have a base element in the html? Try adding a html:base http://jakarta.apache.org/struts/userGuide/struts-html.html#base Ed Mathieu Grimault wrote: Hi everyone

Re: html:link, display problems [solved]

2003-11-28 Thread Mathieu Grimault
I can fix the problem by hardcode the src attribute.. img src=/APPLICATION/pics/XXX.GIF instead of a html:img - Original Message - From: Mathieu Grimault [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 28, 2003 9:55 AM Subject: Re

html:link, display problems

2003-11-27 Thread Mathieu Grimault
Hi everyone ! My application is very simple and has 3 screens. The display on all screens is right. I would like to use a html:link to return from my 3rd screen to the second. The link is correct but the display is wrong : all my pics are not displayed. I've seen the source generated and

Re: Trouble redirecting

2003-11-06 Thread Mathieu Grimault
Marcella, Does this work ? I've tried it and can't exit from the context path, the url returned is always like /context/http://www.yahoo.fr; !!! If anyone has a clue, i wonder why it works for you and not for me - Original Message - From: Marcella Turner [EMAIL PROTECTED] To: [EMAIL

Newbie question....redirect

2003-11-05 Thread Mathieu Grimault
Hi all ! Sorry, about a such stupid question but I try to have my application redirects to an external web site with some parameters. Here is an exemple : http://payOnline/$cashAmout/$name For the moment i'm just try to redirect to an external website like yahoo but the search path is always

Application objects

2003-11-04 Thread Mathieu Grimault
Hi all, I would like to display the number of users connected (number of session) to my application. Is there a way to do this ? Another question, Can we implements code in the session class (by extending the class) and can we store/access/ modify objects in the ServletContext during

Datasources Tomcat/Struts

2003-10-28 Thread Mathieu Grimault
Hello, next to my question about deprecation, i've try to make Tomcat JNDI Datasource working without success... I followed the How-to but nothing goes well. My configuration is : - Tomcat 4.1.27 - JDK 1.4.2 - Struts 1.1 - MySQL 4 When i try to make a request on the database i've got :

Database Tomcat/Struts

2003-10-28 Thread Mathieu Grimault
For those who are in the same newbies problems like me, i found an answer here : http://www.jguru.com/forums/view.jsp?EID=1120573 I was having Cannot load JDBC Drivers 'null' when i was getting a connection on my database (getConnection()). Thx all.

Deprecation - DataSource

2003-10-27 Thread Mathieu Grimault
First hello everyone !!! This is my first answer and i'm learning struts now... I'm using this method but it's deprecated...Did someone knows the right call ? thx. DataSource dataSource = (DataSource)servlet.getServletContext().getAttribute(Action.DATA_SOURCE_KEY);