Re: logic:notEmpty tag not found

2001-07-20 Thread Martin Cooper
The logic:empty and logic:notEmpty tags were introduced for Struts 1.1, so they are not available if you are using Struts 1.0. The Struts web site generally documents what is available in the latest nightly build. The documentation for any given build is available in the struts-documentation.war

RE: XML question

2001-07-20 Thread Aysen Bankeroglu
Hi Domingo: I am not very sure if it is the same problem but i had a similar problem. firstof all you do need the xerces.jar in the lib dir of your application. also jboss-tomcat (v3.2) comes with a xerces.jar(v1_0_3) in dir $tomcat_home/jakarta-tomcat-3.2-b8/lib, you have to overwrite this

NewB: Is Struts completely reliant on sessions

2001-07-20 Thread Felix Ulrich
Hi We have to build deploy some web applications with JSP/Servlets on an LVS cluster. At the moment, though, I don't think we can guarantee session affinity (i.e. subsequent requests will end up on different machines), and it seems that Struts uses sessions quite heavily. Am I right in

RE: NewB: Is Struts completely reliant on sessions

2001-07-20 Thread Renzo Toma
Hi As long as you carry over all properties to the next request using form elements (text, hidden, ...), you will only miss the LOCALE session variable. But you set that by subclassing ActionServlet. Actually when you stay away from wizard-like/multipage forms, you'll be fine. Renzo

HTTP requests in struts-config.xml

2001-07-20 Thread Guus Holshuijsen
I would like to use the following request in a forward of an action in my web application's struts-config.xml file:"/doorman.do?action=lfadm.listci=0" But when I put in: forward name="lfadm"path="/doorman.do?action=lfadm.list%26ci=0" redirect="true"/ I get XML parser errors when Tomcat

RE: How do you load information into a bean that your form uses before displaying it?

2001-07-20 Thread Renzo Toma
The pattern I use works as followed: - create a Action which reads data from a database - stuff all data in a bean and request.setAttribute(BeanName, bean); - forward to your view jsp and reference your data as bean:write name=BeanName property=field/ NOTE: directly requesting the .jsp will

Re: How do you load information into a bean that your form uses before displaying it?

