html:link with linkName attribute becomes anchor?

2004-02-19 Thread Brice Ruth
Is it in violation of the HTML 4 (or XHTML 1) spec that an a .../a tag have *both* an href and a name attribute? I ask, because in Struts 1.1, apparently, if I specify a linkName attribute to an otherwise normal html:link tag (with either page, action, or href specified) - it ignores

Re: html:link with linkName attribute becomes anchor?

2004-02-19 Thread Brice Ruth
OK, then it seems that the Struts behaviour is incorrect? Kris Schneider wrote: HTML 4.01 Specification 12.1.3 Specifying anchors and links Authors may set the name and href attributes simultaneously in the same A instance. Quoting Brice Ruth [EMAIL PROTECTED]: Is it in violation

Re: html:link with linkName attribute becomes anchor?

2004-02-19 Thread Brice Ruth
Is anyone out there using a Struts build later than the 1.1 release that could test for me if this is fixed in a later release? Thanks! Kris Schneider wrote: Seems like it... Quoting Brice Ruth [EMAIL PROTECTED]: OK, then it seems that the Struts behaviour is incorrect? Kris Schneider

Re: Pagination Support

2004-01-13 Thread Brice Ruth
You might want to check out iBATiS, specifically the executeQueryForPaginatedList methods ... quite useful!! http://www.ibatis.com/ Enjoy! Viral_Thakkar wrote: Hi all, Do struts have any support for *_pagination_* purpose? By pagination, I mean, displaying the data retrieved from

Re: redirecting to fully qualified hostname

2004-01-13 Thread Brice Ruth
What you're likely running into is the fact that the cookie that the application server uses to track a user's session object, is very specific to what host can read the cookie. I use Apache and one of the things I've done is set a configuration parameter UseCanonicalName to be on - it

Re: Mandatory use of form rather than request object

2004-01-12 Thread Brice Ruth
This precludes you from storing data in the request scope, though - so you're left with only storing things in the session scope, which I wouldn't consider ideal. Right? Richard Hightower wrote: Create a superclass that overides the execute method and calls an abstract execute method that

Re: Seeking multipart-form advise

2004-01-11 Thread Brice Ruth
The extra work from the request processor isn't significant ... I had some problems with file upload/download, so ended up stepping through most of the code in a debugger, and it didn't seem like it was too bad. Just an 'off the cuff' comment :) Gary VanMatre wrote: We are working on an

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Brice Ruth
I'm not sure you'll ever entirely get away from Tomcat generating an OutOfMemory exception ... I have a very similar development environment and I use the catalina-ant tasks for removing my context from Tomcat and re-installing my context to Tomcat and I've found that after I do that a few

Re: including multiple *.do actions into a jsp page

2004-01-09 Thread Brice Ruth
Maybe you might be better off explaining to us exactly what you're trying to achieve, with what you're trying to do. As I'm not clear on that, I'm not sure what you've just explained and what it means. Silviu Marcu wrote: Hi, I try to include more than one struts action in a jsp page ... and

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Brice Ruth
the reloadable chechbox (project - Properties - Tomcat - General - marck this context as reloadable) In this way, when you change a class implementation, only this class is changed and Tomcat won't reload all the webapp. -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Viernes

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Brice Ruth
this will be less likely to happen. I've found that after so many reloads that tomcat 4.1 runs out of memory, whether using catalina-ant tasks or the html manager (i guess the same thing really). On 9 Jan 2004, at 18:00, Brice Ruth wrote: This won't help me, as the memory leak appears to be in the fact

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Brice Ruth
] [mailto:[EMAIL PROTECTED] Behalf Of Brice Ruth Sent: Friday, January 09, 2004 1:20 PM To: Struts Users Mailing List Subject: Re: [OT] Eclipse/Tomcat WebappLoader Cool, something else to look forward to when tomcat 5 is finally out of development :) Mark Lowe wrote: I haven't used it yet put I

Re: Action to JSP - Works!!!

