RE: rtexprvalue not working in html:link tag!!! --- REVISITED

2001-10-22 Thread Alexander Jesse
Hi, check the struts doc for html-tags: To pass a single dynamic parameter, specify the parameter's name using the paramId attribute. You can then specify the name of the JavaBean holding the value using the paramName attribute, and a particular property using paramProperty. So, a tag like

iterate with 3 array lists (urgent)

2001-10-22 Thread Marc Gassmann
hi all I would like to iterate with 3 array lists. logic:iterate id=date name=reportDataBean property=dateList indexId=index scope=request bean:define id=description name=reportDataBean property=descriptionList scope=request/ bean:define id=algorithm name=reportDataBean

How To: Radio Buttons

2001-10-22 Thread L. Yeung
Hi All! I need to iterate a collection of supplier info with radio buttons. I want the value property to have dynamic values extractd from the collection. logic:iterate name=user id=suppliersLookupList property=suppliersLookupListCollection .. html:radio name=suppliersLookupList

RE: iterate with 3 array lists (urgent)

2001-10-22 Thread Tom Klaasen (TeleRelay)
For the first part of the question, I'm not sure what you want. Please describe the structure of the bean(s) you're trying to display. For the second part: what do you mean by write url? And the code looks a bit weird too: an html:button nested in an html:link. What is that supposed to do? It is

Help on running a simple struts application ...

2001-10-22 Thread Nandakumar Subramaniam
Hello Everyone, I am pretty new to Struts .. and i have this problem with getting a simple program to work. I just modified some of the JSP files given as examples and created new JSP files. I get no error on running the JSP file, but neither do i get any result out of submitting data from one

oops ...RE: Help on running a simple struts application ...

2001-10-22 Thread Nandakumar Subramaniam
I forgot the Zip file last time around .. Sorry !! Hello Everyone, I am pretty new to Struts .. and i have this problem with getting a simple program to work. I just modified some of the JSP files given as examples and created new JSP files. I get no error on running the JSP file, but neither

Need help with Cannot find ActionMappings or ActionFormBeans collection

2001-10-22 Thread Frédéric Houbie - ABSIS-GROUP
Hi, I'm using Struts with Tomcat 4. I'm getting this error when running the app. I've checked classpath, I removed classes12.zip (oracle driver) from classpath and put it in lib/ext directory, but it still does not work. here is the classpath at start of tomcat 4 Using CLASSPATH:

RE: Links with two dynamic variables from bean

2001-10-22 Thread Alexander Jesse
Hi, check out this JSP-snippet, that's how I do it: logic:present name=%= Constants.PROJECTS % scope=request logic:iterate id=project name=%= Constants.PROJECTS % scope=request tr align=left tdbean:write name=project

RE: Struts in Europe?

2001-10-22 Thread Alexander Jesse
Hi, in our company we have a similar resistance against open-source... try to do a sample showing how much cleaner the implemetation can become using struts. btw. Credit Suisse is NOT YET using it, but... cheers Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

AW: Struts in Europe?

