logic:iterate and form controls, revisited

2001-01-23 Thread Erik Horstkotte
Hi all, I recently ran in to a need to perform a task that's been discussed on this list at least a couple of times since I've subscribed. Unfortunately, an actual way to make it work was only described once, and that approach was unappealing. The problem is that I would like to construct a JSP

HtmlTag - locale

2001-01-23 Thread Oliver . Lauer
Hi, I admit, I am a STRUTS-beginner and anyway not familiar with mailing lists :-), but is it correct that in the HtmlTag the attribute locale is a boolean ? My IPLANET6.0-Jsp-Engine tries to set a STRING and fails compiling my JSP-page. I thought every attribute in a Tag should be a STRING

Re: Struts and Weblogic 6.0

2001-01-23 Thread Thierry Cools
Hi,   There is already a XML parser included in the weblogic.jar file, so you don't have to add any other library in it.   Personally, I didn't have to change anything in the classpath to make it work, the only thing I had to do is to copy the the struts. jar file under the WEB-INF/lib direct

Re: Any way to do includes in struts-config.xml

2001-01-23 Thread Martin Cooper
This came up on the list just yesterday. As Craig mentioned at the time, a solution was posted a while ago on the ant-user mailing list. Here's a link to the Ant FAQ item: http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/acti on/SetAll/project_id/2/faq_id/16/topic_id/196/qu

RE: Struts and Weblogic 6.0

2001-01-23 Thread rhayden
This is the functionality in 5.1 as well... must be a WL "feature" :)  The classpath does seem to get included for a *.war, but then there are other issues (see my other post).   Do you have Struts 1.0 working on WL6? If so, then what is your configuration? i.e. what XML parser do you use?

RE: Deploy WAR file with Weblogic 510 sp8 on Solaris 7

2001-01-23 Thread rhayden
I have the same problem with WL5.1 well sort of.  In my case, WL only deploys *.class files, so struts failed because it needed the applicationResources.properties and it could not be found.  In your case, perhaps WL is ignoring the SO files. This seems to be an issue with WL, as there

RE: Off Topic:: How do detect if user is still using your web application?

2001-01-23 Thread Duffey, Kevin
First of all..NEVER I repeate NEVER store a database connection handle in the HttpSession. This is a VERY bad thing to do. If your site grows..you can forget about scalability. You'll be paying out the rear for licenses if you have 1000's of users hit your site. At any rate, the first thing you ne

RE: Struts and Weblogic 6.0

2001-01-23 Thread Duffey, Kevin
In regards to WL6, although this may not fix anyones particular problems, we noticed one thing with the beta version we have. Anyting in the /WEB-INF/lib dir does not automatically become part of the classpath. I assume this is (or was) a bug with WL6. It works fine in Orion App Server. As p

RE: Deploy WAR file with Weblogic 510 sp8 on Solaris 7

2001-01-23 Thread Michael Mok
Teresa   Are you referring to SO files as native runtime libraries for Solaries?     Michael Mok   Subject: RE: Deploy WAR file with Weblogic 510 sp8 on Solaris 7   I have all of JAR files under "WEB-INF/lib".  Only the SO files are under "WEB-INF/lib/solaris".  Will this causes a

RE: Deploy WAR file with Weblogic 510 sp8 on Solaris 7

2001-01-23 Thread Yu, Teresa
I have all of JAR files under "WEB-INF/lib".  Only the SO files are under "WEB-INF/lib/solaris".  Will this causes any problem? Teresa -Original Message-From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 23, 2001 6:29 PMTo: [EMAIL PROTECTED]Subject: Re: Deplo

Re: Deploy WAR file with Weblogic 510 sp8 on Solaris 7

2001-01-23 Thread Craig R. McClanahan
"Yu, Teresa" wrote:  I am able to deploy my WAR file with an un-jarred fashion.  However, I wasn't able to deploy my WAR file as it is. My WAR file consists of a set of gif, xml, jsp, jar, css, so, and js files.  Under WEB-INF\lib folder, it contains a set of jar files.  Under WEB-INF\lib\solaris

Deploy WAR file with Weblogic 510 sp8 on Solaris 7

2001-01-23 Thread Yu, Teresa
I am able to deploy my WAR file with an un-jarred fashion.  However, I wasn't able to deploy my WAR file as it is.    My WAR file consists of a set of gif, xml, jsp, jar, css, so, and js files.  Under WEB-INF\lib folder, it contains a set of jar files.  Under WEB-INF\lib\solaris, it contai

RE: how to change the window target in a JSP file?