2004-01-09 Thread Brice Ruth
be aware that this is not a good thing to do in general ... as you'll never be able to make use of the request scope for variables which *will* bite you at some point down the road. If someone doesn't like the *.do at the end of the action name, then you really need to address a solution other

Re: mapped address

2004-01-08 Thread Brice Ruth
Pretty easy. !-- assume someELvalue is my2ndTopic -- jsp:useBean id=linkParams class=java.util.HashMap/ c:set target=${linkParams} property=topic value=somevalue/ c:set target=${linkParams} property=topic2 value=${someELvalue}/ html:link action=/myAction name=linkParamsmy link/html:link will

Re: mapped address

2004-01-08 Thread Brice Ruth
declaration? no matter what i have to add to make this work, I got the point and it is really simple.Reminds me of Ant :) Thanks very much Otávio Augusto On Thu, 08 Jan 2004 11:34:23 -0600 Brice Ruth [EMAIL PROTECTED] wrote: Pretty easy. !-- assume someELvalue is my2ndTopic -- jsp:useBean id

Re: mapped address

2004-01-08 Thread Brice Ruth
some additional declaration? no matter what i have to add to make this work, I got the point and it is really simple.Reminds me of Ant :) Thanks very much Otávio Augusto On Thu, 08 Jan 2004 11:34:23 -0600 Brice Ruth [EMAIL PROTECTED] wrote: Pretty easy. !-- assume someELvalue is my2ndTopic

Re: XML and dynabean

2004-01-08 Thread Brice Ruth
I think you *might* be looking for something like betwixt. See here: http://jakarta.apache.org/commons/betwixt/ Jeb Scarbrough wrote: I have a form where a user will upload an xml document or xml string. I want to convert that xml doc or string into a javabean. The XML documents could vary

Re: Problems streaming PDF over HTTPS to IE

2004-01-08 Thread Brice Ruth
I've overcome this by simply setting the name of the PDF that is streamed to have a timestamp, so its different everytime its loaded and IE doesn't think its cached. I had no luck with any of the HTTP headers. Brown, James wrote: We are having a problem streaming a PDF to Internet Explorer

Re: Upload file

2004-01-07 Thread Brice Ruth
The Struts distribution includes an example application that performs a file upload and has all necessary components to receive and save the uploaded file. Should be called struts-upload.war in the 'webapps' directory of your Struts distribution. Honza Spurn wrote: Hello there, please could

Re: Upload file

2004-01-07 Thread Brice Ruth
its in the regular (binary) distribution as well ... (with src in the .war, I believe) Shishir K. Singh wrote: I think there are examples related to Upload in the struts src distribution. Download the src and go through that. That should get you started. Shishir -Original Message-

Re: server hangs after finite number of requests

2004-01-07 Thread Brice Ruth
Just a recommendation - instead of doing your own database stuff, try out iBATiS, I don't think you'll be sorry ... Heather Marie Buch wrote: Yes yes! The finally block has got to be it! I was closing the connection just before returning a user, forgetting that if authorization failed I would

Best Practice: separating images from main application WAR

2004-01-07 Thread Brice Ruth
Greetings. In the now-live fiskars.com site we have oodles of product images (somewhere in the neighborhood of about 5000). Now, currently, all our images are tracked through CVS, which is a good thing. Also, they are all packaged in the the deployment WAR (/products/.../). Now, ideally, I'd

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Brice Ruth
Martin Cooper wrote: Brice Ruth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown

Date validation problem?

2003-12-30 Thread Brice Ruth
I'm testing the JavaScript validation for my form and noticed that the JavaScript generated to validate my date fields throws an error that I can see in Firebird's JavaScript console. Here's the error: datePattern has no properties and here's the line it occurs on: for (x in oDate) { var

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
the javascript datePattern var isn't a valid object. -Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:55 AM To: Struts Users Mailing List Subject: Date validation problem? I'm testing the JavaScript validation for my form and noticed

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
datePatternStrict, so be aware that if you were counting on datePattern functionality serverside, it may not work as you had expected. -Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 10:44 AM To: Struts Users Mailing List Subject: Re: Date

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
get slightly different results as they are supposed to act slightly differently. :) -Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 11:08 AM To: Struts Users Mailing List Subject: Re: Date validation problem? How exactly do I get server

