HREF link question

2001-06-14 Thread Rick Horowitz
Hi, I'm trying to use href links with Struts templates, and can't figure out how to make my href links work properly. [Templates seem to work just fine, otherwise.]... my compliments. 1. I want to use Struts html:link tags so that to automatically do URL session encoding. 2. I want to use

Internationalization (I18N) query

2001-06-14 Thread Sandeep . Yawale
Hi All, This is a typical requirement about the internationalization. I want to create an application to be displayed in English and Japanese. Also, the user has given facility to customise some of the display field names for him. Now, question arises, do we need to provide the

Re: Please confirm css ok from client-side jscript validation

2001-06-14 Thread Chuck Amadi
Cheers 4 that advice , i did try the javascript declartion and inclued the javascript code directly , thus the jsp worked but no javascript event.Thus i 'll try the src (source). I have a created a javascript file at the same level as the CascadeStyle Sheet - ( /struts-bbnpa / css/ graphics )

Re: help with package struts-classpath

2001-06-14 Thread Chuck Amadi
Cheers as i was about 2. Hi, does anyone no why i now reciveve the following invalid package declarations My Package classpath is struts-bbnpa/WEB-INF/classes/org/breconbeacons/it/ActionForward.java // (and the retst of the classes. struts-bbnpa the name of my webapp. I have declared package

RE: Type conversions - issues on where to do them

2001-06-14 Thread Jonas Bjornerstedt
1) If I do it in the ActionForm and there is a problem in the Action, then I have to reconvert back to a String on the way back.; That's why I advocate that properties in an ActionForm should be Strings instead of dates/ints/whatever. Why not let the ActionForm do all simple

Re: GenericDataSource

2001-06-14 Thread Chuck Amadi
Cheers Mark , as i was sure i came across it somewhere as i am on the connection pooling since i made the generic Datasource URL work within postgresql and jsp, except i didn't like the result so have any advice regarding forms /nested forms as sql statement retrieved the data from my db but i

RE: Form tag problem in VAJ 3.5.3 WTE with 1.0b2

2001-06-14 Thread Jon.Ridgway
Hi Antonio, You appear to have the same setup as me, so we should be able to get things working. Questions: -Have you added the struts code to VAJ workspace? -Have you added the struts project in your workspace to the WTE classpath? -Have you made sure that a struts.jar IS NOT on your

RE: can't remove attributes from servlet

2001-06-14 Thread Jon.Ridgway
Hi All WTE User, I have just realised that I have been pointing to the wrong class. See below. I should have suggested editing org.apache.struts.taglib.html.FormTag.doEndTag Apologies, Jon. -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: 13 June 2001 15:36

Re: Please confirm css ok from client-side jscript validation

2001-06-14 Thread Chuck Amadi
Cheers Peter and the other similiar examples must of been a bad day as all is well with my javascript running on jsp . Some how the directly included js code wouldn't work , thus i made sure that it was embeded within the head elements and valar yippy do it works fine . Until the next prob

Storing Edited elements from an html form in a collection

2001-06-14 Thread Mark Kettner
Hi All, Unfortunately nobody has answered to my mail on 06/13/2001 (How to access getIndex method of iterate tag in a jsp page). Indirectly Martin Cooper replied (Re: Iterate tag update), but this can only be accomplished by a new struts version which he will publish this afternoon. What I

Server-side form validation - anything in STRUTS?

2001-06-14 Thread Dave Small
Hi all. Does STRUTS contain a framework for server-side form validation? It's obviously a very common requirement - to check that values entered into an HTML form conform to certain criteria. As I see it, these criteria fall into: 1. per-field validation - checking that a text box is not-empty,

Re: Server-side form validation - anything in STRUTS?

2001-06-14 Thread Kyle Brown
Uhhh.yes. Have you read any of the Struts documentation? It talks at length about this. Also, you could go to my article on the VisualAge developer's domain about why you want to use Struts (http://www7.software.ibm.com/vad.nsf/data/document2557?OpenDocumentp=1BCT=1Footer=1), where I list

