Re: Another questions about checkboxes

2002-01-03 Thread Linnea Ahlbeck
Hi Alex! Have you solved your problem yet? I was facing the same situation a cuple of weeks ago. All values from your formbean are sent in the request as parameters when you press submit - but checkbox values are only in the request if they have the value on = they are checked. The reset method

Re: selecting a row in a table with a checkbox

2002-01-03 Thread Shengmeng Liu
Hi, There're basically two approaches to this problem. 1)Use Javascript on the client side: You may group each row of table including all its elements into a separate form without submit button, and then you can use an independent button in a dedicated form and inside its onclick()

Re: Forwarding Data For A Form

2002-01-03 Thread Shengmeng Liu
According to my understanding of the problem, this is really a very typical requirement that the Action class needs to pass some information to its view (jsps). All you have to do is to set the userid as an attribute of request(or session) scope. And then in the login.jsp, you can use

Re: Array of checkboxes in JSP - props in bean

2002-01-03 Thread Shengmeng Liu
Hi, I have successfully use String as type for property of checkbox. It works exactly the way I expected. That is it's initial value is null and when the checkbox is checked, it will have the value of on, which is the default of html:checkbox and the html input element will now have one

Re: Array of checkboxes in JSP - props in bean

2002-01-03 Thread Shengmeng Liu
Hi, I have successfully use String as type for property of checkbox. It works exactly the way I expected. That is it's initial value is null and when the checkbox is checked, it will have the value of on, which is the default of html:checkbox and the html input element will now have

RE: Looking for a clean required-bean handler

2002-01-03 Thread Jesse Alexander (KABS 11)
Hi, definitely works. It is the way I recommend to our programmers. Makes it easy to prepopulate all the forms on jsp's. good luck Alexander -Original Message- From: Michael Sabitov [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 12:49 AM To: 'Struts Users Mailing List'

Re: How to set Dynamic hyper link using html:link

2002-01-03 Thread Keith Bacon
Hi dennis - not sure - but try, html:link forward='bean:write name=menu property=menuAction/' (using single quote marks). Keith. --- Lee, Dennis [EMAIL PROTECTED] wrote: Hi , I would like to know the way to set a dynamic hyper link using Struts html: I am trying to do it as follows:

Re: Creating reports in PDF format

2002-01-03 Thread Jin Bal
The Keiuken package is within a larger project called cappucino. Unfortunately all the docs are in japanese but if you look at the code you can get the gist HTH - Original Message - From: Jin Bal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent:

RE: How to set Dynamic hyper link using html:link

2002-01-03 Thread Lee, Dennis
Hi, Thanks. But it still not work. I found that it works if I use %=menu.getMenuAction()%... e.g. logic:iterate id=menu indexId=i name=user property=menus type=MenuDataBean html:link forward=%=menu.getMenuAction()% bean:write name=menu property=menuDesc/ /html:link /logic:iterate Any

Re: Another questions about checkboxes

2002-01-03 Thread Linnea Ahlbeck
Hi Alex! Have you solved your problem yet? I was facing the same situation a cuple of weeks ago. All values from your formbean are sent in the request as parameters when you press submit - but checkbox values are only in the request if they have the value on = they are checked. The reset method

Where can I find html:messages ?

2002-01-03 Thread Peter Pilgrim
I want to customise the errors messages for invalid data entry. Where can I get my hands on the html:messages tag? This tag does not exists Struts 1.0 ? Or how can use the present tags to iterate through the error messages? -- Peter Pilgrim ++44 (0)207-545-9923

RE: Creating reports in PDF format

2002-01-03 Thread Rajan, Jeffy
Both the options iText and FOP does not work so well for creating large PDF files. You will end up with getting an Out of memory error. These option are good if you want to create a few pages. If this is not the case you should look into the various third party tools available. -Original

RE: Creating reports in PDF format

2002-01-03 Thread Tom Klaasen (TeleRelay)
Just create an HTML table with the content you want, and set the mime-type to application/ms-excel (or something like that, don't know it by heart). Et voila, the browser opens excel and shows you the stuff. Won't work if the user doesn't have excel installed, but then again, he wouldn't be able

Parser error while testing struts-layout

2002-01-03 Thread DUPRAT Alexandre
Hi all, Happy new year :-) I'm currently testing struts-layout found at : http://struts.application-servers.com/ when deploying on tomcat 3.2.3 i got errors like : Digester.getParser: javax.xml.parsers.ParserConfigurationException: Namespace not supported by SAXParser at