server-side validation with Validator

2003-12-30 Thread Brice Ruth
OK, I have to admit, I'm a bit confused using Validator, despite looking at the online docs having Ted's excellent book at hand. I have everything setup to do server-side validation, as far as I can tell ... I've set a breakpoint in DynaValidatorActionForm.validate and it is getting called

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
OK, nevermind ... I just needed to change DynaValidatorActionForm to DynaValidatorForm ... now it works. Brice Ruth wrote: OK, I have to admit, I'm a bit confused using Validator, despite looking at the online docs having Ted's excellent book at hand. I have everything setup to do server

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
The DynaValidatorActionForm will match the formset name with the action-mapping path. it uses mapping.getPath() for init the validator -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 7:11 PM To: Struts Users Mailing List Subject: Re: server-side validation

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
Aha, ok ... got it now. Thanks! Robert Taylor wrote: One could use DynaValidatorActionForm for wizard processes that used the same form but validate different fields based on the path. robert -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30

Re: need some sample Tiles definitions usage

2003-12-30 Thread Brice Ruth
once you have an entry in tiles-defs.xml, in place of a path to a JSP for your Action (in struts-config.xml), put the name you've assigned to your tile definition. You'll need to make sure that the Tiles plug-in is also activated in your struts-config.xml. Jim Anderson wrote: I've taken the

Re: [OT] Who owns Eclipse

2003-12-29 Thread Brice Ruth
? What do you think? Brice Ruth wrote: Eclipse is an Open Source Project, bottom line. WSAD is built on the Eclipse framework ... you see, Eclipse isn't just an IDE, that's just one particular incarnation of Eclipse plugins. Eclipse is simply an extensible plugin framework that can be used

Re: tiles, conditional choice of

2003-12-29 Thread Brice Ruth
No sweat, Vic :) wrote: Brice Ruth wrote: One recommendation I've received from this list is to have your 'variable' tile be an Action, so that you would have an order of magnitude less tile defs to create ... at least, that's how I understood it :) Sorry about that;-}It's not easy

Re: newbie struts/ant build questions

2003-12-29 Thread Brice Ruth
What are you using as your base build.xml file? Lawrence Cryderman wrote: Hi, I'm having a heck of a time getting ant to build my simple struts app. Right now I'm getting: BUILD FAILED java.lang.ExceptionInInitializerError With the ant -v

Re: application.properties

2003-12-29 Thread Brice Ruth
the last entry overrides any previous entries. I'm not sure how MessageProperties is implemented, but I always think of a hashmap, where identical entries will override previous ones. Otávio Augusto wrote: Hi all The application.properties file, from which i retrieve my resouce messages, has

Re: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Brice Ruth
In theory, you could write a filter for the forwards that would check to see if a REFERER is set for the request. If not, the request was likely entered directly in a browser. Jim Anderson wrote: To clarify: I would like to be able to define ActionForwards for use within the app but which

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Brice Ruth
The cleanest thing to do here, likely, would be to have your 'content' attribute have a value that maps to an Action (/search.do would work, I think - Vic might be able to confirm this) and in the Action class, define an attribute heading stored in request context, that pulls from request

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Brice Ruth
Wow, that's pretty cool ... I'll have to check out the controllerClass stuff sometime :) Domingo A. Rodriguez S. wrote: Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-defs.xml file:

Still having problems with File upload (multipart-formdata)

2003-12-29 Thread Brice Ruth
I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadBase$SizeLimitExceededException

Re: tiles, conditional choice of

2003-12-27 Thread Brice Ruth
One recommendation I've received from this list is to have your 'variable' tile be an Action, so that you would have an order of magnitude less tile defs to create ... at least, that's how I understood it :) Brady Hegberg wrote: Of course! I just need to forward to the def that corresponds