2001-07-20 Thread suhas
no need to put the form Bean using the request.setAttribute(beanname, bean) . It is done by struts framework . rest is fine . Use html:form tag in Jsp . Suhas - Original Message - From: Renzo Toma [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 11:46 AM Subject: RE:

RE: HTTP requests in struts-config.xml

2001-07-20 Thread Renzo Toma
This falls in the category "I want to passparameters along a redirecting forward, but I don't know how." I have the same problem when: -a user adds a new contact to a group in an hypothetical addressbook. - on successa list of all contacts in that group is shown. - to avoid

RE: How do you load information into a bean that your form uses before displaying it?

2001-07-20 Thread Renzo Toma
Not when you dont have a Form for your Action, which in my case ;) Maybe I do not understand the question; you are referring to a normale Form-Action-JSP model. Maybe Brett is too!? -Original Message- From: suhas [mailto:[EMAIL PROTECTED]] Sent: vrijdag 20 juli 2001 17:36 To: [EMAIL

RE: Tree

2001-07-20 Thread O'Reilly John
We are using Cocoon for our presentation (using XML/XSP/XSL). What we have done is to store menus in static XML files. In response to a request an action (making use of a menu manager) can load a specific menu. If the action originated from selecting a menu option then that option is modifed

PLEASE UNSUBSCRIBE

2001-07-20 Thread Billy Talton
I tried via list server email address last week but apparently it does not work! -Original Message- From: Renzo Toma [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 6:13 AM To: [EMAIL PROTECTED]; suhas Subject: RE: How do you load information into a bean that your form uses

How to get the entire URL of referring page

2001-07-20 Thread Web Programmer
Hi All! I am trying to capture of the entire URL of where the user has come from - i.e., the URL of the previous page. I am getting null value when I invoke the getReferrer() method. Thanks. __ Do You Yahoo!? Get personalized email addresses

RE: HTTP requests in struts-config.xml

2001-07-20 Thread Noel Sebastien
What is that strange escape character %26 as a parameter separator ??!! Did you try the correct one which is or perhaps better with the equivalent HTML entity amp; ? I didn't try myself but I won't understand if the following does not work : forward name=lfadm

Bug in Struts when using base class for forms?

2001-07-20 Thread Holger Wiechert
Hi, I'm in some kind of a hurry, so I didn't check the bug list or the archive. In case, that this is a known issue, just forget about it. So here's the apparent bug: I'm using a base form class with some static fields and the getters and setters: MyBaseForm extends ActionForm implements

Re: How to get the entire URL of referring page

2001-07-20 Thread Peter Alfors
You could use: request.getHeader(Referer) Which class has the getReferrer() method? HTH, Pete Web Programmer wrote: Hi All! I am trying to capture of the entire URL of where the user has come from - i.e., the URL of the previous page. I am getting null value when I invoke the

Re: Server Side Validation not firing for Validator when Java Script is off

2001-07-20 Thread Scott Ryan
David, Thanks for the great framework for validation. I have found it extremely useful and am glad to hear it is becoming part of struts in the future. I am working on some deployment and maintenance issues and wondered if you had any suggestions based on your input below. There are two

RE: NewB: Is Struts completely reliant on sessions

2001-07-20 Thread Brian . Duchouquette
Renzo, Felix, If your front-end web server/load balancer (also known as Local Director or Resonate, etc) is implemented to use IP stickiness, then this is a non-issue since the Web user will be returned to the server which serviced the original request. Brian

Any Pointers regarding Action Classes

2001-07-20 Thread Chuck Amadi
Hi , i require to create another Action Class contoller as the ApplicationMappings ActionForward.java won't compile so i would like to create an Action.java and run ant to compile. Thus is there a n example of this class and is it a abstract class with no methods(uniplemented methods-empty

Form Tags documentation

2001-07-20 Thread Akram Jerbi
Does anybody know where to find documentation for Form Tags - which contain tags used to create struts input forms? The link in the jakarta.apache website does not work! http://jakarta.apache.org/struts/struts-form.html Thank you __ Get

RE: Tree

2001-07-20 Thread Steven Leija
Do you have some code to show how you are doing this? Steven -Original Message- From: O'Reilly John [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 6:54 AM To: '[EMAIL PROTECTED]' Subject: RE: Tree We are using Cocoon for our presentation (using XML/XSP/XSL). What we have

Re: Form Tags documentation

2001-07-20 Thread Ted Husted
The form tags were deprecated after the 0.5 milestone, and superceded by the html tags. For more about hte html tags, see http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-summary.html#package_description and http://jakarta.apache.org/struts/struts-html.html These

Re: Form Tags documentation

2001-07-20 Thread Akram Jerbi
Thank you for the reply. I got the original link from this website: http://developer.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/struts-trailmap/Trail5.htm It is a tutorial by HP bluestone. It must be pretty old! The form tags were deprecated after the 0.5 milestone, and superceded

RE: Tree

2001-07-20 Thread O'Reilly John
mainmenu.xml menu.xsl PortalAction.java -Original Message- From: Steven Leija [SMTP:[EMAIL PROTECTED]] Sent: 20 July 2001 15:50 To: '[EMAIL PROTECTED]' Subject: RE: Tree Do you have some code to show how you are doing this? Steven -Original Message-

FW: Tree

2001-07-20 Thread O'Reilly John
sorry, didn't mean to send the email below without comment Well, mainmenu.xml is a static xml file representing a menu, menu.xsl is the stylesheet that renders it (note the XSL currently only handles one level of nesting mainly due to my lack of knowledge of XSL!). The PortalAction.java

Problem with bean:message tag?

2001-07-20 Thread Guus Holshuijsen
I am using Struts 1.0 on Tomcat 3.2.1. When I try to use bean:message name="%= Constants.STATS_KEY %" property="ci" scope="request"/ I get the message "According to TLD attribute key is mandatory for tag message" The message is incorrect, at least if I am to believe the documentation of

Help Pls regarding Action Classes - Path

2001-07-20 Thread Chuck Amadi
Hi, is it feasiable to drop my .java file into classes dir instead of the path bbnpa/WEB-INF/classes/org/apache/struts/action bbnpa/WEB-INF/classes/org/apache/struts/custom bbnpa/WEB-INF/classes/org/apache/struts/logon Use bbnpa/WEB-INF/classes/action and so on. As i have tried to create a

Re: Any Pointers regarding Action Classes

2001-07-20 Thread Calvin Yu
If you don't figure out why ApplicationMappings.java and ActionForward.java isn't compiling, it isn't going to help you to compile an Action class. I imagine the problem that is causing the compilation of those two classes is going cause the compilation failures of many of your other classes.

Struts with Oracle 9i Application Server and Jdeveloper....

2001-07-20 Thread Jean-Francois Brassard
Hi, I want to know if Struts works well with Oracle 9i Application Server and Jdeveloper!!! Thanks you in advance

html:options value and label

2001-07-20 Thread Matt Raible
TGIF to all, I have the following code that generates a select: strutshtml:select property=workScheduleDetailDO.dayOfWeek strutshtml:options name=weekView property=dayNames/ /strutshtml:select HTML output: select name=workScheduleDetailDO.dayOfWeek option value=SundaySunday/option

RE: Problem with bean:message tag?

2001-07-20 Thread Mark Schenk
When I try to use bean:message name=%= Constants.STATS_KEY % property=ci scope=request/ I get the message According to TLD attribute key is mandatory for tag message The message is incorrect, at least if I am to believe the documentation of the BEAN TLD! Does anyone has any experience

RE: html:options value and label

2001-07-20 Thread Jason Te Whau
Hi, TGIF from me too :) I guess you could try using an iterate tag because it seems that the values you want are just a sequence, which you can expose using the indexId attribute. Otherwise you will need to specify both the property and labelProperty attributes of the options tag, which lets

not finding property on a form bean

2001-07-20 Thread Paul Holser
new to struts, bear with me...8^) i'm having difficulty making a particular form bean's properties available to a JSP. scenario: ...requesting genTklsDailyForm.do ...the TicketlessDailyReportFormAction puts a com.blah.TicketlessDailyReportForm bean into request scope ...then forwards to

