RE: Database access problem

2001-05-09 Thread Marouane Louah



hello
 
I' ve 
the same pb and i would like to know if you've find the solution 

Thankx
 

  -Message d'origine-De : Robert Taylor 
  [mailto:[EMAIL PROTECTED]]Envoyé : jeudi 26 avril 2001 
  20:52À : [EMAIL PROTECTED]Objet : 
  RE: Database access problem
  
The second way I tried to 
run this was by simply establishing a connection to the database manually in 
my Action class and using Class.forName(jdbcUrl). However, this time, 
when I try run the app it will crap out when I try to do the actual query 
and give me a class not found exception at Class.forName(jdbcUrl) at the 
Tomcat console. The browser gives me a null pointer exception. I think 
I have all the required imports within my 
classes.
 
 
It is my understanding that it should 
be Class.forName(driverName). This is how the class loader makes the 
driver available to your app and is also the reason why you are getting 
a  ClassNotFoundException.
 
 
HTH, 
 
Robert
 


RE: URL for the Struts mailing list

2001-04-27 Thread Marouane Louah

ok thanks


-Message d'origine-
De: Charlemagne L. Rey [mailto:[EMAIL PROTECTED]]
Envoyé: jeudi 26 avril 2001 17:25
À: [EMAIL PROTECTED]
Objet: Re: URL for the Struts mailing list


try to research about makefiles...

Marouane Louah wrote:
>
> hello
> how can we compile automatically .java classes  ???
>
> -Message d'origine-
> De: Firmin David [mailto:[EMAIL PROTECTED]]
> Envoyé: jeudi 26 avril 2001 11:45
> À: '[EMAIL PROTECTED]'
> Objet: RE: URL for the Struts mailing list
>
> Uday,
> You can find the mail archives for both the struts-user and struts-dev
> mailing lists at
>
> [EMAIL PROTECTED]/
> and
> [EMAIL PROTECTED]/
> respectively.
>
> David
>
> -Original Message-
> From: Natra, Uday [mailto:[EMAIL PROTECTED]]
> Sent: 25 April 2001 23:12
> To: '[EMAIL PROTECTED]'
> Subject: URL for the Struts mailing list
>
> Can anybody point me to the Struts mailing list URL.
> Thanks you very much in advance.
>
> Uday.
>
> 
> The information in this email is confidential and is intended solely
> for the addressee(s).
> Access to this email by anyone else is unauthorised. If you are not
> an intended recipient, you must not read, use or disseminate the
> information contained in the email.
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be
> the views of Capco.
>
> http://www.capco.com
> ***




RE: URL for the Struts mailing list

2001-04-27 Thread Marouane Louah

but how
can you clarify more please


-Message d'origine-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoye: vendredi 27 avril 2001 16:37
A: [EMAIL PROTECTED]
Objet: RE: URL for the Struts mailing list




I have resently converted all of my makefile scripts to Ant build scripts.
I
use it to build all of my Java/C/C++/etc.  It works great.

Regards
Clarance




[EMAIL PROTECTED] on 04/26/2001 07:57:05 AM

Please respond to [EMAIL PROTECTED]



 To:  [EMAIL PROTECTED]

 cc:  (bcc: Clarance Howatt/Net)



 Subject: RE: URL for the Struts mailing list








hello
how can we compile automatically .java classes  ???






RE: URL for the Struts mailing list

2001-04-26 Thread Marouane Louah

hello
how can we compile automatically .java classes  ???


-Message d'origine-
De: Firmin David [mailto:[EMAIL PROTECTED]]
Envoyé: jeudi 26 avril 2001 11:45
À: '[EMAIL PROTECTED]'
Objet: RE: URL for the Struts mailing list


Uday,
You can find the mail archives for both the struts-user and struts-dev
mailing lists at

[EMAIL PROTECTED]/
and
[EMAIL PROTECTED]/
respectively.


David