Re: Please can someone post an example of there Environment setup 4 tomcat 4- Sorted Now

2002-01-03 Thread Chuck Amadi
Geoffrey Mroz wrote: If I understood you right: The STARTUP script is in the C:\jakarta-tomcat-4.0.1\bin directory. If you are not directly in the \bin directory when you run it, you will need to include C:\jakarta-tomcat-4.0.1\bin somewhere in your path. Hope that helps. -- Geoff

button tag

2002-01-03 Thread Kuntz Peter, NY
Hi, I have a question about the html: button tag. The discription about the property attribute of that tag is the following: Name of the request parameter that will be included with this submission, set to the specified value.. And additionally the value attribute has the following description:

Session Timeout question

2002-01-03 Thread TODD HARNEY
How can one accurately detect that a session has timedout? I have a custom tag that is automatically included on every jsp page we have. Its job is to detect whether a session has timedout and if it has, to redirect the user to a different page to relogin or whatever. I think it is the case

problem using the logic:equal tag

2002-01-03 Thread To, Wilson
Hi Struters, I have a problem using the logic:equal tag. I have a bean collection (Array List of value/label pairs of String's - used in an html:select) and I'm using the logic:iterate tag to iterate over the collection. Whilst looping over the collection, I want to test to see if the value

RE: Looking for a clean required-bean handler

2002-01-03 Thread Kiet Nguyen
This is how my application is setup. I have step 1-5 and there are before and after actions for every step. The only downsize is strut will update the form twice and struts-config.xml is longer. The action classes are simplier and independent. -Original Message- From: Michael

[DONT BOTHER] Re: Where can I find html:messages ?

2002-01-03 Thread Peter Pilgrim
I ripped the guts of the error tag to get at the final errors messages. This will allow me now to write customised error messages in my JSP %@ page import=java.util.* % %@ page import=java.io.* % %@ page import=org.apache.struts.action.* % ... ActionErrors errors =

Re: Creating reports in PDF format

2002-01-03 Thread John M. Corro
IMHO you should only look to iText if page generation times are under serious scrutiny or if you're expecting more than 15 pages per PDF file (a high end box might be able to handle more, I just know that there's a certain range of pages where FOP just starts becoming dog slow). FOP also is

Re: Creating reports in PDF format

2002-01-03 Thread Will Spies/Towers Perrin
Do any of these tools convert from RTF to PDF?

Re: Session Timeout question

2002-01-03 Thread Sean Owen
A new session is created before your JSP is serviced, so I think that's why you're always getting a session object there. session.isNew() is an indirect but pretty good way of knowing when a session has just been created, and thus could be because the old session timed out. You can also put

RE: Creating reports in PDF format

2002-01-03 Thread Sekar, Uday (GEAE, MASTECH)
Ajay: For PDF Conversions we have used a commercial Software called as RasterMaster from Snowbound. It does a pretty good job converting formats to PDF, using API calls from Java. We did have some issues with memory errors using this tool, but after increasing our Heap memory when the

General design question

2002-01-03 Thread Kuntz Peter, NY
Hi, I have a general design question. Assume a web application that represents a use case over several sites. Each of these sites have form fields. Each site has a Next and Previous button except the last an the first which only have either a Next or a Previous button. Additionally there is a

Custom tag performance

2002-01-03 Thread ltorrence
Title: Custom tag performance For a workflow system, I've created a custom tag (extending the struts BaseInputTag) that combines the functionality of the following struts tags html:text bean:message messages:present The custom tag has a property attribute and a key attribute (for the field

[ANNOUNCE] Struts Console v1.3

2002-01-03 Thread James Holmes
Struts Console version 1.3 is now available. http://www.jamesholmes.com/struts/ http://www.jamesholmes.com/struts/struts-console-1.3.zip This release has a couple of small new features and most notably adds support for JBuilder 4. Changes with Struts Console v1.3 *) Added ability to close

RE: Parser error while testing struts-layout

2002-01-03 Thread DUPRAT Alexandre
Jean-Noel : I just tried replacing my digester 1.0 by 1.1.1 I got a different error : Digester.getParser: javax.xml.parsers.ParserConfigurationException: Namespace not supported by SAXParser at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60) at

RE: Session Timeout question