Re: Looking for Statistics

2001-07-20 Thread Christine Eckstein
Wow, this mailing list is s active, I almost overlooked your reply and sent it off into the digital wasteland. I'm sorry! Thank you for your help. I'll check it out and once I have some numbers, I'll be glad to share. :) -cme- --- Ted Husted [EMAIL PROTECTED] wrote: I don't have a

Re: Bug in Struts when using base class for forms?

2001-07-20 Thread Levi Cook
FYI, this is a known, non-struts, issue- Bascically, properties, getters and setters can't be static per the bean spec... Therfore, struts cannot use normal bean introspection to populate your form. Definitely search the archive for more info if you need it, its there. Regards, Levi -

Oracle 9i and Struts

2001-07-20 Thread ARGEXT-LOPEZ, MARTIN
I don't now if someone ask this. I'm new in the list, sorry. Oracle 9i run whit Struts?

Re: not finding property on a form bean

2001-07-20 Thread troy hart
You seem to have action element a little messed up... try the following (notice the change to path and the addition of name): action-mappings action path=/tklsDaily name=genTklsDailyForm type=com.blah.TicketlessDailyReportFormAction unknown=false forward

Re: not finding property on a form bean

2001-07-20 Thread troy hart
actually, my reply was a little hasty...on a closer look I'm little confused at what you want...but here's my best guess. If you really want to invoke the action associated with genTklsDailyForm.do then the action of your form must not be action=tklsDaily.do, but rather

Trouble using Struts...

2001-07-20 Thread Palmer, Nick
I have been trying to setup a multi-page form using Struts and Tomcat. I am having some trouble though, and am in need of help. I have set up a form bean that has all of the fields required across all pages of the form. I have setup a single action that handles the input of the form at each

Struts Bug? My Bug? Help!! Please!

2001-07-20 Thread Becky Moyer
I've got a multibox/iterate combination form. My webapp works when there is something to submit. When I check at least one value checked in my multiboxes, I get the expected result. When there is nothing checked in my multiboxes, my form object is the same as it was before I changed the

