RE: JSF RI Final is out!

2004-03-04 Thread Jitender Kumar C
Just a small doubt... Is this a new release? sorry if I put a wrong query... -Original Message- From: Christian Bollmeyer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 3:15 PM To: Struts Users Mailing List Subject: JSF RI Final is out!

html:link how to add query string

2004-02-24 Thread Jitender Kumar C
How can I pass a query string when I click on a link. I am using org.apache.struts.actions.DispatchAction as my action class(inherited). When I click on the link some text must be added dynamically to the request. I would be happy if I have a simple example. Thanks in advance

JUnit test cases for struts

2004-02-17 Thread Jitender Kumar C
Can anybody help me how I can proceed with writing JUnit Test cases for Struts Applications. Can I follow the same procedure as if we write for the simple classes or Should I implement any special classes of any 3rd party package. Dont' We need framework for running our action class execute

Please solve this...include and ActionForward

2004-02-16 Thread Jitender Kumar C
Please help me to come out of confusion. I am giving a sample scenario of how my app works. my code snippet is something like this my.jsp jsp:include page=/getList.do this action includes the list object in request/ I have to use the list in the rest of my jsp page. in

Exceptions

2004-02-16 Thread Jitender Kumar C
My application framework doesnt allow me to use message resource files. My Business logic has customized exceptions that contain user messages. Can anyone help me how to proceed without using html:errors (to display on the view) Is there any other alternative to handle exceptions apart from our

Cancel button causing problems in the RequestProcessor

2004-01-23 Thread Kimpton, C (Chris)
Hello All, I am struts newbie - so this might be a config issue, but.. I have an ActionForm and Action for user input, with a html:cancel button on it. If the user hits the submit button, things work fine - the form is validated, populated and passed to my action. I thought my cancel was

Re: validation problem

2004-01-16 Thread Eric C
Shouldn't your formbean type point to the actual class loginForm instead of org.apache.struts.validator.DynaValidatorForm, which i believe should be in the bean code (bean extends DynaValidatorForm) ? - Original Message - From: Kelly Goedert [EMAIL PROTECTED] To: Struts Users Mailing

Access Applicationresources.properties from Action

2004-01-16 Thread Eric C
Hi all, i'd like to access my properties file from the Action. My purpose is deliver an error message to my result page. Any sample code showing the use of the MessageResources object ? Regards, ERic - To unsubscribe, e-mail:

Re: Access Applicationresources.properties from Action

2004-01-16 Thread Eric C
Nachricht- Von: Eric C [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. Januar 2004 12:42 An: Struts Users Mailing List Betreff: Access Applicationresources.properties from Action Hi all, i'd like to access my properties file from the Action. My purpose is deliver an error message to my result

Re: Multiple Beans one Action

2004-01-14 Thread Eric C
: Tuesday, January 13, 2004 8:02 PM Subject: RE: Multiple Beans one Action From: Eric C [mailto:[EMAIL PROTECTED] suppose I have 2 beans one beanA extends Action Form, the other beanB extends ValidatorForm. I have one Action class which needs data from both beans. How can I do that ? AFAIK Struts

Multiple Beans one Action

2004-01-13 Thread Eric C
Hello all and happy new year, suppose I have 2 beans one beanA extends Action Form, the other beanB extends ValidatorForm. I have one Action class which needs data from both beans. How can I do that ? Regards, ERic - To

html:select default value problem

2003-12-18 Thread Keith C. Klopfer
Hi, I know this has been talked about before, and I'm pretty sure I understand the concept, but I don't know why this is not working. The default option for an html:select is not being displayed. I have an ActionForm in request scope called BusinessForm that is populated. The status property

URGENT - Help defending Struts

2003-12-18 Thread russell . c . friedberg
All: Our CIO is currently fighting the use of Struts by saying that it is not widely used in B2C sites. Does anyone know of any sites, preferably commerce sites that are using Struts? This would be extremely helpful. The issue is that the CIO is looking for sites that may be similar to

RE: URGENT - Help defending Struts

2003-12-18 Thread russell . c . friedberg
Sorry about that - Joe caught a Freudian slip in my mail. It is the client CIO (I tend to slip that way and think of him as mine). Accenture uses Struts all of the time (we use it in our base offering - that is why we want to use it here). Sorry for the confusion. Thanks again to everyone,

Re: Unable to load class link

2003-11-25 Thread C. Grierson
ideas? Thanks, -c PS: The exact JSP lines involving html:link are: html:link page=/editCase.jspCreate a Case/html:linkbr ^^^ that's line 36 which is maybe coincidentally close to 35 as referring to the compiled servlet code line... I don't know. and html:link page=/showCase.jsp?caseId

Re: Unable to load class link

2003-11-25 Thread C. Grierson
. Sorry for wasting time... Thanks for your help, Kris, -c Chris Grierson Systems Adminstrator Structural Informatics Group Dept. of Biological Structure University of Washington 206.616.7356 On Tue, 25 Nov 2003, Kris Schneider

Unable to load class link

2003-11-24 Thread C. Grierson
) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534) Thanks for any help! -c - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Can't Find Source For Struts 1.0.2