2001-01-23 Thread Abraham Kang
Title: Deploying Struts on iPlanet 4.1 - any successes? Hi James,      You might need some heavy duty JavaScript for this one but here it goes.  Make sure you have refernece to the window you want to optionally load within a hidden frame of window A (form submitting window).  When you submi

Re: set methods in ActionForm

2001-01-23 Thread Craig R. McClanahan
Zhiyong Li wrote: > I have two questions related with the set methods in any of the Form > class, such as MyActionForm. > > 1. It seems to me that if we use a form with POST method, the > corresponding "set" method will be called as it should be. What I want > to confirm is that if I have the U

Re: Off Topic:: How do detect if user is still using your web application?

2001-01-23 Thread Craig R. McClanahan
Michael Mok wrote: > Hi > > This is a fundamental problem facing all web applications. Due to the > asynchronous nature of Web pages, it is almost impossible to establish if > the user is still "using" the application. > > In the client/server world. the user session terminates/disconnects when >

RE: how to change the window target in a JSP file?

2001-01-23 Thread GU,JAMES (HP-Corvallis,ex1)
Title: Deploying Struts on iPlanet 4.1 - any successes?   Does anyone know how to have dynamic control in a JSP file which browser window that JSP file itself should be displayed? For example, I have two browser window A and B and submit a form from one of the windows. After processing that r

Off Topic:: How do detect if user is still using your web application?

2001-01-23 Thread Michael Mok
Hi This is a fundamental problem facing all web applications. Due to the asynchronous nature of Web pages, it is almost impossible to establish if the user is still "using" the application. In the client/server world. the user session terminates/disconnects when they close the application. How

Any way to do includes in struts-config.xml

2001-01-23 Thread Knabe, Rusty
Is there a way within struts-config.xml to include data from external xml's. This way struts-config.xml does not get large and so the mappings can be managed in separate files. Our app has many optional componets, and it would be nice to be able to just do includes in the struts-config of the piec

Re: Where are the *.tlds ?

2001-01-23 Thread Craig R. McClanahan
"Hines, Bill" wrote: > Sounds good! I hope you got a darn big conference room if all of us are > invited! (200+ on the list??) > I'm always pleasantly surprised when I look, and as of a few seconds ago there are 909 subscribers to STRUTS-USER (!!). There are 450 on STRUTS-DEV. > > Sorry for th

Re: Where are the *.tlds ?

2001-01-23 Thread john d ware
Opps, Sorry about the stupid post. You are all very kind not to have flamed me to death. john john d ware wrote: > Hey, > I just heard from the weblogic sales guy and it looks like we are on for > tomorrow( wed ); time to be confirmed. He is scheduling a conf room and will > reconfirm t

set methods in ActionForm

2001-01-23 Thread Zhiyong Li
I have two questions related with the set methods in any of the Form class, such as MyActionForm. 1. It seems to me that if we use a form with POST method, the corresponding "set" method will be called as it should be. What I want to confirm is that if I have the URL with query string, does the p

RE: Where are the *.tlds ?

2001-01-23 Thread Hines, Bill
Sounds good! I hope you got a darn big conference room if all of us are invited! (200+ on the list??) Sorry for the off-topic post, but I couldn't resist. One of these days we're going to get a very interesting one of these emails from folks who don't realize that their replies go to the *list*,

Re: Struts example uses old Tag Library

2001-01-23 Thread Craig R. McClanahan
Rob Leland wrote: > The struts example for January 23 uses depreciated > tags for error handling in login.jsp. This appears to be > the last place the old tag library is used. > > -Rob Thanks Rob ... I just fixed this one. Craig

RE: Struts and Weblogic 6.0

2001-01-23 Thread rhayden
After seeing the talk about the API changes, I just downloaded the latest nightly build (01-23 binary version) and tried to deploy the example application to WebLogic 5.1 but it failed miserably with all kinds of XML related errors. I also tried to run the example app on JRun, but this faile

Re: Struts and Weblogic 6.0

2001-01-23 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > Memo from Nic Hobbs of PricewaterhouseCoopers > > Start of message text > > Hi All, > > I know there have been many threads over the last few months concerning Weblogic > 5.1 and Struts and also WLS 6.0, particularly with respec

Re: AW: Where are the *.tlds ?

2001-01-23 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > Hi, > > it might seem that I'm a little bit stupid and Germans tend to be :-) but it > isn't in the source distribution zip-file. I have unzipped it and found > everthing but not the *.tlds..! > You are correct -- the TLDs are *not* in the source distribution. That is

Locale and struts:message tag

2001-01-23 Thread Scott Sayles
I'm trying to display russian characters using the tag against an existing resource bundle. The resource bundle is being used by a working Swing application. The strings are displayed correctly in my Struts app for english, but for some reason when I set my locale and language to russian in the