Handling multiple forms...in a JSP

2001-07-20 Thread Michael Skariah
Hello all, I am not sure whether if this is a HTML question of a Struts question. Anyways, I am trying my luck here. I have a JSP with multiple forms. When the submit of form 1 is clicked, I would like to read the value from the source of form 2 and set it in the action property of form 1. How

Where did it go?!

2001-07-20 Thread dhay
Hi everyone. I have something strange happening. I have a 2 frame frameset, with buttons in the top fram to let a user view a logfile in the lower frame, or download it. If the chose to download the file, I get the ServletOutputStream from the response in my action, and write to it. I then

RE: Struts Bug? My Bug? Help!! Please!

2001-07-20 Thread Becky Moyer
Here is a simplified overview of what you need to do. If you still would like code, I can still supply you with it, but I think this will be easier to understand. ActionForm: 2 fields with associated getter and setters: String[] CheckboxNames String[] CheckboxValues You must populate this

Re: not finding property on a form bean

2001-07-20 Thread Paul Holser
thanks for your reply. actually, my actions were configured ok. when i browse the URL: http://localhost:8080/commissions/genTklsDailyForm.do it should invoke the action /genTklsDailyForm, which will place a form bean named tklsDailyForm into request scope, and forward to

RE: Struts Bug? My Bug? Help!! Please!

2001-07-20 Thread Abraham Kang
Hi Becky, Did you override the reset () method of ActionForm? If you didn't you need to set the Attribute of your ActionForm object that represents the multibox to null. Like: public void reset(ActionMapping mapping, HttpServletRequest request) { this.action = Create;

Action class question

2001-07-20 Thread Alberto Corona
Is an Action class responsbile for performing all possible actions submitted by a form? For example, if a Form includes two submit buttons: New and Edit Do I create one Action class that handles both actions? If so how do I check which submit button was pressed? Do I just check on the

ActionMappings class

2001-07-20 Thread Alberto Corona
Why would I want to extend the ActionMapping class? Thanks Alberto Corona ObjectWave Corp. 312.269.0111 [EMAIL PROTECTED]

RE: Handling multiple forms...in a JSP