Re: ActionForms for read-only data??

2001-06-14 Thread hi there
Craig, The ActionForm class definition seems to imply that it was intended to contain only editable data (i.e., the reset and validate methods). Distinguishing between read and write functionality in the enterprise systems I have developed was always a major advantage, both in extensibility

Problems with session scope forms disappearing

2001-06-14 Thread Karen
Hi Everyone, I've been using Struts for a while now, and have come across a problemwhereby trying to pass a form (with all struts-config entries being scope="session") between multiple different actions (same form) will lose all previously entered data - I'mtrying to map each page in a

Re: Iterate tag update?

2001-06-14 Thread frank waldheim
* Martin Cooper [EMAIL PROTECTED] 2001-06-13 (21:42:47): I just checked in a change to the iterate tag which allows you to access the current index as a scripting variable. If you specify the 'indexId' attribute, a scripting variable with the specified name will contain the current index

RE: Server-side form validation - anything in STRUTS?

2001-06-14 Thread Dave Small
-Original Message- From: Kyle Brown [mailto:[EMAIL PROTECTED]] Sent: 14 June 2001 12:24 Hi Kyle, Thanks for this response. Have you read any of the Struts documentation? If you mean the User Guide on the STRUTS site, yes I have. But it doesn't include much of a 'discussion' on

Dreamweaver and Struts 1.0 - updated translator now available..

2001-06-14 Thread Karen
Hi Everyone, Recently I downloaded from husted.com an old Dreamweavertranslator for Struts 0.5 to use in coding my Struts 1.0 JSPs, however I've had a lot of problems with it... I've since converted this to support most 1.0 HTML tags, and have been using it fairly successfully in

Re: help with package struts-classpath

2001-06-14 Thread Jonathan Asbell
Chuck, send me your directory structure and name of your server and I will tell you what your classpath should be. - Original Message - From: Chuck Amadi To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 5:03 AM Subject: Re: help with package struts-classpath

Re: Problems with session scope forms disappearing

2001-06-14 Thread Jean-Noel Ribette
I think you got this behaviour because Struts is calling the reset() method before of the form populating it, so the form is reinitialize betwen each actions. You can solve this problem by having a blank reset() method and a realReset() method that you can from your action class when needed.

[Not registered, use system identifier] - the cause of my prob?

2001-06-14 Thread dsf65b y b3763476b3
Hi there fellow struts users! Making struts work with VAJ 3.5.3 WTE is causing me no end of grief. I managed to get struts working with WAS 3.5.3 thanks to indispensible help from you guys. I then copied everything from my WAS struts installation except: I imported the struts 1.0b1 source into

RE: [Not registered, use system identifier] - the cause of my prob?

2001-06-14 Thread Van-Landeghem Tom
Next to the java sources you also have to import the resources in VAJ. You can do this by importing them from the struts.JAR but only select the resources. Maybe this will solve your problem. Tom -Original Message- From: dsf65b y b3763476b3 [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Visual editing of Struts tags

2001-06-14 Thread Jonas Björnerstedt
One of the main ideas of the MVC approach of Struts is making it easier for non-programmers to do the view editing. Although the idea is great, the problem for me as a developer is the lack of tools for editing JSP with custom tags. I have some questions about this: 1) I know that Dreamweaver

RE: Declarative security constraints