2002-01-03 Thread Luke Studley
Also if you are using a Servlet2.3/JSP 1.2 container (e.g. tomcat 4) (not sure about earlier versions) you can register listener(s) that will listen for all the session timeouts in the system or write an object into the session that implements HttpSessionAttributeListener which will be notified

Specify scope in tags..

2002-01-03 Thread Jeff_Mychasiw
Greetings: When using the logic tags, I like the Idea that it will access a collection from a specified scope OR check all the scopes starting with page scope and so on. When using the options tag, I get all my lists from the database and store them in different scopes depending on

Javascript tag libs

2002-01-03 Thread John M. Corro
I just started tinkering w/ the Javascript tag library package written by Tom Tessier on jspinsider.com. Basically, it's a tag lib that translates into some very neat and useful javascript functionality (dynamic color coding of required form sections, pulldown menus, etc). I was wondering if

Re: Parser error while testing struts-layout

2002-01-03 Thread Jean-Noel Ribette
At 15:01 03/01/2002, you wrote: Hi all, Happy new year :-) I'm currently testing struts-layout found at : http://struts.application-servers.com/ when deploying on tomcat 3.2.3 i got errors like : Digester.getParser: javax.xml.parsers.ParserConfigurationException: Namespace not supported by

html:submit - how do I use the attribute accesskey?

2002-01-03 Thread Linnea Ahlbeck
Hi! I have several submit buttons on a jsp page and wants to use the accesskey attribute to decide which submit button that shoul be connected to the enter key! Can't get it rightAny suggestions??? Thanks in advance! /Linnéa -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

pluggable validator not working

2002-01-03 Thread Domen, Ken
I'm trying to use my own pluggable validator. It gets called but the return to false doesn't make the error processing take place. Instead, it performs as though it succeeded. Here's the code snippet: public static boolean myTestValidate(Object bean,

RE: Parser error while testing struts-layout

2002-01-03 Thread Jean-Noel Ribette
The digester still doesn't find Xerces as it tries to instanciate sun's parser. Could you make sure Xerces is in the WEB-INF/lib directory ? If not could you check if Struts alone is starting ok ? Jean-Noel At 16:29 03/01/2002, you wrote: Jean-Noel : I just tried replacing my digester 1.0 by

Values in to attribute values for XML JSP Docs?

2002-01-03 Thread Luke Studley
Hi all. I am using the XML form of JSP (1.2) and wish to write the equivalent of the following. jsp:scriptlet int myvar = 1; /jsp:scriptlet input type=hidden value=%= myvar %/ However this doesn't work as the %= myvar % is only evaluated as an expression when being passed to custom tags. So

Field.getKey() not found

2002-01-03 Thread Domen, Ken
I'm writing my own Validator class and in it, I have the following line: errors.add(field.getKey(), ValidatorUtil.getActionError(application, request, va, field)); but my compiler complains that there is no such method: Field.getKey() 1. has this been deprecated? If so, what property do I

RE: Parser error while testing struts-layout

2002-01-03 Thread DUPRAT Alexandre
I put xerces.jar in WEB-INF/lib but it doesn't change anything. Error appends when i start tomcat, not while running the webapp. Tomcat server can't start with struts-layout. It was starting with struts-example and our struts application... The first error was a ClassNotFoundException for

RE: Struts IDE

2002-01-03 Thread Thompson, Darryl
Please explain how to configure the window's explorer file extension. Thanks -Original Message- From: Chen, Yong [SMTP:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 4:16 PM To: 'Struts Users Mailing List' Subject: RE: Struts IDE By combining the opentool external

WAS 3.5.3 and Struts problem (Jasper)

2002-01-03 Thread Alexei Chirokikh
Hi, I am trying to run Struts application on WAS3.5.3 and facing following problem. stdout.txt does not show any errors during the startup; all action mapping are OK. However, when I am trying to load JSP page with form on it, it gives this error. Did anybody face with this problem before?

RE: Struts IDE