2003-11-13 Thread Hohlen, John C
I can't find a link to the source code for Struts 1.0.2 on the Struts website anymore. Anyone know how I can download a copy? Thanks, JOHN - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Iterating List of Lists

2003-10-31 Thread Choopong C.
from??? Your own taglib? --- Choopong C. [EMAIL PROTECTED] wrote: Try like this table logic:iterate id=organization name=organizations member trtd bean:write name=organization property=title/ logic:iterate id=item name

Re: Iterating List of Lists

2003-10-30 Thread Choopong C.
From: Chris Gastin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Iterating List of Lists Date: Thu, 30 Oct 2003 21:55:53 -0600 I have List of Lists of DataObjects. I want to iterate through that List of Lists to

Re: Iterating List of Lists

2003-10-30 Thread Choopong C.
Try like this table logic:iterate id=organization name=organizations member trtd bean:write name=organization property=title/ logic:iterate id=item name=organization property=items

Unexpected Server Round-trip

2003-10-09 Thread Michael C. Clark
the workflow works as expected. A trip through the RequestProcess source has not helped me understand why theBack button causes a trip back to the server. I'm not setting Expire headers, so itseems that all data should be cached in the browser. Insight appreciated. Thanks, Michael C. Clark

Re: tiles and parameters

2003-10-02 Thread Christopher C Worley
Frank, Try this in headerContentFooter.jsp tiles:useAttribute id=local_nav_key name=nav_key classname=java.lang.String ignore=true / pnav_key = %=local_nav_key%/p Here is a good reference for tiles http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf -chris worley Hi all, I'm

What does M constitutes in MVC-2

2003-09-22 Thread Jitender Kumar C
Hi, What are the different ways to represent Model in Struts? Does model constitutes Business Logic apart from underlying Data? What are the various methods of representing model, using which, I can leverage the features like transactional, distributable..blah blah blah features of a

Re: What's an ActionForm? - best practice?

2003-09-22 Thread John C Cartwright
Hello All, I just want to confirm what seems to be alluded to in some of the documentation regarding ActionForms. Is it appropriate or recommended to have properties in an ActionForm that are not to be taken from the request? For instance, I'm using my ActionForm to carry data from the Action

RE: How to get started ?

2003-09-19 Thread Jitender Kumar C
Hi Champ, Try learning struts thru turotialsi would suggest u oriellybook...itz a good book for learners... or u have lot many sites with free tutorials...go thru them Regards, Ch.V.J. Kumar |Associate Consultant | iGATE Global Solutions Limited | Office: 5521701 xtn 3031 |

Help needed in using the file upload to databse tag

2003-09-02 Thread SriDevi C
Hi All, I am new to using Struts. I want to use struts in uploading a file to database.Kindly guide me in this regard. Kindly let me know which tld file to copy and where to copy and what is the tag to use etc It would be very kind of you if anyone can give me a sample code. I am developing

Will Pop-Up Window Share The Same Session?

2003-08-15 Thread Hohlen, John C
I'm trying to launch a pop-up window for displaying read only data from my main application window. I'm currently having a problem getting the new pop-up window to display anything. It's just blank, so I'm unable to answer the subject question. Here is how I'm launching the new window using

RE: Will Pop-Up Window Share The Same Session?

2003-08-15 Thread Hohlen, John C
=com.erac.edge.presentation.customer.pricingplan.PopUpTestAction forward name=next path=/jsp/popUpWindowTest.jsp/ /action -Original Message- From: Hohlen, John C Sent: Friday, August 15, 2003 10:10 AM To: Struts-User (E-mail) Subject: Will Pop-Up Window Share The Same Session? I'm trying to launch a pop-up

