apache + tomcat + *.do mapping problem

2002-04-24 Thread Oliver Kiessler

hello,
can't solve this problem: i have webspace with a provider that uses
apache 1.3.2something and tomcat 3.2.23. i deployed the struts-example
webapp just for testing. so i opened my webapp in my browser and found
out that all the .do mappings do not work. whenever i access tomcat
directly (port 8080) everything is fine. what can i do?

thanks in advance,
oli




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Using struts with UIX and or BC4J

2002-03-11 Thread Oliver Kiessler

struts works fine for me in an oc4j container. i don't know about uix
though.
bc4j is interessting. that i would like to know too... ;)

oliver 


Am Mon, 2002-03-11 um 06.29 schrieb Gibson Brad - IL:
 Has anyone used UIX and or BC4J (Oracle 9iAS) with struts? 
  
 Brad Gibson
  
-- 
mailto: [EMAIL PROTECTED]
web: http://www.linustar.de
gnupg key: http://www.linustar.de/pgp/kiessler.gpg

---
Ubi non accusator, ibi non judex.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




iterate problem

2002-03-10 Thread Oliver Kiessler

hi,
my problem:
i have a bean with two ArrayLists. my action class gets the results from
the database and puts them into the appropriate Arraylist. Then the
whole bean is appended to the session.

so in my view page i would like to iterate thru the ArrayLists of my
bean. BUT i need to generate a hyperlink with something like that:

a href=link.do?name=*in here the value from arraylist1 from the
bean**in here the value from arraylist2 from the bean*/abr
.* next hyperlink*
.
.
.

how do i have to use the logic:iterate tag?

something like that apparently doesn't work

logic:iterate name=bean property=arraylist1 id=a1
type=java.lang.String
logic:iterate name=bean property=arraylist2 id=a2
type=java.lang.String

a href=link.do?name=bean:write name=a1 /bean:write
name=a2 //abr

/logic:iterate
/logic:iterate

am i missing something? or do i have to populate my bean differently?
Different collection type maybe?

thanks, oliver



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: iterate problem

2002-03-10 Thread Oliver Kiessler

ok. you are right. i created a class class1 with two properties. in
the action class i create a bean with an arraylist of all class1
objects.

in my view i then iterate thru the arraylist of the bean and display the
two properties of type class1.

works!

thanks, oliver
  