2002-01-03 Thread Chen, Yong
make the .jsp page extention default action is Open by dreamweaver Yong Chen -Original Message- From: Thompson, Darryl [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 11:09 AM To: Struts Users Mailing List Subject: RE: Struts IDE Please explain how to configure the

javascript functions for required()

2002-01-03 Thread Domen, Ken
I'm wondering where the source for the client-side validation is for required(), integer(). thanks. ken -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

AW: Resin 2.0.0 Struts 1.0 JDK1.4.0-beta3 BUG?

2002-01-03 Thread Lenharcik Juraj
hi, the stange think is, that I have two applications in my container, both on struts. But only in the second one is the failure. When I start the server with java 1.3 both work fine. When I start the server with only the first application (on java 1.4), it works fine, too. ??!?!?!?? Had

RE: Struts IDE

2002-01-03 Thread Dan Cancro
Open Explorer Click View-Options-File Types-New Type Enter a Description and jsp for the file extension Click New... under Actions Enter open for descripton for the Action and enter the path to Ultradev in the Application used to perform action box Click Ok Select open and click Set Default I'm

Java/STRUTS Consulting assignment immediately availble in Boston

2002-01-03 Thread savedian
Please review the requirment below if anyone knows of a person who might be interested in this position please forward this e-mail to them. The position is going to last at least 6 months and probably for the balance of the year. It will pay between $55 per hour give or take a little. Sorry

RE: Resin 2.0.0 Struts 1.0 JDK1.4.0-beta3 BUG?

2002-01-03 Thread Chappell, Simon P
I get a similar thing under Tomcat (4.0.1 4.0.2-b1). If I have multiple applications in my webapps dir, then they break, but each works when in there on it's own. I am using RedHat Linux and Java 1.4.0-beta3 and W2KPro w/ Cygwin ... same problem in both places. Simon

Cannot find ActionMappings or ActionFormBeans collection PROBLEM.

2002-01-03 Thread @Basebeans.com
Subject: Cannot find ActionMappings or ActionFormBeans collection PROBLEM. From: nutshell [EMAIL PROTECTED] === I have installed Struts Framework Tomcat 4.0 on RedHat 7.0 i386 and have deployed my web appplication. Does anyone know what might be the reason why this error appear? After I try to

[Fwd: [ANN] Struts + Velocity + Tools +...]

2002-01-03 Thread Ted Husted
Original Message Subject: [ANN] Struts + Velocity + Tools +... Date: Thu, 03 Jan 2002 15:48:29 -0500 From: Geir Magnusson Jr. [EMAIL PROTECTED] Reply-To: Velocity Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED],Velocity Developer's List [EMAIL PROTECTED] Real Soon Now is

RE: Cannot find ActionMappings or ActionFormBeans collection PROBLEM.