2001-06-14 Thread Geddes, Mark (ANTS)
Craig wrote: Have you tried a URL pattern like this? url-pattern/action1.do/url-pattern The syntax of URL patterns used in security constraints is exactly like that used in servlet mappings, and this would be an exact match pattern for path /action1 (assuming you are using the usual *.do

Re: Server-side form validation - anything in STRUTS?

2001-06-14 Thread Ted Husted
More support for implementing validations is on the list for the 1.1 timeframe. The leading contender here is David Winterfeldt's extension. Highly recommended. http://home.earthlink.net/~dwinterfeldt/ The most popular pattern is to perform domain validations in the ActionForm to ensure

RE: RE: [Not registered, use system identifier] - the cause of my pro

2001-06-14 Thread dsf65b y b3763476b3
If by resources you mean these files: struts-config_1_0_1.dtd web-app_1_2.dtd web-app_2_3.dtd I'm afraid I already did that, to no avail. In fact my struts-config.xml and webapp.xml start like this respectively: !DOCTYPE struts-config SYSTEM

RE: RE: [Not registered, use system identifier] - the cause of my pro

2001-06-14 Thread Van-Landeghem Tom
I just managed to install the EmployeeList application from IBM which is described in the article you also mention. If I look at their struts-config.xml the DOCTYPE part is put in comments. Check out their struts-config.xml and try that, you can download it on the article's page. Tom

Re: Please confirm css ok from client-side jscript validation

2001-06-14 Thread Peter Alfors
The source (src) attribute should work. This can be very helpful if you have common methods that you want to share across multiple pages. SCRIPT language=JavaScript src=/struts-bbnpa/javascript/myJavascriptFile.js/SCRIPT notice the leading '/' and also, do you have the ending /SCRIPT tag,

Re: struts-config.xml - How do I open a success path as a new window???

2001-06-14 Thread Peter Alfors
Your javascript code looks correct. :) However, if at all possible, I would avoid using javascript. Basically, because the user may have javascript turned off in their browser. Pete Abraham Kang wrote: Hi Linnea, I think it would be easier to usea class=leftnav

Re: Please confirm css ok from client-side jscript validation

2001-06-14 Thread Chuck Amadi
Hi, Peter the js code direct script> /script> procedure worked within the head element and the directive of script language="JavaScript". Thus at a later stage i'll try and config src just 4 knowledge purposes as i've got another dillema with java invalid packages declarations now!! hard life

RE: Server-side form validation - anything in STRUTS?

2001-06-14 Thread chris . chang
Hi Dave, Try this http://home.earthlink.net/~dwinterfeldt/ Struts Validator - Validation Framework for Struts Hope this can help 8) -Original Message- From: Dave Small [mailto:[EMAIL PROTECTED]] Sent: June 14, 2001 5:51 AM To: [EMAIL PROTECTED] Subject: RE: Server-side form validation

Re: struts-config.xml - How do I open a success path as a new window???

2001-06-14 Thread Linnea Ahlbeck
Hi Abraham and Pete! Thanks for your help! The problem is - I don´t use a link directly from my jsp page to reach this new window. I have two submit buttons on my jsp-page, Save and Insert Address . The form:action on the jsp-page is: html:form action=/saveComposeMessageAction.do?action=Save

Accessing session attributes

2001-06-14 Thread James Howe
This is probably a stupid question, but here it goes. I have a handful of string values that I'm storing in the session object. These values aren't associated with any bean (actually, in a sense the session object is the bean). I have a couple of places where I need to display these values

RE: Accessing session attributes