2001-10-22 Thread Bernhard J. Hirschmann
DaimlerChrysler does use it. You may search in the mail-archive about that thread, because this one has been discussed earlier as well. Regards, Bernhard -Ursprüngliche Nachricht- Von: Alexander Jesse [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. Oktober 2001 10:03 An:

RE: iterate with 3 array lists (urgent)

2001-10-22 Thread Marc Gassmann
I would like to have a line with items this items should be able to delete or to show the hole info. so you have to press on a button show or del and for each col the informations are saved in a ArrayList in a form bean at the moment I have all items in one cell, so I would like to index the

bean:write with map lookup?

2001-10-22 Thread Paul Dillon
I am displaying the properties of a bean on a JSP page using the bean:write tag. The bean being displayed has a byte property for status. How can I resolve this byte status code to it's String description, without putting Java code into my JSP? Does bean:write have some sort of fancy feature

Install Struts on IBM Websphere studio application developper

2001-10-22 Thread Eric Brault
Hi, Do you have installed Struts on the new IBM development environment IBM WSAD ? What is the way to do that ? What are the problems ? Thanks for your answers. Eric Brault CGEY France.

Re: Struts in Europe?

2001-10-22 Thread Gregor Rayman
Bernhard J. Hirschmann [EMAIL PROTECTED] DaimlerChrysler does use it. You may search in the mail-archive about that thread, because this one has been discussed earlier as well. Regards, Bernhard We at Internet Technology use it too. Gregor Rayman www.i-technology.de

Re: bean:write with map lookup?

2001-10-22 Thread John Yu
Paul, How about bean:message key=status.description.%= expr_evaluated_to_a_byte %/ ? Not very pretty though. -- John At 06:52 pm 22-10-2001 +1000, you wrote: I am displaying the properties of a bean on a JSP page using the bean:write tag. The bean being displayed has a byte property for status.

RE: Presenting the data of a ValueObject on a JSP-Page

2001-10-22 Thread Gruner, Manfred
Well the design pattern is MVC, instead of using struts you can implement your ControllerServlet which redirects to the dedicated Eventhandler without handling any FormBeans. But when you want show data, you first, in most cases, have a query on that data, and for that you could use struts(like

how to call method with struts tag?

2001-10-22 Thread Ken'ichi Unnai
Dear all, I'm making MVC webapps with struts tags using HashMap as request attribute. I have stuck at one point: I want to show the HashMap (which contains custom object) which works as myHashMap.put(Integer i, MyObj myObj); ...and myObj returns String value by myObj.getValue(). currently

Re: Presenting the data of a ValueObject on a JSP-Page

2001-10-22 Thread John Yu
While this may not be the exact stuff you're looking for, this thread may help: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14087.html In short, you can still use Struts and leverage on BeanUtils to do the mechanical and tedious property copying between the FormBeans and the

Re: how to call method with struts tag?

2001-10-22 Thread John Yu
Ken, logic:iterate id=myObj name=result scope=request bean:write name=myObj property=value/ /logic:iterate This should do the job. -- John At 02:56 am 22-10-2001 -0700, you wrote: Dear all, I'm making MVC webapps with struts tags using HashMap as request attribute. I have stuck at one point: I

Re: how to call method with struts tag?

2001-10-22 Thread Ken'ichi Unnai
Dear John, Thanks for response. The codes you sent looks familiar to me:-) When I tried this, JSP page shows exceptions: javax.servlet.ServletException: No getter method for property value of bean myObj ... .. ...any suggestion? Many thanks, Ken --- John Yu [EMAIL PROTECTED] wrote:

RE: Presenting the data of a ValueObject on a JSP-Page

2001-10-22 Thread Alexander Jesse
Hi, readonly-data is not overkilled by using Struts. Especially if the rest of the app is already based on struts. If not: have you a garantee that you will not, at a later moment, have to process input? How about i18n? Struts helps to structure good in every occasion...(of a web-application)

Re: how to call method with struts tag?

2001-10-22 Thread John Yu
Do your getter and setter for the property 'value' return (and set) different type? And, have your overloaded the getter/setter methods? Either way will confuse java's introspection mechanism. In this case, either you have to implement a BeanInfo class to tell java how to introspect your class or

html:errors and redirection

2001-10-22 Thread Heijink, Dick
Hi there, We've been using struts for our projects and we've run into some problems with error reporting. We havethe following action: public ActionForward perform(ActionMapping mapping,ActionForm form,HttpServletRequest request,HttpServletResponse response) { ActionErrors errors=new

Re: html:errors and redirection

2001-10-22 Thread Matt Raible
This is a similar problem with iPlanet Application Server - where it doesn't allow forwarding from one action to another. The workaround for us was to add redirect=true to the forward. We have the same solution as you - adding messages to the session, and grabbing them from the session. Matt

Re: Tiles and template repeated files

2001-10-22 Thread Cedric Dumoulin
Peter Pilgrim wrote: Oh by the way, do you have a Tiles.gif Power by Tiles ? Not yet, if someone has a good one to propose ... Cedric -- Peter Pilgrim | |++44 (0)207-545-9923 \ \ ___ / / ... . - ( * ) --- --

Re: Dynamic XML extended defintions

2001-10-22 Thread Cedric Dumoulin
Hello, Yes you can. In your jsp page, insert the definition you want, and pass it new or overloaded parameters. These later will supersede the one defined in definition. i.e., write something like : %@ taglib uri=/WEB-INF/tiles.tld prefix=comp % comp:insert definition=menu.links

RE: FormTag problem

2001-10-22 Thread Alexander Jesse
Hi, does your jsp include the tag html:base ? If not, add and retry regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 2:57 PM To: [EMAIL PROTECTED] Subject: FormTag problem Hi I'm having a problem with the form

Announcement: JSP and Tag Libraries for Web Development

2001-10-22 Thread Lacerda, Wellington (AFIS)
Hi! I'd like to announce that my book, JSP and Tag Libraries for Web Development was just released by Newriders Books. It is intended mostly for the newcomer to Tag libraries and present the subject in detail. Struts is discussed as a STRONG example of a framework that integrates tag libraries

RE: iterate with 3 array lists (urgent)

2001-10-22 Thread Sandeep Takhar
I believe someone mentioned that indexed properties don't work even though the documentation says it does. The nightly downloads contain this functionality or this is an add on that you can download and install: http://husted.com/struts/resources.htm Go to Contributor Extensions and look at

Struts-HTML-Tags

2001-10-22 Thread storck
Hi, in wich way are the Struts-HTML-Tags identical in use to the corresponding HTML-Tags. I mean can I do everything with Struts-HTML-Tags as with HTML ? Thanks

RE: Upload file slow

2001-10-22 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Michelle, What browser are you using? Sometimes it's slower among different browsers. Also, the example re-reads the file from disk after it's written and re-writes it, which can take a little extra time. I don't think I ever quite nailed down what makes file upload slow like you're

Where do I find an complete example for indexed tags

2001-10-22 Thread storck
Where do I find an complete example for indexed tags

Several design questions for a large application

2001-10-22 Thread Zhiyong Li
I have used Struts as the core control component for the first release of the iBiomatics knowledge platform. I am very happy with it, especially it encourages all the developers to think and code in a way consistent with Model-2 architecture. However, I have not fully used all the functions of

SUBMITTING A FORM AND DOING A FORWARD AT THE SAME TIME

2001-10-22 Thread chiji nwankwo
Hi, I want to move from one page to another by using the strutslink tag. At the same time I would like for the contents of the page which I am coming from to be submitted or initialized in my form bean. How do I achieve this? At the moment I am using a piece of javascript which submits the

Re: Tiles and template repeated files

2001-10-22 Thread Peter Pilgrim
Leave it with me I see what I can do. -- Peter Pilgrim ++44 (0)207-545-9923 //_\\ Mathematics is essentially the study of islands of === disparate subjects in a sea of ignorance. || ! || Andrew Wiles

Newbie question

2001-10-22 Thread Antonio Vianello
Hi to you all. Sorry if my question could seem quite obvious, but how can I get a reference to the ActionServlet instance from within a JSP page? I need this to have access to some custom fields I've defined in the servlet class. Thanks in advance Antonio

Newbie question

2001-10-22 Thread Antonio Vianello
Hi to you all. Sorry if my question could seem quite obvious, but how can I get a reference to the ActionServlet instance from within a JSP page? I need this to have access to some custom fields I've defined in the servlet class. Thanks in advance Antonio

Re: Where do I find an complete example for indexed tags

2001-10-22 Thread Ted Husted
I don't believe there is one. The indexed tags are relatively new. Should you put one together for your own use, please feel free to contribute it. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/

RE: Questions About Struts Validator

2001-10-22 Thread Trieu, Danny
is this feature available in Struts 1.0? -Original Message- From: David Winterfeldt [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 21, 2001 1:04 PM To: [EMAIL PROTECTED] Subject: RE: Questions About Struts Validator That isn't possible with the default mask validator. I've recently

Re: Form properties reset ?

2001-10-22 Thread martin . cooper
Yes, I would expect this. Any properties you set in the form bean from the first action will be cleared when the form bean is reset prior to populating it for the second action. If you need to add additional parameters to the request, you'll need to do it by adding them to the URL used to

RE: Newbie question

2001-10-22 Thread Chris Morin
Antonio, I imagine you could: request.setAttribute( servlet, this ); before forwarding to your jsp page. You'll need to expose getter methods to your jsp page to access the object's properties. But I would recommend just putting the servlet's properties into

Browser checking

2001-10-22 Thread Dave J Dandeneau
Title: Browser checking Is there a browser checking tag built into struts? We have a taglib that we normally use to check the browsers configuration, but we are having some troubles getting it working with struts (we think that it is getting confused by the path). dave dandeneau

Re: Form properties reset ?

2001-10-22 Thread Ted Husted
You can also be more careful about which properties are reset when. Both the mapping and the request are passed to reset, giving you the opportunity to look ahead. The default reset does nothing. The properties are only affected if you've overridden this class and specified what happens to the

Re: Several design questions for a large application

2001-10-22 Thread Ted Husted
It is important to distinguish between ActionMappings and Actions. You can have any number of ActionMappings, all of which reference the same Action, but use entirely different ActionForm beans and their own set of local forwardings. Each mapping can use as many local forwards as they need, or

SUBMITTING A FORM AND DOING A FORWARD AT THE SAME TIME

2001-10-22 Thread chiji nwankwo
Hi, I want to move from one page to another by using the strutslink tag. At the same time I would like for the contents of the page which I am coming from to be submitted or initialized in my form bean. How do I achieve this? At the moment I am using a piece of javascript which submits the

RE: Questions About Struts Validator

2001-10-22 Thread David Winterfeldt
What feature are you referring to? the min/max validators or defining a second mask validator as 'mask2'? Also, this would depend on the validator version you are using. Are you asking if the latest release will work with Struts 1.0? It should. Someone said they were using a more current

Re: Form properties reset ?

2001-10-22 Thread David Winterfeldt
--- Ted Husted [EMAIL PROTECTED] wrote: You can also be more careful about which properties are reset when. Both the mapping and the request are passed to reset, giving you the opportunity to look ahead. The default reset does nothing. The properties are only affected if you've

RE: Newbie question

2001-10-22 Thread martin . cooper
As Chris suggests, directly accessing methods on another servlet is not really a good idea. If you have data that needs to be available to JSP pages application-wide, then you could consider storing it as an application-scope attribute. However, storing it at the most local scope possible is

Struts and IPlanet 6.0 (Test Drive)

2001-10-22 Thread Brian Dainton
Has anyone deployed a Struts Application on IAS 6.0? The War is comprised of 4 static HTML pages, a simple action class, and a simple form class. I've deployed the EAR tha contains the WAR, on Sun's Reference Impl. It appears as if IPlanet isn't recognizing my mapping to *.do... Thanks in

RE: Struts and IPlanet 6.0 (Test Drive)

2001-10-22 Thread Bhamani, Nizar
You need to add this mapping in the rules.properties file . Check out the struts installation page, it tells you how to do this on iPlanet. Nizar Bhamani YouDecide.com Inc (770) 291 7180 -Original Message- From: Brian Dainton [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001

Re: Struts and IPlanet 6.0 (Test Drive)

2001-10-22 Thread Matt Raible
If you are using iAS 6.0, SP3, there is a bug where the Jasper JSP compiler will actually change *.do to /*.do and then it does not recognize the path. I've ported the struts-example application to both SP2 and SP3 and it is available for download: The SP3 port I did contains documentation on

How to handle a PopUp Form from another Form?

2001-10-22 Thread Shamdasani Nimmi-ANS004
Hi, I am looking for suggestions on how to handle this situation: I have a grid form (i.e., a form with tabular data). One of the columns of this tabular data is PartNumber which when clicked on a row should popup a form in a new window bringing up all the information about this part, e.g.,

RE: Questions About Struts Validator

2001-10-22 Thread David Winterfeldt
The validator is in the Struts nightly source downloads in the contrib/validator directory. I also keep the documentation and some downloads posted at this url. The most current will always be in the nightly downloads. http://home.earthlink.net/~dwinterfeldt/ The most recent release has the

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread Alexander Jesse
Hi, part one is not really a problem: just add target=_a_window_name_ to the link. part two is where it gets tough...I do not know of a html-construct allowing for this. Maybe you could create a javascript that will put the focus on _a_window_name_ if it exists... hth Alexander

II iterate with 3 array lists (urgent)

2001-10-22 Thread Marc Gassmann
ok ... thanx ... but does anybody know how I can replace my code with jsp ? I am very thankful if somebody help me because my time is too short ... thanx a lot marc On Mon, 22 Oct 2001, Sandeep Takhar wrote: I believe someone mentioned that indexed properties don't work

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread Shamdasani Nimmi-ANS004
Yes I do know how to open the popup form in a new window. That's the easy part. How to handle the popup form is the problem. -Nimmi -Original Message- From: Alexander Jesse [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 2:01 PM To: struts-user Subject: RE: How to handle a

Struts Public Training

2001-10-22 Thread Alex Lin
Hi, I'm wonder whether there is public training for struts ? Please e-mail me the hyperlink. Thanks, Alex Lin

RE: Questions About Struts Validator

2001-10-22 Thread Trieu, Danny
Thanks you, David -Original Message- From: David Winterfeldt [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 11:53 AM To: [EMAIL PROTECTED] Subject: RE: Questions About Struts Validator The validator is in the Struts nightly source downloads in the contrib/validator

Re: How to handle a PopUp Form from another Form?

2001-10-22 Thread dhay
Perhaps you can use a indexed link which brings up the data in the popup form. As for the second part, could you use javascript onload function in the original page, which checks to see if popup exists, and if it does puts focus back on it? Cheers, Dave Shamdasani Nimmi-ANS004 [EMAIL

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread Shamdasani Nimmi-ANS004
It is an indexed link. I already know how to get the indexed link to include the part number. What I want to do is: This link should point to an action class, say partInfo.do, which retrieves the complete information about that part and puts it into an ActionForm and then forwards to a JSP

Re: Validation Return Page

2001-10-22 Thread Ted Husted
The input property is a URI -- not necessarily a page. So, in the case of a Wizard workflow, you could specify a mapping to an Action (with validate=false) that would in turn dispatch to the appropriate input page, perhaps by keying on the infamous page property. -- Ted Husted, Husted dot Com,

Re: oops ...RE: Help on running a simple struts application ...

2001-10-22 Thread Ted Husted
If you are really getting a blank screen, it may be that the browser is not rendering it (because the HTML turned out way invalid). Netscape does this alot. Try viewing the source. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 --

Re: global forwards

2001-10-22 Thread Ted Husted
You may need to url-encode the path here. Try ViewClipamp;streamMode -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ chiji nwankwo wrote: Hi, Can anyone see what I am doing wrong? forward

Re: FormBean and Action-Class

2001-10-22 Thread Ted Husted
Use bean:write The name of the bean is whatever you specified in Struts-config. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ storck wrote: I have a problem. I would like to use the

Re: html:options collection of beans in FormBean

2001-10-22 Thread Ted Husted
The ActionForm itself is a bean in some scope. The name is whatever you specified in struts-config. People tend to send the options collection over seperately from the form (your #1), since it usually a seperate query and sometimes used in more than one place. But referring to the ActionForm

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread dhay
I haven't done this before, but am not sure what the problem is. You say you have an indexed link to partInfo.do, which you can bring up in a new window using target=. Submit etc from this window should return you to this window if error etc.. Where exactly is your difficulty? Dave

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread Strichartz, Beth
Hi all, I have a similar questions. In my iterate I have a regular Button and I need to know which one was clicked. Therefore, I have to have a dynamic value generated in the iterate. I have tried defaulting the value to be part of the bean that I am iterating over , but this has not worked

Re: Auto-generating ActionForms

2001-10-22 Thread Ted Husted
The set of tags used by dbForms.org yields some impressive results, but still requires more information to be embedded in the JSP than I would like. There's still a lot of work to be done in the area of defining how tag extensions, JavaBeans, and persistence models all come together, especially

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread dhay
The indexed property will work if you use the nightly build. The name of the submit button will be suffixed with [x] where x is the interation index. You can then check that in your action. Cheers, Dave Strichartz, Beth [EMAIL PROTECTED] on 10/22/2001 05:10:45 PM Please respond to

Recycling existing ActionForm bean instance

2001-10-22 Thread Dave Remy
I am getting a hanging problem on a production application and some new messages are showing up on our weblogic console 6.1that I haven't seen before. I'm not sure if they are the problem but I can't find anything about them on the net and they seem to be related. What does "Recycling

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread Strichartz, Beth
What if I am looking for more than the iterator? I really need the address Id... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: RE: How To: Radio Buttons and Regular buttons The indexed

Re: How to handle a PopUp Form from another Form?

2001-10-22 Thread Dan Hodge
Correct me if I'm wrong, but it sounds like you want to popup window to behave like a modal dialog box. I can't think of any standard javascript/HTML construct that would allow that, short of using alert() to pop up a modal dialog box, but that's not going to help you. Has anyone seen or built

sonic struts storefront any good ?

2001-10-22 Thread jelmer
Has anyone looked at the example at http://gallery.bluestone.com/scripts/SaISAPI.dll/Gallery.class/demos/i18n/index.jsp Is it any good. and does it properly reflect stuts capabilities? I noticed it wasnt listed on the resources page of the stuts site nor at ted husteds page although

Ampersands get encoded to amp;

2001-10-22 Thread Terry Bahr
We have an application that is Unicode compliant. Our DB is MSSQL 7.0 and we are using nVarChar data types. When we type in Japanese characters from our formthey get saved into the DB as unicode values which is correct (#12371;#12428;#12399;). When we try to retrieve these values and

Re: Auto-generating ActionForms

2001-10-22 Thread Robert Parker
I've used something similar...A lot of the apps I build are very similar table driven forms, ie many insert/updates of tables. Hence My development approach at the moment is based on a generic architecture based around struts. I design the table schemas in xml, then use xslt to generate data

Action design advice

2001-10-22 Thread Fabien Modoux
Hello, I have an action (e.g., browse items) that will be used by several components of my system. The logic and mappings for browsing items are common to all components, but the actual view (JSP used) will be specific to each component. I am not sure it is would be better to have one mapping

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread dhay
Can't you look that up from the iteration index? If you want the address Id on the button, I think you'll have to revert to scriptlets (uck!). Dave Strichartz, Beth [EMAIL PROTECTED] on 10/22/2001 05:36:45 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc:

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread Shamdasani Nimmi-ANS004
This is what my current html:link tag looks in my originator form(SubmitQuotes.jsp): html:link forward=partDetails paramId=partNumber paramName=submitQuotesForm paramProperty='%= rfqList[ + i +].PartNumber %' where partDetails is an action class that retrieves the details for the part from

Re: Action design advice

2001-10-22 Thread Ted Husted
It's generally helpful to think of the Struts-config as your API. Each logical mapping represents a task that your application can perform. Some mappings may share Actions, but, later, if you decide you need a separate Action for a task, you can make that change within your struts-config, without

Re: Help on running a simple struts application ...

2001-10-22 Thread Paul Dillon
I also had mysterious blank pages when I first started using struts. I eventually tracked it down by emptying all my log files, hitting the URL and then carefully reading each log file. At least for tomcat, the more unusual errors seem to hide in least-often-checked logfiles. - Original

Re: Dynamic XML extended defintions

2001-10-22 Thread iT meDic
Hi Cedric, I understand what you mean however, i would like to use the mainLayout as the definition and alter the submenu components (by adding flags) in my jsp page. I want to be able to do this: %@ taglib uri=/WEB-INF/tiles.tld prefix=comp % comp:insert definition=mainLayout flush=true

Getting the value of onject in the iterate....

2001-10-22 Thread michael duggan
If I am iterating over a collection.. logic:iterate id="Patients" name="MyForm" property="Patients" indexId="index" bean:write name="Patients" property="account.ssn" filter="true"//td /logic:iterate Where Patients has an account Object that has an SSN property. is it possible to add the

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread L. Yeung
I ended up writing this way: % Collection col = (Collection)request.getAttribute(AttributeKeys.SuppliersLookupListKey); Iterator iter = col.iterator(); while (iter.hasNext()) { SupplierModel model = (SupplierModel)iter.next(); % ... input type=radio

~~ Confusion with triggering an Action ~~

2001-10-22 Thread Jonathan Asbell
in my jsp page http://localhost/sports/trivia.jspI have a Struts form html:form action="/processTrivia.do" Considering this, the following is true: 1) the directory I am currently in is "/sports" 2) the request I am submitting to is "/processTrivia.do" When I create my mapping inside

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
/processTrivia.do is in fact "root-slash-processTrivia" - but in relation to your current context. If your webapp is named sports, then it will have to be /sports/processTrivia.do How you get around this depends on your servlet container. In Tomcat 4, you could make sports the default

Setting up the Struts framework on Oracle JDeveloper ?

2001-10-22 Thread Sameer Mahajan
Techies, Can any one share there experience in setting up the Struts frameworkon theOracle JDeveloper ? Thanks In Advance, Sameer Mahajan

Re: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Jonathan Asbell
My default web application is not "/sports", but rather just "localhost". If the site was live the web app would be "http://www.mysite.com", and I would be in the "/sports" directory. What can I do to get the behavior I am expecting? - Original Message - From: Brett

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
I'm talking about webapps from the perspective of the servlet specification. I don't think it's the same thing. (Think WAR files, WEB-INF subdirectories) Some servlet containers don't support/require this structure so you may not be using them (eg older WebLogic). What container/servlet

Re: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Jonathan Asbell
currently weblogic 5.1 sp 10, with the default webapp set as I mentioned - Original Message - From: Brett Porter To: '[EMAIL PROTECTED]' Sent: Monday, October 22, 2001 9:58 PM Subject: RE: ~~ Confusion with triggering an Action ~~ I'm talking about

Re: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Paul Dillon
In your web browser, have a look at the generated source for your JSP form. The form's action attribute should be pointing to /web-app-name/processTrivia.do (which should be /processTrivia.do in your case). It doesn't matter what directory your JSP is in, or the URI ofyour request, since

Re: Getting the value of onject in the iterate....

2001-10-22 Thread John Yu
Where will you add the %=...% inside logic:iterate? If you're asking whether you can have jsp expression %=...% within a tag, the answer is yes. At 09:18 pm 22-10-2001 -0400, you wrote: If I am iterating over a collection.. logic:iterate id=Patients name=MyForm property=Patients indexId=index

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
If you got more sp10 to work, more power to you. It leaks about 1gb of RAM an hour for me :) Have you got something like this? weblogic.httpd.webApp.strutsexample=c:/jakarta-struts/webapps/struts-example.war Or are you just using a servletclasses/ type set up? If you are using the

Re: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Jonathan Asbell
here is the ONLY setting I made in weblogic.properties: weblogic.httpd.defaultWebApp=D:/myapp Everything else came preinstalled that way - Original Message - From: Brett Porter To: '[EMAIL PROTECTED]' Sent: Monday, October 22, 2001 10:25 PM Subject: RE: ~~

RE: ArrayOutOfBoundsException during indexed file upload

2001-10-22 Thread Tricia Ong Cheah Yen
i'm facing this problem. anyting pointers or files that i shld be downloading? +trish -Original Message- From: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 11, 2001 11:10 PM To: '[EMAIL PROTECTED]' Subject: RE: ArrayOutOfBoundsException during

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
SoD:/myapp/WEB-INF/web.xml contains the action servlet configuration. In that case /processTrivia.do should be the same as http://www.server.com/processTrivia.do, because defaultWebApp maps to / I'm not sure about this one - perhaps Struts thinks your webapp is named sports. Perhaps it is

Re: how to call method with struts tag?

2001-10-22 Thread Ken'ichi Unnai
--- John Yu [EMAIL PROTECTED] wrote: Do your getter and setter for the property 'value' return (and set) different type? And, have your overloaded the getter/setter methods? Either way will confuse java's introspection mechanism. In this case, either you have to implement a BeanInfo