Am Son, 2002-03-10 um 19.00 schrieb David M. Karr:
  Oliver == Oliver Kiessler [EMAIL PROTECTED] writes:
 
 Oliver hi,
 Oliver my problem:
 Oliver i have a bean with two ArrayLists. my action class gets the results from
 Oliver the database and puts them into the appropriate Arraylist. Then the
 Oliver whole bean is appended to the session.
 
 Oliver so in my view page i would like to iterate thru the ArrayLists of my
 Oliver bean. BUT i need to generate a hyperlink with something like that:
 
 Oliver a href=link.do?name=*in here the value from arraylist1 from the
 Oliver bean**in here the value from arraylist2 from the bean*/abr
 Oliver .* next hyperlink*
 
 Oliver how do i have to use the logic:iterate tag?
 
 Oliver something like that apparently doesn't work
 
 Oliver logic:iterate name=bean property=arraylist1 id=a1
 Oliver type=java.lang.String
 Oliver logic:iterate name=bean property=arraylist2 id=a2
 Oliver type=java.lang.String
 
 Oliver a href=link.do?name=bean:write name=a1 /bean:write
 Oliver name=a2 //abr
 
 Oliver   /logic:iterate
 Oliver /logic:iterate
 
 Oliver am i missing something? or do i have to populate my bean differently?
 Oliver Different collection type maybe?
 
 So are you saying that your two arraylists have to be iterated in parallel?
 They have the same number of items and item N from the first arraylist is
 associated with item N from the second arraylist?
 
 If so, I'd recommend you create a new bean class containing the two associated
 properties, and build a single arraylist of those beans.
 
 -- 
 ===
 David M. Karr  ; Java/J2EE/XML/Unix/C++
 [EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
-- 
mailto: [EMAIL PROTECTED]
web: http://www.linustar.de
gnupg key: http://www.linustar.de/pgp/kiessler.gpg

---
Ubi non accusator, ibi non judex.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: OT: Struts MySQL Hosting

2002-03-01 Thread Oliver Kiessler

hey you guys, come on, does anybody know a good java hosting company?


Am Fre, 2002-03-01 um 15.57 schrieb dderry:
 Not really a very good recommendation. Such a search could only turn up a
 list of hosting companies; with no information as to wheather they are a
 GOOD company, or just a bunch of opportunistic blood-sucking leaches. It is
 much more likely that subscribers to this list would be able to provide
 useful information.
 
 Although I WILL agree that the request is OT and should have probably stated
 so in the subject line, while requesting private responses.
 
 Dave D
 
 
 - Original Message -
 From: Galbreath, Mark [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Friday, March 01, 2002 9:40 AM
 Subject: RE: Struts  MySQL Hosting
 
 
  STFW
 
  Mark
 
  -Original Message-
  From: Matt Koidin [mailto:[EMAIL PROTECTED]]
  Sent: Friday, March 01, 2002 9:39 AM
  To: Struts Users Mailing List
  Subject: Struts  MySQL Hosting
 
 
  I have a small web site built using Struts with a simple JDBC connection
  to a MySQL database - can anyone recommend a good site hosting company
  that can support my configuration?
 
  Thanks,
  Matt
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
-- 
mailto: [EMAIL PROTECTED]
web: http://www.linustar.de
gnupg key: http://www.linustar.de/pgp/kiessler.gpg
icq: 136832122
---
The more I question the origin and meaning of our existence, the
less I care. And the less I care, the more I question myself.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: connection pooling

2002-03-01 Thread Oliver Kiessler

poolman

Am Fre, 2002-03-01 um 17.33 schrieb [EMAIL PROTECTED]:
 Does anyone know of a decent (recommended for production) open source implementation 
of JDBC DataSource or so other connection pooling mechanism.  
 
 thanks.
 
 bilal
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
-- 
mailto: [EMAIL PROTECTED]
web: http://www.linustar.de
gnupg key: http://www.linustar.de/pgp/kiessler.gpg
icq: 136832122
---
The more I question the origin and meaning of our existence, the
less I care. And the less I care, the more I question myself.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




logic:iterate question

2002-02-14 Thread Oliver Kiessler

hello,
i have a problem on one of my views with a logic:iterate tag. i have
an action that fetches news headlines from a database
(headline,headlineID) and stores them in a bean
(headlines-Arraylist,headlinedID-Vector) which is appended to
request/session. On the view i want to iterate through the Arraylist
with the headlines which basically works fine. but i need to create
links like this: a href=ViewHeadlineAction.do?headlineID=XXYZ/a

how would i use the iterate tag? do i have to use the nested tag? (i am
currently using struts 1.0.2) i dont want to use any java code in my
view, only tags...

thanks, oli


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: logic:iterate question

2002-02-14 Thread Oliver Kiessler

thanks! thats it. now it works... ;)

oli

Am Don, 2002-02-14 um 12.13 schrieb Ivan Siviero:
  links like this: a href=ViewHeadlineAction.do?headlineID=XXYZ/a
 supposing the logic:iterate id paramenter is set to element
 It should be something like this
 
 html:link page=ViewHeadlineAction.do paramName=element
 paramId=headlineID paramPropery=getterMethodWhoReturnsX
 
  instead of the static a/a
 
 checks this document http://jakarta.apache.org/struts/struts-html.html for
 html:link reference doc.
 
 Hope this helps.
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
-- 
mailto: [EMAIL PROTECTED]
web: http://www.linustar.de
gnupg key: http://www.linustar.de/pgp/kiessler.gpg
icq: 136832122
---
The more I question the origin and meaning of our existence, the
less I care. And the less I care, the more I question myself.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




newbie question

2002-02-11 Thread Oliver Kiessler

hello,
how can i access my message resource file
(ApplicationResources.properties) from an action? i need to get certain
value pairs (db.name=example_db) from it. 

any code examples would be appreciated.

thanks, oliver



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]