-Original Message-
From: Natra, Uday [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2001 23:12
To: '[EMAIL PROTECTED]'
Subject: URL for the Struts mailing list


Can anybody point me to the Struts mailing list URL.
Thanks you very much in advance.

Uday.


The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, you must not read, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com
***




can we compile .java automatically ???

2001-04-26 Thread Marouane Louah

hello struts-users

I would like to know how can we compile  automatically the .java files that
are in the classes folder.
In resin for exemple resin.conf permit that bat with struts  i don't know
how can xe do

Maybe it's something in struts-config.xml !!!

help will be apprecied

thax in advance


greets





RE: needed taglibs

2001-04-25 Thread Marouane Louah



i dont 
understand the strory of deperacted  taglib especialy form taglib 

 
Please 
explain me 
 
Tankx
 

  -Message d'origine-De : Iraklis Kourtidis 
  [mailto:[EMAIL PROTECTED]]Envoyé : mercredi 25 avril 2001 
  01:21À : [EMAIL PROTECTED]Objet : 
  RE: needed taglibs
  Gary,
   
  I 
  believe the form taglibs are deprecated. Instead, the 'html' taglib is used. 
  
   
  Iraklis
  
-Original Message-From: G.L. Grobe 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 24, 2001 8:14 
PMTo: [EMAIL PROTECTED]Subject: needed 
taglibs
Someone told me they thought some of my 
tag-libs were depricated and that I shouldn't be using them anymore. From 
the examples at Bluestone, I added these to my web.xml file. The web site 
only shows four that look to be needed. 
 
template, logic, form, bean.
 
Are these correct?
 
If anyone knows of which ones I should or 
shouldn't have, much apprecitated.
 
 Taglibs I've included in my 
web.xml file --
   
/WEB-INF/struts-bean.tld  
/WEB-INF/struts-bean.tld   

 
   
  
/WEB-INF/struts-html.tld  
/WEB-INF/struts-html.tld   

 
   
  
/WEB-INF/struts-form.tld  
/WEB-INF/struts-form.tld   

 
   
  
/WEB-INF/struts-logic.tld  
/WEB-INF/struts-logic.tld   

 
   
  
/WEB-INF/struts-template.tld  
/WEB-INF/struts-template.tld   

 


RE: wizard style example, anywhere?

2001-04-25 Thread Marouane Louah
hi kazumi

Sorry i dont understood what you want to say 
I'm looking for an real example for you



-Message d'origine-
De?: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoye?: mercredi 25 avril 2001 10:27
A?: [EMAIL PROTECTED]
Objet?: RE: wizard style example, anywhere?


Hi,

I wrote:
>> Specifically, an application that uses "wizard" style, multiple-page
>> input forms would be very nice. Couple of Struts documents I looked
>> mention that Struts works well with wizard style application, 
>> but I get confused when it comes to writing struts-config.xml, 
>> JSPs that share the same ActionForm or Action, etc..

Marouane Louah wrote:
> you can try the example provided with the installation 

Well, I did look at the struts-example, and I don't think that is what I
want.
The example has relatively few JSPs, and each JSP page has its own
ActionForm. What I have in mind is something like this:

1) A big ActionForm (i.e., many attributes for a user to fill in).
2) Several JSP pages each filling a part of the ActionForm, sequentially.
3) Along the way of the above sequence, there are several actions
interleved,
   i.e.,  pre-calculating possible next choises for a user, etc..

In the above scenario, how do I structure Actions, how do I write config
file,
do I need to rely on session, etc, etc, I have many questions I can't even
phrase very well.

Let me ask again: any examples out there?

- kazumi


RE: here is my properties file

2001-04-24 Thread Marouane Louah

everything seems to be allright but 
what's the name of you .properties file and is it in the classes folder ??

-Message d'origine-
De: sampath kanakaraju [mailto:[EMAIL PROTECTED]]
Envoye: mardi 24 avril 2001 18:56
A: [EMAIL PROTECTED]
Objet: here is my properties file


Here is the content of my properties file:
*
prompt.hello=Message from Session Bean
prompt.hello.heading=Sample page just to see the
working of session with struts
errors.footer=
errors.header=Page
ValidationPlease correct the following
error(s) before contiuing:
error.homelookup.jndi=Problem Finding the JDNI name
error.getInitialContext.Context=Problem in getting the
Context.
hello.title=To Display Hello Message
*

--- sampath kanakaraju <[EMAIL PROTECTED]> wrote:
> Hi i am getting the following error using the
> Resource
> file. Has anyone come across this error. 
> 
> Missing message for key hello.title:
> 
> My JSp file uses the bean.tld and is as follows:
> 
> 
> 
> 
>   
> 
>   
> 
> 
> 
> This is my setting in the web.xml file:
> *
> 
> action
>
>
org.apache.struts.action.ActionServlet
> 
> application
>
> app.ApplicationResources 
>  
> 
> 
> 
> config
>
>
/WEB-INF/struts-config.xml
> 
> 
> debug
> 2
> 
> 
> detail
> 2
> 
> 
> validate
> true
> 
> 1
> 
> 
> 
> And my ApplicationResources.properties file is under
> the following directory structure:
> *
> WEB-INF/classes/app/ApplicationResources.properties
> 
> 
> 
> And i still can find the hello.title key in the
> properties file.
> could anyone help.
> thanx
> sampath
> 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great
> prices
> http://auctions.yahoo.com/


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




RE: struts resource file error

2001-04-24 Thread Marouane Louah

the syntaxd is wrong 



try this 




-Message d'origine-
De: sampath kanakaraju [mailto:[EMAIL PROTECTED]]
Envoye: mardi 24 avril 2001 18:17
A: [EMAIL PROTECTED]
Objet: struts resource file error


Hi i am getting the following error using the Resource
file. Has anyone come across this error. 

Missing message for key hello.title:

My JSp file uses the bean.tld and is as follows:










This is my setting in the web.xml file:
*

action
   
org.apache.struts.action.ActionServlet

application
   
app.ApplicationResources   



config
   
/WEB-INF/struts-config.xml


debug
2


detail
2


validate
true

1



And my ApplicationResources.properties file is under
the following directory structure:
*
WEB-INF/classes/app/ApplicationResources.properties



And i still can find the hello.title key in the
properties file.
could anyone help.
thanx
sampath



__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




RE: wizard style example, anywhere?

2001-04-24 Thread Marouane Louah
you can try the example provided with the installation 



-Message d'origine-
De?: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoye?: mardi 24 avril 2001 15:51
A?: [EMAIL PROTECTED]
Objet?: wizard style example, anywhere?


Hello struts-users,

I am very new to Struts (or JSP for that matter), and in need of
some examples that I can get my hands on.

Specifically, an application that uses "wizard" style, multiple-page
input forms would be very nice. Couple of Struts documents I looked
mention that Struts works well with wizard style application, but I get
confused when it comes to writing struts-config.xml, JSPs that share
the same ActionForm or Action, etc.. I gotta see it working before I
start building mine.

Good examples, anywhere, anyone?

thanks,

- kazumi