Re: [OT] Who owns Eclipse

2003-12-26 Thread Brice Ruth
Eclipse is an Open Source Project, bottom line. WSAD is built on the Eclipse framework ... you see, Eclipse isn't just an IDE, that's just one particular incarnation of Eclipse plugins. Eclipse is simply an extensible plugin framework that can be used for any type of application, by anyone out

Re: parameters in a link

2003-12-24 Thread Brice Ruth
the paramId value of html:link will be the name of the parameter that gets passed in the query string, the paramName attribute will be the name of a bean that is used (toString) to generate the value of that parameter. So, something like this: c:set var=myTopic value=Struts/ html:link

Re: parameters in a link

2003-12-24 Thread Brice Ruth
Oh, and check here: http://jakarta.apache.org/struts/userGuide/struts-html.html#link All the info you should ever need :) Otávio Augusto wrote: U mean i just need to add the paramId ? thanks Otávio Augusto On Wed, 24 Dec 2003 16:11:52 + Mark Lowe [EMAIL PROTECTED] wrote: just need

Re: Select without selected value

2003-12-24 Thread Brice Ruth
You could also do something like: option/option Which should give you something resembling no option being selected. Beware, unless you have validation of this field, it is perfectly valid for the browser to submit this ... Wendy Smoak wrote: -Original Message- I use select with

Can't upload file?!

2003-12-23 Thread Brice Ruth
I'm trying to follow the example provided by the struts-upload app, but for some reason, the struts-upload app doesn't appear to work! I just dropped the struts-upload.war in my Tomcat's webapps directory, I get the upload.jsp page, but when I submit, I just get a blank page, with no output to

Re: Struts HTML tag rewriting url wrong

2003-12-23 Thread Brice Ruth
Any reason why you can't setup Tomcat to listen on port 80, instead of forwarding the requests? That's how my dev/test env is setup, and it seems to do the trick :) David Erickson wrote: Hi all, I'm using the html struts tags to do some url writing for me, with forms etc. I have tomcat setup

Re: Can't upload file?!

2003-12-23 Thread Brice Ruth
Rabago wrote: Check if the file you're uploading exceeds the limit set in the struts-config file. I think a blank page is what I got when I did that on my tests. Hubert --- Brice Ruth [EMAIL PROTECTED] wrote: I'm trying to follow the example provided by the struts-upload app, but for some

Re: Struts HTML tag rewriting url wrong