2001-07-20 Thread Michael Skariah
Thanks to all. I got it working. -Mike. -Original Message- From: Michael Skariah [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 1:21 PM To: [EMAIL PROTECTED] Subject: Handling multiple forms...in a JSP Hello all, I am not sure whether if this is a HTML question of a Struts

RE: Struts Bug? My Bug? Help!! Please!

2001-07-20 Thread Becky Moyer
Thank you! I forgot about that. Thanks for jogging my memory. I know I've read about that in the mailing list somewhere before, but I couldn't find it. I appreciate your quick response. Becky Original Message Follows From: Abraham Kang [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED]

Getting large resultset pagewise

2001-07-20 Thread Rajarshi . Gangopadhyay
Hi, Need some help to get large result set from the database and show pagewise ( say 10 per page ). I would like to cache previous/next pages too (to some extent). I am using Struts 1.0 and Tomcat3.2.2. I think the iterate tag will be the only one (beside traditional JSP) to use for

Re: Action class question

2001-07-20 Thread troy hart
This would be entirely up to you... Depending upon the nature of the two actions one choice may be preferable to the other. If you wanted to have one action class you would need to check the request to see which button was pressed. There would be a number of ways to do this but the most straight

html:select

2001-07-20 Thread Rama Krishna
hi, in my select list i want an item to be selected default. for this i did as: bean:define id="server" name="abc" property="server" / bean:define id="myCollection" name="abc" property="records" / html:select name="abc" property="xyz" value="server" html:options

Strus 1.1

2001-07-20 Thread Gangadharappa, Kiran
hi, I am interested in the workflow feature coming with Struts 1.1 (It is already there in the todo list). Any idea when Struts 1.1 gonna be released? Regards Kiran

Re: Strus 1.1

2001-07-20 Thread Ted Husted
There will be a 1.01 maintenance release at the end of the month. My guess would be that a 1.1 release would not happen any time soon. A lot depends on how much help the development team gets over on the DEV list, including the workflow feature. The work on this particular feature is still in

RE: html:select

2001-07-20 Thread Prashanth_Thm
I presume you will be having these in your Form class ; getxyz() and setxyz() for the property xyz call setxyz(defaultvalue) when you set the values in the Form class. Hope this helps ! -Original Message- From: Rama Krishna [SMTP:[EMAIL PROTECTED]] Sent: Friday,

Re: html:select

2001-07-20 Thread Rama Krishna
yes, i do have setxyz, getxyz. - Original Message - From: Prashanth_Thm [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 3:46 PM Subject: RE: html:select I presume you will be having these in your Form class ; getxyz() and setxyz() for the property xyz call

Struts with IIS and WebLogic

2001-07-20 Thread Jason Te Whau
Hi We recently put the plug-in in for IIS and WebLogic and are encountering the problem where IIS is giving page not found errors because of the sessionid that the struts tags put on the URL for the first request to our application. We know its the sessionid causing the problem because all

RE: Struts with IIS and WebLogic

2001-07-20 Thread Abraham Kang
Hi Jason, How do you have proxying set up on IIS is it my path or extension? What does the URL look like the first time through? By the way, I could never get failover to work with the IIS proxy plug-in. --Abraham -Original Message- From: Jason Te Whau [mailto:[EMAIL

Re: Getting large resultset pagewise

2001-07-20 Thread Matt Raible
Check out Pager Tag Library. It should work fine on Tomcat 3.2.2 http://jsptags.com/tags/navigation/pager/ --- [EMAIL PROTECTED] wrote: Hi, Need some help to get large result set from the database and show pagewise ( say 10 per page ). I would like to cache previous/next pages too

web application initialization

2001-07-20 Thread Fabien Le Floc'h
Hi, I would like to know if it is possible to have some code called at the web application initialization (something like the init() method of the first servlet called by the web app - which here is ActionServlet). Should I just extend ActionServlet? regards, Fabien

an often seen one

2001-07-20 Thread matt . m . cooper
I looked at the archives and saw several mentions of do not put struts.jar in anything but the webapp\WEB-INF\lib area. I did not put it in tomcats lib directory and dont believe its in my classpath. Tomcat starts on up but I get errors when its setting up the struts example program.

RE: Struts with IIS and WebLogic

2001-07-20 Thread Jason Te Whau
Doh! Thanks for the suggestion Abraham, I hadn't actually tried proxying by path yet but that seems to have done the trick. Thanks for your help and have a great weekend! -Original Message- From: Abraham Kang [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 4:34 PM To: [EMAIL

RE: web application initialization

2001-07-20 Thread Abraham Kang
Hi Fabien, I typically do this in a StartupServlet in my web.xml. Here is an example of how I initialize Log4j: web-app context-param param-nameweblogic.jsp.keepgenerated/param-name param-valuetrue/param-value /context-param servlet servlet-namelog4j/servlet-name

Web app init

2001-07-20 Thread Fabien Le Floc'h
Hi, I would like to know if it is possible to have some code called at the web application initialization (something like the init() method of the first servlet called by the web app - which here is ActionServlet). Should I just extend ActionServlet? regards, Fabien

Re: Web app init

2001-07-20 Thread Gregor Rayman
Fabien Le Floc'h [EMAIL PROTECTED] wrote: Hi, I would like to know if it is possible to have some code called at the web application initialization (something like the init() method of the first servlet called by the web app - which here is ActionServlet). Should I just extend

accessing user-defined classes from html:select and html:options tags

2001-07-20 Thread Philip Tucker
I'm using Struts 1.0 with Tomcat 3.2.2 and JBoss 2.2.2. I'm using an hrml:select containing an html:options tag in a JSP, with the property attributes referring to form and bean fields. It works fine when the Java class of the 2 bean properties is String, but when I try to use class I created I

never mind RE: an often seen one

2001-07-20 Thread matt . m . cooper
Decided to live on the bleeding edge, installed jdk1.4, installed tomcat4. Copied struts *.war files into tomcat4 webapp dir and off it goes. So far things look pretty cool I'll have to look into this more this weekend. thank you jakarta team. did I miss a step?