Re: Getting Struts to work with XYZ

2001-01-23 Thread Craig R. McClanahan
Timur Mehrvarz wrote: > > Well, one thing you might wish to note is that I'm the primary > > author of Struts, and my "day job" (what I do to make a living) > > is developing on Tomcat (in the version 4.x codebase). > > As you can imagine, Tomcat is my primary test platform > > for debugging Stru

Re: Missing Something

2001-01-23 Thread Craig R. McClanahan
John Raley wrote: > "Craig R. McClanahan" wrote: > > >there are a *substantial* number of incompatible API changes. > > Is there a conversion guide out there? I poked around the site a little > and didn't see one. > > Thanks, > John The "Release Notes (1.0)" document on the website is not up to

Re: Where are the *.tlds ?

2001-01-23 Thread john d ware
Hey, I just heard from the weblogic sales guy and it looks like we are on for tomorrow( wed ); time to be confirmed. He is scheduling a conf room and will reconfirm the time. Sound good? john Roger Kjensrud wrote: > You have to unzip the file, and you'll see the .tlds and the other files. >

Re: GenericDataSource usage in non-servlet classes

2001-01-23 Thread Craig R. McClanahan
Deping Chian wrote: > Could somebody tell me how to use GenericDataSource in non-servlet classes? > > I could access the pool in action servlets using GenericDataSource ds = > (GenericDataSource) > servlet.findDataSource(null). But my my non-struts-related classes cannot > access the pool. > If

Re: Missing Something

2001-01-23 Thread John Raley
"Craig R. McClanahan" wrote: >there are a *substantial* number of incompatible API changes. Is there a conversion guide out there? I poked around the site a little and didn't see one. Thanks, John

struts opentool to JBuilder4

2001-01-23 Thread Sibon Barman
Hi all, Is anybody aware of any opentool that incorporates struts to JBuilder4 and allow the visual building of the webpage. Thanks, Sibon Barman SS8 Networks, Inc. Suite 500 495 March Road, Kanata, Ontario K2K 3G1 *: (613)592-2100 ext:3281 *: [EMAIL PROTECTED] winmail.dat

struts-config_1_0.dtd / Struts Version 1.0 (nightly build)

2001-01-23 Thread Santschi Oliver
When I open the file 'struts-config.xml' with XMLSpy, there is a validation error in the struts_config_1_0.dtd (DTD/Schema error - element 'CDATA' is undefined). Can anybody help me... Thanks Greetings Oliver

Struts example uses old Tag Library

2001-01-23 Thread Rob Leland
The struts example for January 23 uses depreciated tags for error handling in login.jsp. This appears to be the last place the old tag library is used. -Rob

AW: AW: Where are the *.tlds ?

2001-01-23 Thread Oliver . Lauer
Thanks, I've found those in the binary distribution ! Oliver -Ursprüngliche Nachricht- Von: Rob Leland [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 23. Januar 2001 16:18 An: [EMAIL PROTECTED] Betreff: Re: AW: Where are the *.tlds ? In the binary distribution is under: jakarta-s

Re: nightly build

2001-01-23 Thread Steve A Drake
On Mon, 22 Jan 2001, Steven D. Wilkinson wrote: > Here is what the installation doc says: > > "XML Parser - Struts requires the presence of an XML parser that is compatible > with the Java API for XML Parsing (JAXP) specification, 1.0 or later. You can > download and install the JAXP reference i

Re: Struts and Weblogic 6.0

2001-01-23 Thread Thierry Cools
Hi, I'm currently buzy to migrate an application working on Tomcat to Weblogic 6.0   The problems with the PropertyMessageRessource class is not yet solved, but Craig confirmed me some days ago that he was working on it. Anyway, even if that problem still exist, it is possible to use Struts w

RE: Struts and Weblogic 6.0

2001-01-23 Thread nic.hobbs
Memo from Nic Hobbs of PricewaterhouseCoopers Start of message text The archives are available at: http://archive.covalent.net/jakarta/struts-user/ or http://www.mail-archive.com/struts-user@jakarta.apache.org/ HTH Nic - End o

GenericDataSource usage in non-servlet classes

2001-01-23 Thread Deping Chian
Could somebody tell me how to use GenericDataSource in non-servlet classes? I could access the pool in action servlets using GenericDataSource ds = (GenericDataSource) servlet.findDataSource(null). But my my non-struts-related classes cannot access the pool. Thanks, Deping

RE: Struts and Weblogic 6.0

2001-01-23 Thread rhayden
So there are issues with WL5.1 and struts then? I just subscribed to this group yesterday so I don't have the historical perspective... I would really like to be aware of any issues since I plan to deploy this app on WL5.1. What is the consensus? Are the mail messages archived somewhere so I ca