2003-12-23 Thread Brice Ruth
- Original Message - From: Brice Ruth [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 12:10 PM Subject: Re: Struts HTML tag rewriting url wrong Any reason why you can't setup Tomcat to listen on port 80, instead of forwarding the requests

[OT] Re: Struts and Google

2003-12-22 Thread Brice Ruth
Just an FYI to the list - I just sent off the code we're using to do this: I implemented a filter that loads a list of common search engine user-agent strings, and if it detects access from one of those, it disables URL-rewriting on the HttpServletResponse that is passed to the ActionServlet. to

Re: URGENT - Help defending Struts [slightly off-topic]

2003-12-19 Thread Brice Ruth
This is entirely inappropriate for this list, please take comments such as these off-line with interested parties. Please keep posts to this list professional and above-board. ajay brar wrote: hi! i was going to take this opportunity to point out how CIO's are generally big duds, esp the CIO

Re: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread Brice Ruth
Actually, I believe you're only partially correct. Galeon/Moz/Netscape all use Gecko for rendering, I believe - but Konq, by default, at least, uses KHTML, which is also the core of the renderer used by OS X's Safari browser. Testing in those, when it comes to JavaScript, though - is still

Re: action local forward to a tile

2003-12-19 Thread Brice Ruth
to move to struts for our dev. But its been really embarassing that I cannot get even this simple no-functionality version deployed correctly. It works as long as the forward is not a tile; if its a jsp page the forward works. TIA -Original Message- From: Brice Ruth [mailto:[EMAIL

Re: Struts and Google

2003-12-19 Thread Brice Ruth
Just an FYI, though - I'm not sure on Google, but many search engines don't support cookies, and get tripped up on the jsessionid parameter that commonly used application servers (like Tomcat) put in your URLs and image references when using things like html:link and html:img. Our local search

Re: Struts and Google

2003-12-19 Thread Brice Ruth
Yes, scissors :) And sure, I'll send you what I have in just a bit - we're getting ready for a new release (buy now functionality), so I'm a bit swamped. Wendy Smoak wrote: From: Brice Ruth [mailto:[EMAIL PROTECTED] ^^^ scissors?? I implemented

Re: Struts and Google

2003-12-19 Thread Brice Ruth
Well, query string parameters are one thing - and most search engines handle that fine, what I'm talking about, though, is what Tomcat and other Java containers insert between the URI's file path (http://blah.blah.com/someaction.do) and the begin of the query string parameters (?x=blahy=blah)

Re: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread Brice Ruth
Ajay From: Brice Ruth [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: OT: Examples of HTML-based user interfaces? Date: Thu, 18 Dec 2003 21:22:38 -0600 You might be interested in a previous post that talked about

Re: action local forward to a tile

2003-12-19 Thread Brice Ruth
Oh, don't you worry ... I spent a couple hours yesterday debugging a custom taglib that ended up not having the right classpath defined in the .tld file!! Ebersole, Steven wrote: ouch... 4 days to figure that out. At least I can laugh about it now :) Thanks for catching that.

Re: [OT] HTML Select box

2003-12-19 Thread Brice Ruth
From a GUI perspective, how would you select multiple things in a drop-down? I can't actually recall ever seeing this type of widget anywhere (irrespective of HTML). Could you send an example? Jerry Jalenak wrote: Hi All, Can't seem to find a way to do this, even though I've seen it done (I

Re: [OT] HTML Select box

2003-12-19 Thread Brice Ruth
right, but that's in a multi-select box, not in a drop-down select. Craig R. McClanahan wrote: Quoting Brice Ruth [EMAIL PROTECTED]: From a GUI perspective, how would you select multiple things in a drop-down? I can't actually recall ever seeing this type of widget anywhere (irrespective

Re: URGENT - Help defending Struts

2003-12-18 Thread Brice Ruth
http://www.fiskars.com/ - our buy online functionality is launching later this evening, integrating with a 3rd-party fulfillment vendor. All aspects of the site, including the localization to French German (with 12 more localizations to launch in Q1/Q2 of '04) are driven through Struts.

Re: URGENT - Help defending Struts

2003-12-18 Thread Brice Ruth
I believe that major portions of the kraft.com and saralee.com consumer sites are also driven using J2EE/Struts, based on a training session I went to yesterday with the consulting group that is helping/developing their sites. Brice Ruth wrote: http://www.fiskars.com/ - our buy online

Re: action local forward to a tile

2003-12-18 Thread Brice Ruth
Try commenting out the controller element in your struts-config.xml. I had problems with this and that did the trick for me. Lemme know if that works for you! Ebersole, Steven wrote: hey all, i'm running into an issue I just cannot seem to figure out. It deals with trying to define an action

Re: OT: Examples of HTML-based user interfaces?

2003-12-18 Thread Brice Ruth
You might be interested in a previous post that talked about Macromedia's new Flash+Struts integration ... that would give you all the GUI goodness you could imagine, without getting into writing what would almost necessarily have to be some ugly DHTML.

Re: ActionMapping - regexp pattern matching for path

2003-12-17 Thread Brice Ruth
No, I don't believe this is possible currently. Wildcards of any kind (extending to regexps) are not support for ActionMapping paths. Sergey Proskurnya wrote: Hello to all, In Struts-1.1 it is possible to bind Actions to static URL path, but is it possible to bind Actions to the set of the

Re: Best way to parse a String and replace line feeds with br for html?

2003-12-17 Thread Brice Ruth
You'll either need to write a custom taglib, or use a scriptlet as follows: % myString = myString.replaceAll(\n,br); % David Erickson wrote: Situation: using the html:textarea element tag to enter notes on an object, thats getting persisted as a blob in our database. I would like to be able to

Re: tiles-el

2003-12-12 Thread Brice Ruth
At times in the development of our most recent project (many, many Tiles with quite pervasive use of extension, overriding, etc.), I've thought I really needed tiles-el, but I always managed to get around it. If you want to post what it is you're trying to do, we can probably help you w/o

Re: [OT] Beer

2003-12-12 Thread Brice Ruth
Or Ireland or Germany, for that matter. You need stray no further than Guiness (your stout) and Hacker Pschorr, your Hefeweiss. Set for life :) VAN BROECK Jimmy wrote: Then you were lucky that at that moment no one from Belgium was active or they would have proved otherwise. ;) -Original

Re: [OT] Beer

2003-12-12 Thread Brice Ruth
Hey, Adam - I've been to Munich many times, though never for the Oktoberfest - which is a shame, I think :) Prosit! (cheers) Adam Hardy wrote: Hey Brice, have you been to Munich then? I know that Weissbier! Adam On 12/12/2003 03:54 PM Brice Ruth wrote: Or Ireland or Germany, for that matter

Re: Pass A String From Servlet And Write Out Its Value in JSP

2003-12-08 Thread Brice Ruth
The easiest way to do this isn't with a Struts tag, per se, but with a JSTL tag, I think - just use the JSTL 1.0 (or 1.1) tag library like so: % taglib uri=http://java.sun.com/jstl/core; prefix=c % c:out value=${c}/ That *should* work for either a session-scoped variable or a request-scoped

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Brice Ruth
I was under the impression that creating threads from within a web application was a relatively big no-no ... I seem to remember reading in my J2EE book it talking about their being an implicit contract between the the application and the container that no add'l threads would be created, so

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Brice Ruth
Cool, thanks for clearing that up - your explanation is very good :) Kirk Wylie wrote: Brice Ruth wrote: I was under the impression that creating threads from within a web application was a relatively big no-no ... I seem to remember reading in my J2EE book it talking about their being

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Brice Ruth
So, to clarify - is the mail-sending slow waiting for the mail server to return with a 250 - OK response, or is creating the mail message to send (with all the BCC: addresses), before sending it over to the server, slow? The point being - in theory, the mail server should bear the brunt of the

OpenSTA/JUnitPerf/etc. - automated testing info

2003-12-02 Thread Brice Ruth
Can anyone direct me to some good mailing list(s)/forum(s)/book(s)/periodical(s) (all of the above) for doing unit testing, performance analysis, automated testing through Ant, site monitoring, etc. for JSP/Servlet/Struts/Tiles/J2EE-ish sites? I know so little about this particular aspect, yet

Re: [OT] Need Free database

2003-11-25 Thread Brice Ruth
Agreed Jeff Kyser wrote: do a little homework, buddy. that's a bogus question that is hardly excused by an [OT] prefix. -jeff On Tuesday, November 25, 2003, at 06:04 AM, Agashivala, Vishal wrote: Hi All, Can any buddy suggest me Database which is free and has JDBC driver. If possible get me

Re: links without underline/border

2003-11-24 Thread Brice Ruth
Just an FYI - to remove the border, you wouldn't use the CSS for text-decoration, you'd use border: none; ... :) Sonam Belbase wrote: I'm trying to get the image be a link and not be underlined, but the following still renders an image with with a border. html:link

Re: disable submit button unless all required fields are filled

2003-11-24 Thread Brice Ruth
How about having JavaScript only perform submission of the form when all fields are entered (using validation) ... that would make a bit more sense. Otherwise, you'd have to put a method in the handlers for every field that fires when that field loses focus, to determine if the submit button

Re: Fruits of your help

2003-11-21 Thread Brice Ruth
/crafts/crafts/category was requested). Apache Tomcat/4.1.27 worse is better -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:40 AM To: Struts Users Mailing

