AW: logic:iterate -tag

2003-01-12 Thread Matthias Weßendorf
thank you, is it possible to create a bean with the -tag? or must i you the -Tag? greetings Matthias Matthias Weßendorf Lange Strasse 17 D-44137 Dortmund Tel.: (02 31) 1 89 15 95 Handy: (01 79) 1 11 89 79 Emai

RE: jsp:directive.taglib doesn't work

2003-01-12 Thread Oak, Harshad (Cognizant)
To the best of my knowledge, jsp:directive.taglib is not a valid tag at all. Isn't it that in the XML syntax for JSP, you specify the taglib prefix etc. in the namespace info of cheers! harshad -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, January

Re: [REPOST] NoClassDefFound exception in JBoss3 with integrated TomCat when instantiating Actions

2003-01-12 Thread Eric Jain
> We have been running out TomCat seperately to our JBoss (on same machine > usually) so far during development without encountering this problem, > however in attempting to use the integrated one we are hitting this wall. Same problem here, but with JBoss/Jetty. One ugly workaround seems to be to

Re: JSPWriter prints ???

2003-01-12 Thread Sakis Chatzinikolaou
Jim , Have you used any special settings in mySQL for the greek characters ? Thanks Sakis - Original Message - From: "Jim Theodoridis" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 2:45 PM Subject: Re: JSPWriter prints ??? > Hi

Re: JSPWriter prints ???

2003-01-12 Thread Sakis Chatzinikolaou
Hi (Geia sou ) Jim The code I use is pretty much the same with the one you supplied. The problem is not with the select (combo box) but with the options inside. All the Greek options display in ??? and I used a for a test an English record which displays normally. Do you use international JDK1.4.

RE: Declarative Exception Handling(solved)

2003-01-12 Thread Suresh Addagalla
Thanks David. It worked this way: Suresh >-Original Message- >From: David M. Karr [mailto:[EMAIL PROTECTED]] >Sent: Monday, January 13, 2003 12:15 AM >To: [EMAIL PROTECTED] >Subject: Re: Declarative Exception Handling > > >> "Suresh" == Suresh Addagalla <[EMAIL PROTECTED]> writ

How to reset session-scoped Dyna bean values

2003-01-12 Thread Affan Qureshi
A rather basic question: How to reset/empty the property values in a session bean when I get to page 1 in a wizard type interface? I have a wizard type interface where I need to retain values throught four/five screens. But when I want to start a new process from screen 1 I get the same values bac

RE: jsp:directive.taglib doesn't work

2003-01-12 Thread Suresh Addagalla
HI, Thanks for the solution. I tried to convert just the taglib directive to XML syntax. The page contains other tags in conventional scripting style. The error I get is was as follows: org.apache.jasper.JasperException: /login.jsp(12,5) jsp.error.badaction at org.apache.jasper.compiler.

[REPOST] NoClassDefFound exception in JBoss3 with integrated TomCat when instantiating Actions

2003-01-12 Thread Andrew Hill
(Reposting this in the hope someone who knows the solution missed it first time) We are making an attempt to run our J2EE app (which uses a struts front end) on the integrated JBoss+TomCat platform. (version: jboss-3.0.0-tomcat-4.0.3, struts1.1b1) We have been running out TomCat seperately to our

RE: Struts Productivity Survey