RE: using modules versus simply using multiple struts-config file s

2003-08-14 Thread Bailey, Shane C.
. -Original Message- From: Van Riper, Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 5:55 PM To: '[EMAIL PROTECTED]' Subject: RE: using modules versus simply using multiple struts-config file s -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED

RE: Mapping Struts controller servlet to webapp root: trouble

2003-08-14 Thread Bailey, Shane C.
] Sent: Wednesday, August 13, 2003 6:02 PM To: Struts Users Mailing List Subject: Re: Mapping Struts controller servlet to webapp root: trouble On August 13, 2003 05:40 pm, Bailey, Shane C. wrote: Do you want to add a filter which will look over every request prior to Struts getting any requests

RE: One form multiple Action mapping

2003-08-14 Thread Bailey, Shane C.
What about: html:form action=/Reg.do c:if ... html:hidden property=method value=dispatchMeth1 / /c:if c:otherwise html:hidden property=method value=dispatchMeth2 / /c:otherwise /html:form -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13,

RE: modules, somethings missing

2003-08-14 Thread Bailey, Shane C.
That would be great, if all the Struts users changed their mapping to *.asp Bill G. would think the whole world is using ASP and he would get a real Viagra moment from that. -Original Message- From: Travis Stevens [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 6:32 PM

RE: Netscape vs. IE link problem

2003-08-14 Thread Bailey, Shane C.
I have made Struts work pretty successfully on both browsers. Let me make sure I understand what you are saying here... When you say you link to and from these tiles defs you just mean that your input=tile.def1 and your action's forward path=tile.def2 is that correct? If so, this is what I do

RE: ForwardAction and modules

2003-08-14 Thread Bailey, Shane C.
I use Tiles and so all my forward actions look simply like this: actionpath=/home parameter=doc.moduleHome type=org.apache.struts.actions.ForwardAction scope=request /action Because doc.moduleHome is in the tiles-defs.xml for the current

Is this a bug with struts config file?

2003-08-14 Thread Bailey, Shane C.
Short version: I would think that I could do this then forward name=home path=/home/ and Struts would know to add the .do for me. When a html:link forward=home is rendered it does not have the .do on it. I have to make it forward name=home path=/home.do/ Is that a bug? Since

RE: Mapping Struts controller servlet to webapp root: trouble

2003-08-14 Thread Bailey, Shane C.
If I remember correctly, from looking at the source code, Struts determines what extension (or prefix) to add to the request. If /* is used I could see how it could screw things up. You don't want images and things like that going through Struts anyway, I wouldn't think. Why do you want to do

RE: LookupDispatchAction error

2003-08-14 Thread Bailey, Shane C.
that the query string is separate from the path and so struts automatically puts on the filter (.do or whatever it may be). -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 12:07 PM To: 'Struts Users Mailing List' Subject: RE

RE: JSTL ot struts taglibs?

2003-08-14 Thread Bailey, Shane C.
things out. Why do you think Ant is so popular??? It got rid of all the $var UNIX script like crap and made it more like tags should be!!! What are you talking about? ${var} is pretty standard in Ant. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED

RE: modules, somethings missing

2003-08-14 Thread Bailey, Shane C.
mapping when it does its internal configuration. Anyhow, I changed the mapping to *.do and everything works great, thanks Shane! -Trav Bailey, Shane C. wrote: I believe the problem is that you can only have 1 URL mapping to the Struts Servlet. All you have to have is your first servlet-mapping

[FRIDAY] [JOKE] Here is an old one

2003-08-14 Thread Bailey, Shane C.
Can anyone name the book the following joke appeared in? I have cleaned it up a little (the punch line) and I am typing it from memory so it isn't exactly like the book. There once was a native American Chief who named everybody in his tribe. One of the young boys who was a member of

RE: JSTL ot struts taglibs?

2003-08-14 Thread Bailey, Shane C.
But, what I really meant about JSTL being replaced was in popularity. JSP tags are being replaced (in popularity) with Struts tags, your JSTL, and alike. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 4:02 PM To: 'Struts Users Mailing

RE: Is this a bug with struts config file?

2003-08-14 Thread Bailey, Shane C.
C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 6:00 PM To: [EMAIL PROTECTED] Subject: Is this a bug with struts config file? Short version: I would think that I could do this then forward name=home path=/home/ and Struts would know to add the .do for me. When

RE: Allowing only POST for form submittal ????

2003-08-14 Thread Bailey, Shane C.
of the role 'no-member-role'. Since we won't have anyone in this role, nobody can use GET for these actions. All other methods are allowed. -- Jason Lea Bailey, Shane C. wrote: I have worked with Struts at a few different companies now and I noticed none of them try to do any

RE: JSTL ot struts taglibs?

2003-08-14 Thread Bailey, Shane C.
I see the ease of using a flat file for config since a framework doesn't have to support the many DBs where their data could be stored but I think you can better protect data in a DB and you won't have parsing errors at run time. You just need an interface to manipulate the data. Until Struts

RE: [OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
I guess my problem is that I think of Java as being a Sun only product and I forget about the committees involved in the process of deciding what goes into the different Java specifications or editions (EE,SE,ME). - To

RE: very simple if/else question

2003-08-14 Thread Bailey, Shane C.
? Or ask on the correct mailing list? Or even do some research yourself? Google. Fifth link down. JSTL reference. Steve -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: August 13, 2003 2:50 PM To: 'Struts Users Mailing List' Subject: RE: very simple if/else

RE: Tiles related question

2003-08-14 Thread Bailey, Shane C.
You are practically there; you know Java and XML and that's all you need to know with Tiles. http://marc.theaimsgroup.com/?t=10306302322r=1w=2 Check out the post by Cedric, I believe he wrote Tiles. -Original Message- From: JavaXML Developer [mailto:[EMAIL PROTECTED] Sent:

[OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
Start here: http://java.sun.com/webservices/docs/1.2/tutorial/doc/IntroIWA6.html http://java.sun.com/webservices/docs/1.2/tutorial/doc/IntroIWA6.html hit the TUTORIAL'S back button. Read the last paragraph. HeHe. It sure sounds like JSF is here to conquer not to co-exist. :-)

RE: Is this a bug with struts config file?

2003-08-14 Thread Bailey, Shane C.
, you can change to another scheme (e.g., /action/login) simply by modifying the structs-config. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 6:00 PM To: [EMAIL PROTECTED] Subject: Is this a bug with struts config file? Short

RE: struts 1.1 question

2003-08-14 Thread Bailey, Shane C.
A good starting point for all you antidisestablishmentarianist that don't want to front your JSPs might be the use of the ForwardAction and global-forwards. That just forwards to a view page without writing a new class. This way, when you are ready to do the right thing, you can change some of

RE: very simple if/else question

2003-08-14 Thread Bailey, Shane C.
simple if/else question --- Bailey, Shane C. [EMAIL PROTECTED] wrote: Man (you already used Dude), I already stated that that doc is much better than the 50 other docs out there as far as JSTL reference. It appears to be a scan of a book in crappy PDF format. I just think it is very elitist

RE: Getting hashmap value based on bean value.

2003-08-14 Thread Bailey, Shane C.
Will this work: logic:iterate name=myCollection id=beanA bean:define id=beanBId name=beanA property=beanB.id/ bean:write name=myHashmap property=%=beanBId%/ /logic:iterate -Original Message- From: Wes Kubo [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 2:38 PM To:

RE: very simple if/else question

2003-08-14 Thread Bailey, Shane C.
there for JSTL that is not the point. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 1:29 PM To: Struts Users Mailing List Subject: RE: very simple if/else question --- Bailey, Shane C. [EMAIL PROTECTED] wrote: Why isn't there a page

RE: [OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
Don't get me wrong. I am more trying to display what I can foresee as a possibility and am trying to get other's opinions and feedback. I would LOVE for Struts to be the main Java framework because then I wouldn't have to relearn a new technology. I think managers who do the hiring will put

RE: application.properties file location - Internationalisation

2003-08-14 Thread Bailey, Shane C.
started on your own application I want to rename this right to left file to application.properties and try it out. Thanks From: Bailey, Shane C. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: application.properties

RE: very simple if/else question

2003-08-14 Thread Bailey, Shane C.
- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:41 PM To: Struts Users Mailing List Subject: RE: very simple if/else question --- Slattery, Tim - BLS [EMAIL PROTECTED] wrote: c:choose c:when test=${Fund.marketStatus != Kapaly} What are these c: ... tags? What

RE: [OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
Actually this is seems like good reading: http://java.sun.com/webservices/docs/1.2/tutorial/doc/JSFIntro.html -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 1:25 PM To: [EMAIL PROTECTED] Subject: [OT] Interesting JSF info Start

RE: Registration and action mappings

2003-08-14 Thread Bailey, Shane C.
I think I understand what you want. I would need to know whether you are using Validator or not (in general how validation is to be performed) to give a better answer. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 6:07 AM To:

RE: Tiles related question

2003-08-14 Thread Bailey, Shane C.
question I know that. But i am looking for a simple example or tutorial particularly for tiles. If anyone knows, let me know. Bailey, Shane C. [EMAIL PROTECTED] wrote: You are practically there; you know Java and XML and that's all you need to know with Tiles. http://marc.theaimsgroup.com/?t

RE: JSTL ot struts taglibs?

2003-08-14 Thread Bailey, Shane C.
-Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 3:45 PM To: Struts Users Mailing List Subject: Re: JSTL ot struts taglibs? Bailey, Shane C. wrote: [Snip] Why should build files be composed of tags at all? I think Ant is great too (a lot

RE: JSTL ot struts taglibs?

2003-08-14 Thread Bailey, Shane C.
not necessarily mean a whole lot since scriptlets can fit nearly everything said about JSTL but yet everybody agrees not to use scriptlets. I am just giving another opinion. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:21 AM

RE: struts 1.1 question

2003-08-14 Thread Bailey, Shane C.
Yup. It really isn't so bad. A lot of pages of what? You need a lot of pages even without Struts if your site has a lot of content. You don't have any extra JSP pages because of it but it makes you Struts config file a little longer than if you didn't have to map all your JSPs. But then

RE: application.properties file location - Internationalisation

2003-08-14 Thread Bailey, Shane C.
? Is there a default or will this an error ? From: Bailey, Shane C. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: application.properties file location Date: Wed, 13 Aug 2003 11:51:53 -0400 From what you are saying I

RE: LookupDispatchAction error

2003-08-14 Thread Bailey, Shane C.
I think you could do it a couple different ways... 1. JSP: bean:define id=lookupName value=whateverLookupYouWantToGoto/ html:link forward=test paramId=updateMethod paramName=lookupName ... /html:link 2. JSP: html:link forward=gtest .../html:link struts config: global-forwards

RE: Error - tag useAttribute : no tiles context found.

2003-08-14 Thread Bailey, Shane C.
Here is the source code producing your problem: ComponentContext compContext = (ComponentContext)pageContext.getAttribute( ComponentConstants.COMPONENT_CONTEXT, pageContext.REQUEST_SCOPE); if( compContext == null ) throw new JspException ( Error - tag useAttribute : no tiles context

RE: very simple if/else question

2003-08-14 Thread Bailey, Shane C.
question Bailey, Shane C. wrote: OK, let's vote. Who here thinks that Ace Graham is correct in saying that these links are as easy to use as a reference (which is what I requested since I understand the concept of tags in general and I only need a quick reference): Print and laminate

RE: authentication

2003-08-14 Thread Bailey, Shane C.
You could have two modules, one named public and one named private and so you would have two different path=/someAction actions one in each modules struts config. Then in the private one you have path=/someAction role=Admin and in the public one you don't have a role attribute or it is role=all

RE: using modules versus simply using multiple struts-config files

2003-08-14 Thread Bailey, Shane C.
Very interesting. I didn't know you could now have multiple struts-configs and no modules. The two problems I had with using modules was (at first) the switching between them as mentioned. I never took to the SwitchAction so I use global forwards which do my module prefixes for me. And

RE: LookupDispatchAction error

2003-08-14 Thread Bailey, Shane C.
it. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 12:01 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction error I think you could do it a couple different ways... 1. JSP: bean:define id=lookupName value

RE: Error - tag useAttribute : no tiles context found.

2003-08-14 Thread Bailey, Shane C.
cellpadding=0 cellspacing=0 background=#FF00FF to : table border=0 cellpadding=0 cellspacing=0 I'm not sure how could this html error to upset the tile by the way. Jianbo -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: 12 August 2003 19:01 To: 'Struts

RE: uploadfile path

2003-08-14 Thread Bailey, Shane C.
I had the same requirement to just retrieve the original (client side) file location and not the file itself. This was because I develop strictly for an Intranet (and not trying to get peoples file names unwillingly or anything) and the users had mapped drives to the same shared server. One

RE: DynaValidatorForm problem

2003-08-14 Thread Bailey, Shane C.
struts config dtd states: dynamic If the form bean type is a DynaActionForm subclass (that you created), then (and only then) set this attribute to true. If the type is set to the default DynaActionForm or any

RE: Struts Validator

2003-08-14 Thread Bailey, Shane C.
In the validation.xml file I believe that the validator takes form name=StringWithoutForwardSlash as validate based on form name and form name=/stringWithForwardSlash as validate based on the action name. Meaning that if the validator sees a formbean with the first examples name it does

RE: Mapping Struts controller servlet to webapp root: trouble

2003-08-14 Thread Bailey, Shane C.
Do you want to add a filter which will look over every request prior to Struts getting any requests? That might be one possibility. If you have never written a filter then one I know where you can get source for is at securityfilter.sourceforge.net that one isn't doing necessarily what you

RE: application.properties file location

2003-08-14 Thread Bailey, Shane C.
From what you are saying I think you should try: message-resources parameter=application/ in your struts config file. Since you specifically say application.properties as the name of your file. For instance my file is also called application.properties as opposed to

Question for you Internationalization supporters

2003-08-14 Thread Bailey, Shane C.
I don't have a need right now to support Internationalization but if I do need to it seems like I would have to do much more than just the field names but whole page content must be done with message keys. I mean, what is the best way to support not just form field names with different

RE: Mapping Struts controller servlet to webapp root: trouble

2003-08-14 Thread Bailey, Shane C.
. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 11:04 AM To: 'Struts Users Mailing List' Subject: RE: Mapping Struts controller servlet to webapp root: trouble If I remember correctly, from looking at the source code, Struts

RE: application.properties file location

2003-08-14 Thread Bailey, Shane C.
IMO, struts config. I didn't know you could do it in the web.xml, never had to, works great in the struts config. -Original Message- From: Kommana, Sridhar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:58 PM To: Struts Users Mailing List Subject: RE:

RE: [OT] How can Java compete?

2003-08-14 Thread Bailey, Shane C.
Voice recognition software is sure sounding good at this point. -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 11:57 AM To: 'Struts Users Mailing List' Subject: RE: [OT] How can Java compete? Do you really want to use the same

RE: [OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
But if Tiles is separate from Struts (plug-in and not built-in) I wonder if you will be able to plug Tiles into JSF. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 8:50 PM To: Struts Users Mailing List Subject: Re: [OT] Interesting JSF

RE: [OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
Struts as long as people still want an alternative. The bottom line is that Struts will be what *we* need it to be and what *we* make of it. Steve p.s. I don't work for Sun and I don't hate Microsoft :-) -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: August

RE: fail getDataSource(request)

2003-08-14 Thread Bailey, Shane C.
Use data-sources.xml instead. Just a suggestion. If I remember right, there has been talk that future Struts releases won't support datasources anyway. http://marc.theaimsgroup.com/?l=struts-userm=105372428318434w=2 On Wednesday, August 13, 2003, at 01:50 PM, Jiri Chaloupka wrote: Is it

RE: [OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
://www.jsfcentral.com/#EJB, I assume you would also use Portlet API (JCP 168) and not tiles. .V Bailey, Shane C. wrote: But if Tiles is separate from Struts (plug-in and not built-in) I wonder if you will be able to plug Tiles into JSF. -Original Message- From: David Graham [mailto:[EMAIL

RE: application.properties question

2003-08-14 Thread Bailey, Shane C.
They are suggested strings. For instance if you don't have the error prefix, suffix, header and footer specified then you won't get an exception thrown or anything you just won't get anything printed. You can change the value if you don't like the error display formatting. In general, I

RE: struts 1.1 question

2003-08-14 Thread Bailey, Shane C.
This, of course, assumes that all pages require the functionality of forwards and actions and lions and tigers and bears. don't lose sight of the forest for the trees. From: Bailey, Shane C. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL

RE: [OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
I meant the, Java is destined to be everything to everybody more as in Sun's mind. Don't forget, The network is the computer! -Original Message- From: Reinhard [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 4:30 PM To: Struts Users Mailing List Subject: Re: [OT] Interesting

RE: [OT] Interesting JSF info

2003-08-14 Thread Bailey, Shane C.
sink. C++ has been around longer and maybe it is my lack of knowledge but I think Sun's Java (it's younger years) has more APIs to develop in more genres than C or C++. Java is destined to be everything to everybody. No one over there will be happy with JSF being used in part. Sun has

RE: JSTL ot struts taglibs?

2003-08-14 Thread Bailey, Shane C.
that is the solution. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 4:20 PM To: 'Struts Users Mailing List' Subject: RE: JSTL ot struts taglibs? But, what I really meant about JSTL being replaced was in popularity. JSP tags are being

RE: [OT] RE: JSTL ot struts taglibs?

2003-08-14 Thread Bailey, Shane C.
hungry now. -Tim -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:50 AM To: 'Struts Users Mailing List' Subject: RE: JSTL ot struts taglibs? Another debate. Your debate was to make me feel like I was doing something wrong by posting my

RE: struts 1.1 question

2003-08-12 Thread Bailey, Shane C.
HeHe. We got a wild one here. WooWoo. A lot of stuff is said on this site which is opinion and stated as if it were fact. It can get kinda confusing. The fact is that it is more like: you don't have to drive on the right (since this list is multi-countried you can read right as correct and

RE: Validator

2003-08-12 Thread Bailey, Shane C.
Just copy and past it into your new validation class: /** * p * * Return codetrue/code if the specified object is a String or a codenull/code * value./p * [EMAIL PROTECTED] o Object to be tested [EMAIL PROTECTED]The string value */

RE: [OT] Interesting JSF info

2003-08-12 Thread Bailey, Shane C.
, August 11, 2003 4:42 PM To: Struts Users Mailing List Subject: RE: [OT] Interesting JSF info On Mon, 11 Aug 2003, Bailey, Shane C. wrote: I guess my problem is that I think of Java as being a Sun only product and I forget about the committees involved in the process of deciding what goes

RE: [OT] Interesting JSF info

2003-08-12 Thread Bailey, Shane C.
: Tuesday, August 12, 2003 12:37 PM To: Struts Users Mailing List Subject: RE: [OT] Interesting JSF info On Tue, 12 Aug 2003, Bailey, Shane C. wrote: Dude, where have you been. What you have said has already been posted. But, you also have to remember that the JCP members are going to want

RE: Forward to the same page

2003-08-11 Thread Bailey, Shane C.
Translated: JSP: html:link action=%= \/language?cameFrom=\+request.getRequestURI()% ChangeLanguage /html:link Which creates an HTML version like this: a href=/language.do?cameFrom=/theJSPName.jspChangeLanguage/a I think you could also use request.getServletPath() instead of

struts-config_1_1.dtd description incorrect?

2003-08-11 Thread Bailey, Shane C.
Should the struts-config_1_1.dtd describing the global-forwards redirect attribute state that for redirects = true response.sendRedirect() is called and not as stated, RequestDispatcher.Redirect is called ?

RE: JSTL ot struts taglibs?

2003-08-10 Thread Bailey, Shane C.
Going by this statement that you replied to and didn't correct anything about it: there's a good chance that (in the future) containers will have their own optimized versions of the JSTL-tags, there are already some implemented in TC5.x It doesn't sound like the optimization is totally

RE: JSTL ot struts taglibs?

2003-08-10 Thread Bailey, Shane C.
step backwards tags. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:51 AM To: Struts Users Mailing List Subject: RE: JSTL ot struts taglibs? --- Bailey, Shane C. [EMAIL PROTECTED] wrote: Don't get me wrong, I think scriptlets are ugly

RE: method to get new Id to next action when old Id is in request?

2003-08-10 Thread Bailey, Shane C.
); return mapping.findForward(displayEdit); } -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:30 PM To: 'Struts Users Mailing List' Subject: RE: method to get new Id to next action when old Id is in request? I guess you could do

RE: JSTL ot struts taglibs?

2003-08-10 Thread Bailey, Shane C.
Scriptlets are more powerful (you can do ANYTHING Java can do), faster, is a standard (it is the Java language you know) and if you are going to spend time learning a new language (${var} == pooPoo) then you would be better off learning Java (assuming you don't already know it) cause then you

  1   2   3   4   5   >