Fruits of your help

2003-11-20 Thread Brice Ruth
Thanks to all on this list that helped me with my JSP/Servlet/Struts/Tiles issues ... the fruit of your help is now live (under a MUCH accelerated schedule and not nearly enough time for QA/QC, but what's new?) http://www.fiskars.com/ If the first thing you see isn't a Flash movie, and the

problem with html:link params?!

2003-11-20 Thread Brice Ruth
I'm passing a HashMap with link parameters to the html:link tag using the name attribute and whenever the Hash contains more than one parameter to add, in the a href= that gets created, the parameters are separated by amp; - not ... which seems to not bother popular browsers, but the search

Re: Fruits of your help

2003-11-20 Thread Brice Ruth
it, I've found 2 mistakes : - in French (in the menu) Garden should be translated in Jardin - under mozilla 1.5, the select country in the firste jsp display curuiously (instead of the country's names it display html tags) Carl Brice Ruth wrote: Thanks to all on this list that helped me with my

Re: problem with html:link params?!

2003-11-20 Thread Brice Ruth
So, html:link puts the params in the page separated by amp; - not by as it should (?) be?!? Kris Schneider wrote: Hey, man, don't blame that filter! ;-) That's just the hard-coded behavior of html:link. Quoting Brice Ruth [EMAIL PROTECTED]: I'm passing a HashMap with link parameters