2001-06-14 Thread Charlesworth, Chico
u probably just need to specify 'filter' in the name attribute ... like bean:write name=filter it should try and find filter in the session, page, request, and application scopes ... in which order i can never remember ;) chico. -Original Message- From: James Howe [mailto:[EMAIL

Can another bean besides the FormBean be used inside a Form?

2001-06-14 Thread Shamdasani Nimmi-ANS004
Hi, I have a form which has a SELECT type field. The value selected from the Select options should set the corresponding field in the FormBean but the options available in this Select field are in another bean in the session scope. How do I specify such a Select field using html:select

RE: My app no longer loads message resources

2001-06-14 Thread Noel Sebastien
Hello, I would like to launch additional initializations at strut servlet start-up, such as instantiating myObject that must read its configuration in a file. Where can I put code in order to be sure that it will be executed at start-up (I mean once) ? Thank you in advance. - Sébastien Noel -

ClassCastException when processing a forward?

2001-06-14 Thread Mike Thompson
Here is the action mapping section of my struts-config action-mappings action path="/servicemanager" type="com.instanton.secureex.web.action.service.ListServicesAction" forward name="success" path="/service/listservices.jsp"/ /action action path="/servermanager"

Package problem ( think found the reason) !!

2001-06-14 Thread Chuck Amadi
Hi , Can anyone confirm that a custom packages commence / below WEB-INF level , i am aware that packages are like url's in that they both use hierarchical ,dot-separated naming convention. I think that the fact my .java haven't produced .class files thus i need to compile my .java pages . oops ,

Re: Accessing session attributes

2001-06-14 Thread Linnea Ahlbeck
Hi! You can access session attributes and their values by using the bean:write tag. For example - in the following tag myScheduleWeekDayStopTime is a session attribute. (Here the value is written on the form as plain text and not in a text field). Hope this can help! /Linnéa td

Re: Accessing session attributes

2001-06-14 Thread Ted Husted
The html tags are designed to display what's in a related ActionForm bean. So the trick would be to get your String into the ActionForm bean. The place to do this would be in an Action that then forwarded to your JSP. So the Action would go something like this: HttpSession session =

RE: Can another bean besides the FormBean be used inside a Form?

2001-06-14 Thread Shamdasani Nimmi-ANS004
Never Mind I found the solution -Original Message- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 10:24 AM To: struts-user@jakarta. apache. org (E-mail) Subject: Can another bean besides the FormBean be used inside a Form? Hi, I have a form

Re: ClassCastException when processing a forward?

2001-06-14 Thread Mike Thompson
Whoops, was an error in my .jsp. Sorry to bother... --m - Original Message - From: Mike Thompson To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 10:21 AM Subject: ClassCastException when processing a forward? Here is the action mapping section of

Re: help with package struts-classpath

2001-06-14 Thread Jonathan
FIRST you need put the jars that are in the ora directory inside the lib directory instead take the struts-documentation, the struts-example etc.etc. etc. out of WEB-INF. They dont belong there. In fact, the .war files are what you should be working with and they should be in

Re: struts-config.xml - How do I open a success path as a new window???

2001-06-14 Thread dhay
You could use javascript to set the target in the form tag to _blank if you want it in a new window. As Pete said, however, the drawback is that they may have Javascript turned off. Dave Linnea Ahlbeck [EMAIL PROTECTED] on 06/14/2001 10:30:04 AM Please respond to [EMAIL PROTECTED] To:

Re: Storing Edited elements from an html form in a collection

2001-06-14 Thread dhay
Mark, Not sure if I understand your question, but I think that Struts will handle it for you. For example, if you are iterating through a collection a displaying a text field in each row which is editable, Struts will automatically make any changes entered to the underlying collection.

Help with TLDParser for UltraDev by Dan Mandell

2001-06-14 Thread Becky Moyer
Hi all... I'm trying to get this to work...the Struts extension for Dreamweaver UltraDev found at http://www.shokker.com/ctlx/ctlx.zip . I've installed it, but I can't get it to recognize my tld files. I get the following null pointer exception in my tomcat log...any ideas? I've set up

Multiple Forwards

2001-06-14 Thread Hans Bure
Hi all, I am a relatively new struts user, so if the question I'm asking has been answered before, I appologize ahead of time. What I'm trying to do, is create a framework integrated with struts that, among other things, allows users to set up multiple forwards dependent on the broswer type.

Having problems passing more than one parameter with html:link tag

2001-06-14 Thread Shamdasani Nimmi-ANS004
Hi, I am trying to pass 2 parameters with html:link. Since it is not legal to use the same attribute name more than once in the same tag, I created another reference 'tempId' to my 'submitQuotesForm' bean using bean:define tag but I am only getting the last param 'supplier_seq' added to my

Re: Doubt in I18N

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Sunil P.S. wrote: Is there anything extra to be done for application to work in other languages. The docs says that it is same as JDK internationalization and we have to just modify the web.xml and pass the properties file as init paramter to the ActionServlet. Is

Re: HREF link question

2001-06-14 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Rick Horowitz wrote: Hi, I'm trying to use href links with Struts templates, and can't figure out how to make my href links work properly. [Templates seem to work just fine, otherwise.]... my compliments. 1. I want to use Struts html:link tags so that to

nested logic:present tags do not short-circuit

2001-06-14 Thread Steve Salkin
Title: nested logic:present tags do not short-circuit Hi- Am I correct to say that in the case of nested logic:present tags, the false evaluation of the first one will not short-circuit, or prevent the evaluation of, the second one? For example, in the case that a Form has a Bean A, which

Re: Struts on Weblogic ...

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001 [EMAIL PROTECTED] wrote: Hi, I am using weblogic 5.1 server struts 1.0 b3. I get the following error Error in tag library at: 'form': The Tag class 'org.apache.struts.taglib.html.ImageTag' has no setter method corresponding to TLD declared attribute 'path', (JSP

Re: ActionForms for read-only data??

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, hi there wrote: Craig, The ActionForm class definition seems to imply that it was intended to contain only editable data (i.e., the reset and validate methods). Distinguishing between read and write functionality in the enterprise systems I have developed was

RE: RE: [Not registered, use system identifier] - the cause of mypro

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, dsf65b y b3763476b3 wrote: If by resources you mean these files: struts-config_1_0_1.dtd web-app_1_2.dtd web-app_2_3.dtd I'm afraid I already did that, to no avail. In fact my struts-config.xml and webapp.xml start like this respectively:

RE: Iterate tag update?

2001-06-14 Thread Shamdasani Nimmi-ANS004
Martin, Could you please give an example of how it can be used? I just did the index naming the old fashioned way(i.e., adding index to the property string) and would like to replace it. Thanks. -Nimmi -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent:

Re: struts-config.xml - How do I open a success path as a new window???

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Peter Alfors wrote: What happens when you execute this? td align=lefta class=leftnav href=myAction.do target=_blankbean:message key=icon.calendar//td I would think that this should do what you want?? You can also use the target attribute on an html:form or

Re: Accessing session attributes

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, James Howe wrote: This is probably a stupid question, but here it goes. I have a handful of string values that I'm storing in the session object. These values aren't associated with any bean (actually, in a sense the session object is the bean). I have a couple

RE: My app no longer loads message resources

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Noel Sebastien wrote: Hello, I would like to launch additional initializations at strut servlet start-up, such as instantiating myObject that must read its configuration in a file. Where can I put code in order to be sure that it will be executed at start-up (I mean

Re: Having problems passing more than one parameter with html:link tag

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Shamdasani Nimmi-ANS004 wrote: Hi, I am trying to pass 2 parameters with html:link. Since it is not legal to use the same attribute name more than once in the same tag, I created another reference 'tempId' to my 'submitQuotesForm' bean using bean:define tag but I

Re: Multiple Forwards

2001-06-14 Thread Ted Husted
You could start by adding a method to a base class for your application that would append a tag according to the browser detected, and then use this scheme: forward name=ie_success path=/ie/test.jsp/ forward name=ns_success path=/ns/test.jsp/ forward name=wap_success

Re: Having problems passing more than one parameter with html:link tag

2001-06-14 Thread Ted Husted
I think you would need to use a map here. http://jakarta.apache.org/struts/struts-html.html#link Normally, the hyperlink you specify with one of the attributes described in the previous paragraph will be left unchanged (other than URL rewriting if necessary). However, there are two ways you

RE: struts-config.xml - How do I open a success path as a new window???

2001-06-14 Thread Abraham Kang
Thanks Pete, Abraham -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 6:57 AM To: [EMAIL PROTECTED] Subject: Re: struts-config.xml - How do I open a success path as a new window??? Your javascript code looks correct. :) However,

Tomcat 4.0

2001-06-14 Thread Marc-andre Thibodeau
Hi, I'm trying to upgrade from Tomcat 3.2.1 to Tomcat 4.0. I had no problem installing 3.2.1, but 4.0 just doesn't work for me. I'm on Linux and when I execute ./startup.sh, I have the first two echo lines appearing: Using CLASSPATH:

Opening a file

2001-06-14 Thread Jonathan
Hello All. If I want to read in a file from a class which is NOT A SERVLET, such as Action, how do I refer to it. Let me clarify this. If it was a servlet I could have got the context, and from there a relative path. BUT, from within a class there IS NO CONTEXT. For example, I am running

RE: Declarative security constraints

2001-06-14 Thread Gogineni, Pratima
I have a general question regarding security constraints - if you are using the form based authentication - is the login page allowed to match one of the url-patterns in the security constraints. I found that this kind of set up goes into an infinite loop - understandably. The question is - it

Re: Help with struts-example...

2001-06-14 Thread Ryan Cornia
This makes much more sense now. However, I was looking at the Javadoc, and it appears PropertyUtils.copyProperties is deprecated. Is there other functionality somewhere to use to copy the properties from the form (where properties are all strings) to the data bean (where properties might be

RE: html:link only uses the last param* attributes

2001-06-14 Thread Peter Doyle
Hi, No I never solved that problem. What I did is what Struts tells you to do which is create a Hashtable or something and put your parameters into that. Then you can have as many as you want. Here is what I do in one case in an Edit Action to set up the form. Hashtable parameters =

RE: html:link only uses the last param* attributes

2001-06-14 Thread Shamdasani Nimmi-ANS004
Peter, In my case the 2 parameters to be passed with html:link are dynamic. The link is for a column on each row of an editable table and the parameters passed are specific to each row. I wonder if someone has a solution. Anyone??? -Nimmi -Original Message- From: Peter Doyle

adding checkbox to form

2001-06-14 Thread Mike Thompson
I am displaying a collection of beans in a form with logic:iterate. Here is the loop html:form action="updateservices.do" name="serviceForm" type="com.instanton.secureex.web.form.ServiceForm" logic:iterate id="service" name="services" TR TD align="center" html:text name="service"

RE: Struts on Weblogic ...

2001-06-14 Thread Abraham Kang
Hi Nagalli, I got this problem with some of the builds of Struts. I thought this was fixed recently. My solution was to try different builds. --Abraham -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, June 14,

RE: help with package struts-classpath

2001-06-14 Thread Abraham Kang
Chuck, Can you tell which classes are getting the invalid package declaration? By the way, I haven't used NetBeans before but I am having a hard time understanding why you have ActionForward and ActionMapping in two places under classes. I thought these classes were in the

RE: Declarative security constraints

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Gogineni, Pratima wrote: I have a general question regarding security constraints - if you are using the form based authentication - is the login page allowed to match one of the url-patterns in the security constraints. Yes it's allowed. Otherwise, you could not

Re: Help with struts-example...

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Ryan Cornia wrote: This makes much more sense now. However, I was looking at the Javadoc, and it appears PropertyUtils.copyProperties is deprecated. Is there other functionality somewhere to use to copy the properties from the form (where properties are all strings) to

RE: Having problems passing more than one parameter with html:link tag

2001-06-14 Thread Shamdasani Nimmi-ANS004
Craig, In my case the link is on a column of an editable indexed properties table. And the 2 parameters for each row would be specific to that row. So where/how would I get the parameters into a HashMap? The JSP code is like this: % int i=0; % logic:iterate id=rfq name=submitQuotesForm

Servlet log

2001-06-14 Thread Upadhye, Sujit (GEAE, Foreign National)
Hi, I have a question regarding servlet log mechanism. Where does the servlet.log(String msg, int level) write the message to? Can I set the destination in some configuration file? In Tomcat, there is a directory users\www\logs. However, this statement apparently does not write into it. Thanks

RE: Having problems passing more than one parameter with html:link tag

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Shamdasani Nimmi-ANS004 wrote: Craig, In my case the link is on a column of an editable indexed properties table. And the 2 parameters for each row would be specific to that row. So where/how would I get the parameters into a HashMap? Well, you've got them already

Re: Servlet log

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Upadhye, Sujit (GEAE, Foreign National) wrote: Hi, I have a question regarding servlet log mechanism. Where does the servlet.log(String msg, int level) write the message to? That is totally up to the servlet container to decide. Can I set the destination in some

RE: Opening a file

2001-06-14 Thread Abraham Kang
Hi Jonathan, I have only done this as a stan alone app but I think it should work for you as long as the file you want to read is on the classpath. Here is the code: import java.io.*;public class Cat { public static void main (String args[]) { String thisLine; Class cl = Cat.class;

RE: Multiple Forwards

2001-06-14 Thread Niall Pemberton
Hans, Comments in the text below. Niall -Original Message- From: Hans Bure [mailto:[EMAIL PROTECTED]] Sent: 14 June 2001 17:40 To: [EMAIL PROTECTED] Subject: Multiple Forwards Hi all, I am a relatively new struts user, so if the question I'm asking has been answered before,

Radio bution Question = How can I change the radio button name?

2001-06-14 Thread Bill Clinton
Hello - I am writing a page that has a dynamic list of questions that require radio button responses. In my actionform, I am storing the list of questions in an ArrayList of QuestionAnswer objects. These QuestionAnswer objects are basically the id of the question, the text of the question,

Updating application resource file (Internationalization)

2001-06-14 Thread Sandeep . Yawale
Hi All, Is it possible to update the application resource file run time? (applicationresources.properties file) I want to change the associated messages at run time. If yes, how to do that? - Sandeep

Re: Other Frameworks?

2001-06-14 Thread Ted Husted
Have you seen this: http://barracuda.enhydra.org/cvs_source/Barracuda/docs/landscape.html Steven Leija wrote: Hey All, I was asked to evaluate java frameworks that are available such as Struts, Turbine, Barracuda, Smartmode, Velocity, Expresso, Niggle, Tapestry, and Swinglets. Does

Proposal to add indexed to tags for Grid/Matrix-type use of Struts

2001-06-14 Thread dhay
Hi everyone. I have been working on adding the new functionality of the iterate tag (the getIndex() method) to relevant tags to allow me to refer to each of them in each row in a table ie creating indexed names such as name=myCollection[i].myProperty (search mailing list for Grid or Matrix

Re: help with package struts-classpath

2001-06-14 Thread Dan Miser
Take a real close look at the spelling in the following 2 lines. -- Dan Miser http://www.distribucon.com Hi, does anyone no why i now reciveve the following invalid package declarations My Package classpath is struts-bbnpa/WEB-INF/classes/org/breconbeacons/it/ActionForward.java // (and the

Re: HREF link question

2001-06-14 Thread Rick Horowitz
Hi Craig, Thanks for your response. Unfortunately, it still doesn't work. I tried two different approaches: with the html:base/ tag and without it, and I get the same result in both cases: I code the following link: html:link

RE: Declarative security constraints

2001-06-14 Thread Gogineni, Pratima
Okay that answers my question I guess - I tried this on tomcat3.2 -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 12:17 PM To: '[EMAIL PROTECTED]' Subject: RE: Declarative security constraints On Thu, 14 Jun 2001, Gogineni,

RE: Other Frameworks?

2001-06-14 Thread Flying Cloud
Steven, Since you asked about what frameworks compliment others Expresso Framework for example is being integrated with Struts so as to complement Struts. We're a lot closer with this integration with the release last week of Expresso 3.1. There is a development roadmap onsite under

Re: Servlet log

2001-06-14 Thread Peter Alfors
In the tomcat/conf/server.xml file, search for: Logger name=servlet_log path=logs/servlet.log Also, the xml file describes the logging options. Pete Upadhye, Sujit (GEAE, Foreign National) wrote: Hi, I have a question regarding servlet log mechanism. Where does the

RE: need some help.......

2001-06-14 Thread Jiten Mohanty
Title: need some help... Niall Thanks for a quick response.I tried but got the following error. javax.servlet.ServletException: Cannot find bean jas in scope null Jiten -Original Message-From: Niall Pemberton [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 13, 2001

need some help.......

2001-06-14 Thread Jiten Mohanty
Title: need some help... Hi folks I am trying to iterate through a array of objects.Here is the code.. logic:iterate id=jas name=countBeanForm property=mbeanOper type=Ipseal.JbossOperationForm scope=session td align=center bean:write name=jas property=attr

RE: need some help.......

2001-06-14 Thread Niall Pemberton
Title: need some help... M...the iterator doesn't appear to becreating your "jas" bean from the elements of your array - the question is why? 1) Have you defined the logic taglib at the top of your jsp? %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % 2) Does the array

RE: need some help.......

2001-06-14 Thread Niall Pemberton
Title: need some help... "jas" is not in "session" scope - the iterator is creating it for each iteration (must be page scope?) - try it without the "scope": bean:write name="jas" property="attr"/ Niall -Original Message-From: Jiten Mohanty [mailto:[EMAIL PROTECTED]]Sent: 14

RE: need some help.......

2001-06-14 Thread Craig R. McClanahan
There was a string of nightly builds of Struts a couple of months ago where the iterate tag had a bug (not creating the id item). This was fixed -- are you trying this with a recent build like 1.0-b3? Craig On Thu, 14 Jun 2001, Niall Pemberton wrote: need some help...M...the

RE: need some help.......

2001-06-14 Thread Jiten Mohanty
Title: need some help... Hey Niall, You are the man..I got it running.Your suggestion about the nested iteration worked fine...Thanks buddy.I was trying hard to get this running.Saved my day. Have a nice evening. Jiten Soft. Engineer Ipseal Inc. Denver, Colorado

RE: need some help.......

2001-06-14 Thread Jiten Mohanty
Title: RE: need some help... Craig, Thanks for the response.I got it running Jiten -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 6:21 PM To: [EMAIL PROTECTED] Subject: RE: need some help... There was a

Out of Memory Errors?

2001-06-14 Thread Spencer Smith
This occurs when a very large query is performed. Anyone know of a way around this? Weblogic Output: ; nested exception is: java.lang.OutOfMemoryError: Start server side stack trace: java.lang.OutOfMemoryError

How can I use an Iterator's value twice?

2001-06-14 Thread Digico
This problem loosely related to a couple of others that I've seen recently on this list, and it's a common enough thing to do that there must be a simple solution that I just don't see. I want to produce a list of search results as hyperlinks in which each list value is displayed AND is used in

Beans shouldnt return values (my collegues argue)

2001-06-14 Thread Jonathan
My 2 collegues argue that the ActionForm (or any bean) should not return values. They argue that if some day they decide they want to insert a service between the Tag and the Bean, it would complicate things because the inserted service would be forced to return the Beans object to the

struts and weblogic 5.1 sp9

2001-06-14 Thread Grant Davies
Hi, I've been trying to get the struts working with weblogic 5.1 sp9. I have the latest version of struts (jakarta-struts-1.0-b3) and I successfully deployed the struts-example.war. (I can see it loaded and the servlets register correctly, I can access the jsp's inside) I can get the first

Re: struts and weblogic 5.1 sp9

2001-06-14 Thread Jonathan Asbell
try struts-example (with the hyphen) - Original Message - From: Grant Davies [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Phil Lentz (E-mail) [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 9:36 PM Subject: struts and weblogic 5.1 sp9 Hi, I've been trying to get the struts working

Re: Out of Memory Errors?

2001-06-14 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Spencer Smith wrote: This occurs when a very large query is performed. Anyone know of a way around this? Weblogic Output: ; nested exception is: java.lang.OutOfMemoryError: Start server side stack trace: java.lang.OutOfMemoryError It means you are

  1   2   >