2003-01-12 Thread Andrew Hill
30 people for 100 screen UI alone? What is this - NASA shuttle control via web interface? ;-) Our app (struts frontend, ejb backend) has 1.5 people doing a similar number of screens (if you include listviews which thanks to the wonders of copy & paste and inheritance take a good 2 minutes to imple

Re: Formatted output within a nested iterate loop

2003-01-12 Thread David M. Karr
> "usha" == usha <[EMAIL PROTECTED]> writes: usha> Hi usha> i have a question on formatting the output through . my ActionForms usha> contains all the String datatype variable, even though the value in this usha> varibles may be a date or number. i declared all varibles as st

How to use struts' Token system to avoid duplicated request/back button with xml and xsl (not using stxx) - corrected version?

2003-01-12 Thread Jason Yam
Hi everyone, anyone knows how to use struts' Token system to avoid duplicated request/back button with xml and xsl? I know there are something like stxx but I still want to use the "traditional" struts framework to implement my project and I try to get the most out of it. I want to use stru

How to use struts' Token system to avoid duplicated request/back button with xml and xsl (not using stxx)?

2003-01-12 Thread Jason Yam
Hi everyone, anyone knows how to use struts' Token system to avoid duplicated request/back button with xml and xsl? I know there are something like stxx but I still want to use the "traditional" struts framework to implement my project and I try to get the most out of it. I want to use stru

Re: Formatted output within a nested iterate loop

2003-01-12 Thread usha
Hi i have a question on formatting the output through . my ActionForms contains all the String datatype variable, even though the value in this varibles may be a date or number. i declared all varibles as string datatype because from the UI when the user enters the date if i won't declare it a

Re: jsp:directive.taglib doesn't work

2003-01-12 Thread Craig R. McClanahan
On Sun, 12 Jan 2003, Suresh Addagalla wrote: > Date: Sun, 12 Jan 2003 16:08:02 +0530 > From: Suresh Addagalla <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: jsp:directive.taglib doesn't work > > Hi, > > S

Re: logic:iterate -tag

2003-01-12 Thread David M. Karr
> "Matthias" == Matthias Weßendorf <[EMAIL PROTECTED]> writes: Matthias> Hello everybody, Matthias> i am just trying to use the -Tag Matthias> this way was successfull: Matthias> THE CODE: Matthias> <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> Matth

Re: Formatted output within a nested iterate loop

2003-01-12 Thread David M. Karr
> "Norman" == Norman Klein <[EMAIL PROTECTED]> writes: Norman> I currently have a nested iterate loop which looks like the following: Norman> indexId="liabilityIndex" property="liabilities"> Norman> Norman> Norman> property="unpaidBa

logic:iterate -tag

2003-01-12 Thread Matthias Weßendorf
Hello everybody, i am just trying to use the -Tag this way was successfull: THE CODE: <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> END OF CODE but i didn´t want to use the -Tag so i tried this one:

Formatted output within a nested iterate loop

2003-01-12 Thread Norman Klein
I currently have a nested iterate loop which looks like the following: This works fine, but the "unpaidBalance" field really needs to be formatted like this: $100,000.00 instead of 10.0 Since the text tag doesn't directly

RE: Connection timed out when accessing DB to get 'last insert id'.

2003-01-12 Thread Robert Taylor
John, this is an off topic post and should be labeled as such. Have you tried writing a unit test outside of Struts with the same code? Does it fail too? If so, then I assume last_insert_id() is a prepared statement that has already been compiled? Have you tried closing the prepared statement afte

Re: Declarative Exception Handling

2003-01-12 Thread David M. Karr
> "Suresh" == Suresh Addagalla <[EMAIL PROTECTED]> writes: Suresh> Hi, Suresh> I still need some more help in this respect. If any of you have managed Suresh> to extract messages from exception objects using declarative exception Suresh> handling, please give me some inputs.

Re: jsp:directive.taglib doesn't work

2003-01-12 Thread David M. Karr
> "Suresh" == Suresh Addagalla <[EMAIL PROTECTED]> writes: Suresh> Hi, Suresh> Slightly off-topic, but a basic JSP question. Suresh> I found that XML-based tag for taglib is not working for me, where as Suresh> the scripting-oriented tag works fine. Suresh> -- Suresh

Connection timed out when accessing DB to get 'last insert id'.

2003-01-12 Thread John Bateman
Hi I"m getting a "connection timed out" on my web page when I try and add information to the database. This happen regardless if I use a "comm.setautocommit( true) or 'false'. Also, it's not just ANY information that causes the time out. It's when I add info to my Questions table, then try and

RE: Cannot find bean...

2003-01-12 Thread Robert Taylor
Is the form assigned to the action in the struts-config.xml file? robert > -Original Message- > From: Cohan, Sean [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 12, 2003 11:05 AM > To: Struts (E-mail) > Subject: Cannot find bean... > > > I'm struggling with the exception below tryin

RE: Cannot find bean...

2003-01-12 Thread Cohan, Sean
Yes, both the form and action classes are in the server lib (and in the calsspath.) -Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 12, 2003 11:07 AM To: 'Struts Users Mailing List' Subject: RE: Cannot find bean... Well, do you have that class anywh

RE: Cannot find bean...

2003-01-12 Thread Sterin, Ilya
Well, do you have that class anywhere in the servers lib dir? Ilya -Original Message- From: Cohan, Sean [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 12, 2003 11:05 AM To: Struts (E-mail) Subject: Cannot find bean... I'm struggling with the exception below trying to figure out how t

Cannot find bean...

2003-01-12 Thread Cohan, Sean
I'm struggling with the exception below trying to figure out how to resolve it. It appears when I add the following hidden parameter to the form. I have the parameter getter and setters in the form class, and as a parameter in the action mapping. Can someone steer me in the right directi

RE: Add paramaters to a forward dynamically

2003-01-12 Thread Robert Taylor
Sorry it didn't work for you and sorry I didn't include all the details such as the algorithm used in the example. The idea is the same though. - Get the path from the existing ActionForward - Manually append query string parameters to the path - Create a new ActionForward with the modified path -

RE: Declarative Exception Handling

2003-01-12 Thread Suresh Addagalla
Hi, I still need some more help in this respect. If any of you have managed to extract messages from exception objects using declarative exception handling, please give me some inputs. I have tried putting the following in my jsp. My action throws the InvalidLoginException and sets the "mess

jsp:directive.taglib doesn't work

2003-01-12 Thread Suresh Addagalla
Hi, Slightly off-topic, but a basic JSP question. I found that XML-based tag for taglib is not working for me, where as the scripting-oriented tag works fine. -- doesn't work <%@ taglib uri="url to taglig" prefix="tagprefix" %> - works Any idea why the first syntax wouldn't work? I am using To