Struts and Weblogic 6.0

2001-01-23 Thread nic.hobbs
Memo from Nic Hobbs of PricewaterhouseCoopers Start of message text Hi All, I know there have been many threads over the last few months concerning Weblogic 5.1 and Struts and also WLS 6.0, particularly with respect to the example application. Could

AW: Where are the *.tlds ?

2001-01-23 Thread Oliver . Lauer
Hi, it might seem that I'm a little bit stupid and Germans tend to be :-) but it isn't in the source distribution zip-file. I have unzipped it and found everthing but not the *.tlds..! Oliver -Ursprüngliche Nachricht- Von: Roger Kjensrud [mailto:[EMAIL PROTECTED]] Gesendet am: Dienst

Re: AW: Where are the *.tlds ?

2001-01-23 Thread Rob Leland
In the binary distribution is under: jakarta-struts/lib [EMAIL PROTECTED] wrote: > Where did you find that ?

RE: Where are the *.tlds ?

2001-01-23 Thread Roger Kjensrud
You have to unzip the file, and you'll see the .tlds and the other files. Roger > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 23, 2001 6:49 AM > To: [EMAIL PROTECTED] > Subject: AW: Where are the *.tlds ? > > > Where did you find that

AW: Where are the *.tlds ?

2001-01-23 Thread Oliver . Lauer
Where did you find that ? The only one I have is: 'jakarta-struts-src-20010122.zip' and there isn't any struts-example.war or I'm blind what could be of course. Oliver -Ursprüngliche Nachricht- Von: Rob Leland [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 23. Januar 2001 15:26 An:

Re: Capturing stderr to a file

2001-01-23 Thread Peter Alfors
You could catch the error and retrieve the stacktrace from it: StringWriter writer = new StringWriter(); myException.printStackTrace( new PrintWriter( writer ) ); stackTrace = writer.toString(); Then write it to a file. HTH, Pete begin:vcard n:;

Re: Where are the *.tlds ?

2001-01-23 Thread Rob Leland
Once I unpacked the struts-example.war into tomcat I found them in tomcat/webapps/example/WEB-INF [EMAIL PROTECTED] wrote: > Hi, > > where do I find the 'new' *.tld-files. > I have downloaded the latest nightly build and try to migrate the example, > but I can't find the *.tlds mentioned for exa

Where are the *.tlds ?

2001-01-23 Thread Oliver . Lauer
Hi, where do I find the 'new' *.tld-files. I have downloaded the latest nightly build and try to migrate the example, but I can't find the *.tlds mentioned for example in the logon.jsp: <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefi

FormTag problem

2001-01-23 Thread Howard Moore
Having looked at the source code for the FormTag it appears that there is no way to use it with an ActionMapping whose path contains a forward-slash (other than at the start) because everything before the last one is removed before looking up the ActionMapping. Why is this? It doesn't seem to me t

Capturing stderr to a file

2001-01-23 Thread Don Elliott
Hi Struts Users,   I've just installed a Tomcat / struts / JDBC application (standalone Tomcat on NT 4) and am working my way through porting it to talk to Oracle (original sample was PostgreSQL)..   I've got it talking to the database OK, however the port has caused lots of type casting prob

Retreiving multiple values from SELECT boxes

2001-01-23 Thread k.mcginley
I need to know how to retreive multiple values from a HTML select box using struts. So far I have set-up the SELECT box to allow multiple selects. On submission of the HTML form the values of the SELECT box are submitted in the request as an array of strings. However the bean setter method does n

Re: JDBC Connection Pooling

2001-01-23 Thread Ted Husted
You can access the pool this way: GenericDataSource ds = (GenericDataSource) servlet.findDataSource(null); which I clipped from a working Action.perform method. -Ted. *** REPLY SEPARATOR *** On 1/23/2001 at 10:04 AM Lind Jürgen wrote: Hi there, I'm currently trying to

Re: Getting Struts to work with XYZ

2001-01-23 Thread Timur Mehrvarz
> Well, one thing you might wish to note is that I'm the primary > author of Struts, and my "day job" (what I do to make a living) > is developing on Tomcat (in the version 4.x codebase). > As you can imagine, Tomcat is my primary test platform > for debugging Struts, so you can pretty much al

JDBC Connection Pooling

2001-01-23 Thread Lind Jürgen
Hi there, I'm currently trying to use the connection pool that comes with Struts but I have a problem with the spec in the Struts config file. The Bean simply doesn't show up in the servlet context (neither the default value nor my own key). When establishing the the connection pool by hand ever