Re: problem with html:link params?!

2003-11-20 Thread Brice Ruth
engine vendor. Kris Schneider wrote: In XML, an designates the beginning of an entity reference (e.g. lt;). I'm not sure what the HTML 4.01 spec requires, but for XHTML 1.0 it's definitely a requirement to use amp; in attribute values. Quoting Brice Ruth [EMAIL PROTECTED]: So, html:link puts

Disable URL-rewriting?

2003-11-18 Thread Brice Ruth
Is there any way to disable URL rewriting (with jsessionid) in Tomcat or via struts-config.xml or anything? I'm about at my wits end with this jsessionid thing - now our search engine which indexes by crawling the site (and doesn't support cookies) can't index properly because of the

Re: Disable URL-rewriting?

2003-11-18 Thread Brice Ruth
Brice Ruth [EMAIL PROTECTED]: Is there any way to disable URL rewriting (with jsessionid) in Tomcat or via struts-config.xml or anything? I'm about at my wits end with this jsessionid thing - now our search engine which indexes by crawling the site (and doesn't support cookies) can't index

Re: Disable URL-rewriting?

2003-11-18 Thread Brice Ruth
elements to web.xml. How would you determine if a request originated from your search engine? User-Agent header? Specific request parameter? Quoting Brice Ruth [EMAIL PROTECTED]: Kris, Thanks for the response. I saw that I could do the opposite :) - no help there. I'd be really interested

Re: Disable URL-rewriting?

2003-11-18 Thread Brice Ruth
originated from your search engine? User-Agent header? Specific request parameter? Quoting Brice Ruth [EMAIL PROTECTED]: Kris, Thanks for the response. I saw that I could do the opposite :) - no help there. I'd be really interested in pursuing your second suggestion. Ideally, I'd see setting up

Re: Disable URL-rewriting?

2003-11-18 Thread Brice Ruth
. Hm, what if you create a filter to wrap the response with an HttpServletResponseWrapper that no-ops encodeUrl and encodeURL? Quoting Brice Ruth [EMAIL PROTECTED]: Is there any way to disable URL rewriting (with jsessionid) in Tomcat or via struts-config.xml or anything? I'm about at my wits end

Re: anyone using jstl side by side with the strut taglibs?

2003-11-18 Thread Brice Ruth
Once you use EL, you don't have much of a choice than to use them side-by-side. Nick Faiz wrote: Hi, I'm nearing the end of a prototype for my first Struts application. At first, I used JSTL to handle most of my iteration, declarations, and conditional operations. Then, as I