2002-01-03 Thread Low, Liang
It might be that tomcat is unable to find struts-config.xml. Mine is in the WEB-INF directory. -Original Message- From: Struts Newsgroup [SMTP:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 2:40 PM To: [EMAIL PROTECTED] Subject: Cannot find ActionMappings or

NoClassDefFound Error in weblogic

2002-01-03 Thread Jeremy Mann
Has anyone experience a NoClassDefFoundError when running struts in weblogic? If I place struts.jar in the weblogic classpath, then my application works fine. If I place struts.jar in the webapp/lib directory then I get a NoClassDefFoundError when the jsp tries to load an ActionForm for a

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Michelle Popovits
Jeremy, Are you using weblogic 5.1? I am using weblogic 5.1 and have successfully used struts with sp 9, 10, and 11. I haven't tried 8, though. You may want to try a high sp just in case it's related to that. Anyone else out there use sp 8 ok with struts? In my experience, if it's a wierd

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Andre Beskrowni
i'm seeing a similar problem with wls6. i wrote the world's simplest action class, and the mapping works fine, but when Class.forName is called in ActionServlet.processActionCreate() i get a ClassNotFoundException. i can't figure out why the ClassLoader can't seem to find my class. as in

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Narendranatha R Sajjala
check for jar files in $WLS_DIR\myserver\web-inf\_tmp_war_yourApp . if u find jar files in that folder it means jar files are loades and in WEBLOGIC_CLASSPATH, still u have problems use atleast SP10 (SP11) is also available Narendranatha R Sajjala, 1800flowers.com Ph:516-237-4881

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Jeremy Mann
As I understand it, this directory will only be created if the webapps is a war file. If the webapp is unpacked this directory will not exist. Jeremy -Original Message- From: Narendranatha R Sajjala [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 4:31 PM To: 'Struts Users

The encoding Cp1252 is not supported.

2002-01-03 Thread Anna Chen
Any one has idea about this error? FATAL: configuration error org.xml.sax.SAXParseException: The encoding Cp1252 is not supported. at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196) at

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Lawrence, Jane K
We had something similar here. WL 6.0 doesn't support external jars - this is apparently available in 6.1 (we haven't migrated yet). Try putting the jars in the WL classpath as well as in the /lib directory. - JKL -Original Message- From: Andre Beskrowni [mailto:[EMAIL PROTECTED]]

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Jeremy Mann
Yeah - putting them in the weblogic classpath will definately work. However, I need to distribute this app, so it is not an option. Jeremy -Original Message- From: Lawrence, Jane K [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 4:49 PM To: 'Struts Users Mailing List'

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Michelle Popovits
I remember reading somewhere (I don't remember where) something about not putting the struts.jar in the classpath that that is a bad thing and results in these class not found problems. I think the suggestion was that the struts.jar should always be included in the webapp lib directory for each

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Robert Chadwick at SF x4716
There's a comment to that effect on the Struts Kickstart FAQ: http://jakarta.apache.org/struts/userGuide/kickstart.html#jar regards, Rob. -Original Message- From: Michelle Popovits [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 1:47 PM To: 'Struts Users Mailing List'

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Vincent Massol
Jeremy, This problem can happen if you have left some other jar in the system classpath (the weblogic classpath) that calls struts. The classloader order is that the webapp classloader depends on the system classloader. Thus if a class is not found in the webapp classloader, the system

Debuging templates.

2002-01-03 Thread Mark Gordon
Does anyone have any advice on debugging jsp pages when using struts-templates? Here is a sample stack trace. It points to the InsertTag.doEndTag. And JSP page maintenance.jsp line 54, but maintenance.jsp has only 35 lines! Any advice on better exception throwing... or how I can find better

RE: Debuging templates.

2002-01-03 Thread Vaughan Jackson
Mark, You might try going directly to the template-included page instead, to see what is happening on that page Change the URL in the browser to something like app url/accountaccess/te/maintenance.jsp. It might be that whatever the real problem is will still turn up outside of the context

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Lawrence, Jane K
Unfortunately, my memory on this problem isn't too good - it happened sometime last summer. As Michelle and Vincent say, I remember there being a problem if there were multiple struts jars floating around, and we had to make sure all were deleted. But we didn't find any solution other than

Re: Debuging templates.

2002-01-03 Thread Mark Gordon
Hey, Thanks That helped... found my bug. I am still up for anymore good advice on debugging templates! -Mark Vaughan Jackson wrote: Mark, You might try going directly to the template-included page instead, to see what is happening on that page Change the URL in the browser to

RE: Using Struts with XSLT

2002-01-03 Thread Luke Studley
Hi Jan I'm relatively new to struts - but have come from a background of using XSLT with Servlet2.3 filters. Have to say this worked great, although as people have pointed out there is a performance hit. But I found with optimization I could reduce this to a nearly negligible amount (I also

RE: Forwarding Data For A Form

2002-01-03 Thread Jack
James, Isn't the Action's perform() called as a result of the Form's action being invoked and after the form's validate() method succeeds? What I'm wanting is the form input fields to be prepopulated with data sent by another Action so when the JSP form is displayed the fields are all filled

Nesting tags in JSP

2002-01-03 Thread Jack
What would be the syntax needed to cause the output of a bean:write tag to be written into the value property of an html:text tag? I tried the following, but it never made it past the compiler: html:text property=userId size=20 value=bean:write name=login property=userId/ / TIA. Jack -- To

Re: Using Struts with XSLT

2002-01-03 Thread Shengmeng Liu
Hi, It's been quite a long way before I finally arrived at the same conclusion you guys have reached. That is use XSLT only for what it is designed for and what it is best at. According to my experience, XSLT is great for doing XML to XML transformation. But for complex XML to HTML

RE: Forwarding Data For A Form

2002-01-03 Thread Jake Thompson
I think this sounds like what I am doing. I have a form that performs an action, the goes to another form, either the same or different but a new form needs to be set. Pseudo code: Form formObject = new Form(); formObject.setId(1); formObject.setName(NEW); Request.setAttribute(formName,

Re: Using Struts with XSLT

2002-01-03 Thread Sushant Patney
Hi, I can tell u the problems i faced using Xalan XSLT. It forcefully puts all attributes defined in XSL as tag attribute= even if they dont have a entry in the XML file. This feature created problem as HTML is not well formed and also in WML which wants perfect structured'ness. Thanks -