Re: anyone using jstl side by side with the strut taglibs?

2003-11-18 Thread Brice Ruth
Expression Language ... its being able to use ${param.id} in a JSP tag to get the value of the id request parameter passed to the JSP using it. Or being able to do something like test=${empty linkParams} to test if a particular variable has no values/is null/etc. Gus Heck wrote: Brice Ruth

Re: How to iterate over two collections ?

2003-11-17 Thread Brice Ruth
You could loop over one collection, exposing the varStatus, which contains the key, and use the key to look up in the second map ... I think? Vinita Keswani wrote: Hello, Could anyone please tell me if there is a workaround for iterating over two collections at the same time when both have the

Re: how to disable (or work around) jsessionid in html:img sources

2003-11-13 Thread Brice Ruth
Btw, Kris - I just had to make use of this code that you provided, and it works perfectly. Sweet! Kris Schneider wrote: If you can accomplish what you want via Apache rewrite rules, that seems like a simpler solution. If that doesn't work out, here's a JSP/JSTL equivalent of how html:img comes

Re: Multiple modules in a .EAR without code replication

2003-11-11 Thread Brice Ruth
We just finished a thread on this - see the thread named Struts across WARs ... http://www.mail-archive.com/[EMAIL PROTECTED]/msg86129.html [EMAIL PROTECTED] wrote: I am creating a STRUTS based app with .EAR as the deployable in which I want to host 2 .WARs, one for the internal user and the

Re: usage of tags inside tags

2003-11-11 Thread Brice Ruth
within the struts tags that support EL, you need to use the ${...} syntax. To my knowledge, the only (standard) tags that use $var are the JSTL xml tags. Make sure that you are using the struts-html-el taglib. [EMAIL PROTECTED] wrote: Hi in this construct c:set var=randrand:string ... //c:set

Re: usage of tags inside tags

2003-11-11 Thread Brice Ruth
Use the ${...} syntax with whatever you name the var in: c:set var=randrand:string ... //c:set In this example, the variable is named rand - so you'd use ${rand}. Or, don't use that syntax at all and use the html:hidden ... rand:string ... //html:hidden syntax. Where you don't need to

Re: usage of tags inside tags

2003-11-11 Thread Brice Ruth
What HTML is generated? [EMAIL PROTECTED] wrote: I used the second sytax as html:hidden property=keycode rand:string id=random1 charset=all property=random / /html:hidden And i cannot see this value in my keycode. I do not want to store it anywhere but the resetPasswordForm the form bean for

Re: usage of tags inside tags

2003-11-11 Thread Brice Ruth
the c:out .../ tag with jsp:getProperty name=random1 property=random/ Brice Ruth wrote: What HTML is generated? [EMAIL PROTECTED] wrote: I used the second sytax as html:hidden property=keycode rand:string id=random1 charset=all property=random / /html:hidden And i cannot see this value in my

Re: ear file

2003-11-11 Thread Brice Ruth
There should be documentation tools in Sun's J2EE reference implementation download ... check out the J2EE section at java.sun.com. Rhet Behler wrote: can someone tell me how to build an ear for deployment? -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc.

Re: Having more than one tleDefinitions.xml

2003-11-10 Thread Brice Ruth
I don't believe you can share tile-definitions between modules, since the Tiles plug-in is responsible for the Tile definitions, and that plug-in is loaded per-module, if I'm not mistaken. Maybe the default plug-in could be extended to support what you're trying to do? Parthasarathy Kesavaraj

Re: [OT] [ANNOUNCE] JUnit in Action now available

2003-11-10 Thread Brice Ruth
Sweet! Just what I was lookin' for ... :) JUnit rocks, we mere mortals simply need some guidance on some better practices with regards to testing! Ted Husted wrote: A new book offering, JUnit in Action, by Jakarta regulars Vincent Massol and Ted Husted, is now available for purchase.

  1   2   >