RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
FYI doesn't work in Tomcat 5 either. Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: June 30, 2003 1:42 PM To: Struts Users Mailing List Subject: RE: site root going straight to a .do I'd be interested to see what you've put in your WEB.XML file

RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
Ah! I understand, the empty file fools resin into think it exists. I'll try it out. Steve -Original Message- From: Mark McBride [mailto:[EMAIL PROTECTED] Sent: June 30, 2003 1:51 PM To: Struts Users Mailing List Subject: RE: site root going straight to a .do This is my entry

RE: Struts 1.1 bean:write problem

2003-06-30 Thread Steve Raeburn
to be able to say that ;-) ) works on your setup. If it does, then maybe you could try add just the bean setup and display code that you think is causing the problem. Steve -Original Message- From: David Jiao [mailto:[EMAIL PROTECTED] Sent: June 30, 2003 1:52 PM To: Struts Users Mailing

RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
I tried this and it works on Tomcat 4.1.24 and Websphere 5 (WSAD Test environment). The file doesn't need to be blank, so you could include an explanation for anyone who comes along later and tries to edit the file. Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED

RE: Sending a Redirect Directly from an Action Class

2003-06-29 Thread Steve Raeburn
way as the jsp otherwise the discussion, in the context of redirection, is meaningless. I could equally ask why you don't just programme the whole thing in Fortran, but that would be equally tangential to the original question :-) Steve

RE: Sending a Redirect Directly from an Action Class

2003-06-29 Thread Steve Raeburn
The statement, The JSP page somePage.jsp could not be protected by the standard security constraints. is incorrect. This discussion no longer has anything to do with Struts. Unless you disagree with either of these points can we now drop it, please? Steve

RE: Submiting a form through a link

2003-06-29 Thread Steve Raeburn
Thanks for the clarification. I knew a normal link worked like that but wasn't sure of the interaction with the form submission. Steve -Original Message- From: Kruse, Matt [mailto:[EMAIL PROTECTED] Sent: June 29, 2003 8:31 AM To: 'Struts Users Mailing List ' Subject: RE: Submiting

RE: Submiting a form through a link

2003-06-29 Thread Steve Raeburn
it would help if you posted some of your code so I can better understand what you are trying to do. Steve -Original Message- From: Cristiano Moreira Silva [mailto:[EMAIL PROTECTED] Sent: June 29, 2003 9:14 AM To: [EMAIL PROTECTED] Subject: Re: Submiting a form through a link

RE: Sending a Redirect Directly from an Action Class

2003-06-29 Thread Steve Raeburn
of doing things but your assertion that the JSP page could not be protected by standard security constraints is just plain wrong. Steve -Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED] Sent: June 29, 2003 11:12 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re

RE: struts-logon

2003-06-29 Thread Steve Raeburn
There's a tld file missing from the WEB-INF/lib folder. Cut and past the following into a file called app.tld in the WEB-INF/lib folder. (This is just the version from the Struts example application that is in the Struts distribution, so you can copy that file if it's easier). Steve ?xml

RE: Sending a Redirect Directly from an Action Class

2003-06-29 Thread Steve Raeburn
to avoid giving offence. Perhaps you should consider that yourself, next time. I'm not getting anything out of this now and I'm sure others have more than enough information about the subject so let's consider the matter closed. Steve

RE: Submiting a form through a link

2003-06-29 Thread Steve Raeburn
OK, I see now. Try adding return false; at the end of your go() method. I had it in my example and Matt explained earlier why it works. As I said, you can just use a standard HTML a tag in this case. Steve -Original Message- From: Cristiano Moreira Silva [mailto:[EMAIL PROTECTED

RE: Submiting a form through a link

2003-06-29 Thread Steve Raeburn
wrong with a simple button? Then you wouldn't need to resort to javascript and all users would be able to use the form. Steve -Original Message- From: José Ventura [mailto:[EMAIL PROTECTED] Sent: June 29, 2003 1:20 PM To: [EMAIL PROTECTED] Subject: Re: Submiting a form through a link

RE: Sending a Redirect Directly from an Action Class

2003-06-29 Thread Steve Raeburn
*Sigh* This discussion is now closed. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Sturts - Custom Tags and limitations

2003-06-29 Thread Steve Raeburn
compliant (they can just delegate to the existing methods). You should consider deprecating the old methods so they could be removed in future. If you can't touch the existing classes at all (why?), think about using adaptor classes. Steve -Original Message- From: Benjamin Stewart

RE: Sturts - Custom Tags and limitations

2003-06-29 Thread Steve Raeburn
Should read: I would not recommend creating custom tags... Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Sturts - Custom Tags and limitations

2003-06-29 Thread Steve Raeburn
I also misspoke. LinkedHashMap is, of course, not a Collection class but it does work. Been a long day for some reason ;-) Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Sturts - Custom Tags and limitations

2003-06-29 Thread Steve Raeburn
. Steve -Original Message- From: Benjamin Stewart [mailto:[EMAIL PROTECTED] Sent: June 29, 2003 5:23 PM To: Struts Users Mailing List Subject: Re: Sturts - Custom Tags and limitations In order to make our classes bean compliant we would have to change our constructors so they dont

RE: Sturts - Custom Tags and limitations

2003-06-29 Thread Steve Raeburn
objects (Data Transfer Objects). A class that is checking the database sound like part of the business or data access layers. http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html Steve -Original Message- From: Benjamin Stewart [mailto:[EMAIL PROTECTED] Sent: June 29, 2003 6:01

RE: Sturts - Custom Tags and limitations

2003-06-29 Thread Steve Raeburn
; } } Set in request as person... c:out value=${person.selected}/ bean:write name=person property=selected/ Post some code if you're still having problems. Steve -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: June 29, 2003 8:20 PM To: 'Struts Users Mailing List

RE: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Steve Raeburn
message that a form was submitted out of sequence! So, sometimes a redirect is the right thing to do, but for maximum flexibility it should be done using an ActionFoward with redirect set to true. Steve Jing Netspread Carrier http://www.netspread.com - Original Message - From: Mike Duffy

RE: Submiting a form through a link

2003-06-28 Thread Steve Raeburn
code. Steve p.s. Don't forget that if your users don't have javascript enabled then they won't be able to use this feature of your site. ;-) -Original Message- From: Cristiano Moreira Silva [mailto:[EMAIL PROTECTED] Sent: June 28, 2003 12:02 PM To: Struts Users Mailing List Subject

RE: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Steve Raeburn
the address bar are unneccesary, inelegant and are easily broken. By using a redirect you don't need to resort to such tactics. I don't think anyone has ever suggested that redirects should not be used. They're just another tool in the box. Steve

RE: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Steve Raeburn
was whether to use sendRedirect in the action or use an ActionForward. That question has been answered. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Steve Raeburn
nothing to do with redirects or container security. Hope that is clearer Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: using Commons logging for struts

2003-06-27 Thread Steve Raeburn
to add other similar lines to filter other packages that struts depends on. Steve -Original Message- From: Swaminathan Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: June 27, 2003 3:18 PM To: [EMAIL PROTECTED] Subject: using Commons logging for struts I use commons logging in my struts

RE: using Commons logging for struts

2003-06-27 Thread Steve Raeburn
BTW, in my case I set the root looger to ERROR and then explicitly enabke anything I'm interested in. log4j.rootCategory=ERROR, CONSOLE log4j.logger.com.ninsky=DEBUG Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: June 27, 2003 3:35 PM To: Struts

RE: org.apache.struts.legacy.GenericDataSource not found in the source code

2003-06-27 Thread Steve Raeburn
It's in the 'contrib' directory. Steve -Original Message- From: Mounagurusamy, Jayakumar (HAL) [mailto:[EMAIL PROTECTED] Sent: June 27, 2003 5:38 PM To: 'Struts Users Mailing List' Subject: org.apache.struts.legacy.GenericDataSource not found in the source code I just down

RE: choosing ActionForm dynamically

2003-06-26 Thread Steve Raeburn
a multi-page form. Steve -Original Message- From: Christopher Bare [mailto:[EMAIL PROTECTED] Sent: June 26, 2003 4:50 PM To: [EMAIL PROTECTED] Subject: choosing ActionForm dynamically I'm a fairly new Struts user, struggling to get up that first hump on the learning curve, so

RE: Http:// line display

2003-06-24 Thread Steve Raeburn
have /action/* or /cart/* for example. I believe the only limitation is that if you use multi-ple struts modules you have to use extension mapping (*.do) Frames? Ugh! ;-) Steve -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 12:20 AM To: Struts Users

RE: Best practices - help

2003-06-24 Thread Steve Raeburn
. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 3:22 AM To: [EMAIL PROTECTED] Subject: Best practices - help Is there a way to populate a bean on a Server's (I'm using Tomcat) start up in Struts? I have a Java bean, say X, which

RE: Accessing indexed properties in DynaActionForm (1.1rc2)

2003-06-24 Thread Steve Raeburn
Try phone[0] and phone[1] Steve -Original Message- From: Alexey N. Shananin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 3:26 AM To: Struts Users Mailing List Subject: Accessing indexed properties in DynaActionForm (1.1rc2) Hi! I found no answer in an archives, so I'm asking

RE: Best practices - help

2003-06-24 Thread Steve Raeburn
. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 3:22 AM To: [EMAIL PROTECTED] Subject: Best practices - help Is there a way to populate a bean on a Server's (I'm using Tomcat) start up in Struts? I have a Java bean, say X, which

RE: submit buttons

2003-06-24 Thread Steve Raeburn
is pressed, the LookupDispatchAction might help. Steve -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 3:55 AM To: Struts Users Mailinglist Subject: submit buttons Hi, i have the following problem: i need a submit button that sets

RE: Best practices - help

2003-06-24 Thread Steve Raeburn
jsp file, not just a snippet!) Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 4:11 AM To: [EMAIL PROTECTED] Subject: Re: Best practices - help Hi Steve, The problem is that /MyLayer.jsp happens to be my welcome page. This page

RE: Connection Pool: JPetStore Database Layer

2003-06-24 Thread Steve Raeburn
I'll get right on that then :-( Steve -Original Message- From: Kumar, Kiran [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 1:42 PM To: 'Struts Users Mailing List' Subject: RE: Connection Pool: JPetStore Database Layer I need the jar files urgently Thanks KiranKumar (Raj

RE: Looking for ideas for action servlet checking for logged in user.

2003-06-24 Thread Steve Raeburn
Take a look at http://securityfilter.sourceforge.net/. I've just started using it in a struts app. I haven't ironed out all the kinks in integrating with Struts yet but it looks really useful. Steve -Original Message- From: Varun Garg [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 2:09

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Steve Raeburn
than mine but is designed to test the tags rather than be easy to understand for someone new to Struts. HTH Steve -Original Message- From: Rassmann, Natalie D [mailto:[EMAIL PROTECTED] Sent: June 23, 2003 11:43 AM To: Struts Users Mailing List Subject: Re: html:option

RE: Example of html:select in use

2003-06-22 Thread Steve Raeburn
examples -- I've found myself referring back to it a couple of times so there's at least one satisfied customer :-) If you think it's OK, let me know what you want to do with it and what I should do next. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: June 21

RE: search at nagoya.apache.org

2003-06-22 Thread Steve Raeburn
It looks broken to me. I also tried searching the Tomcat user list and that gives the same result - 'Text search not available for this list.' Steve -Original Message- From: Fedor Smirnoff [mailto:[EMAIL PROTECTED] Sent: June 22, 2003 6:44 PM To: Struts Users Mailing List; [EMAIL

RE: [OT] Using different JDK in Eclipse

2003-06-20 Thread Steve Raeburn
You can also change the current default JRE via Window/Preferences/Java/Installed JREs. Eclipse maintains JRE_LIB and JRE_SRC variables which always point to the current default JRE. This should avoid you having to change your project if you need to swap between different JREs. Steve

RE: html:error/

2003-06-13 Thread Steve Raeburn
Most decent browsers offer the option of blocking pop-up windows, so unless you are developing for an Intranet where you can dictate the browser environment you run the risk of users not even seeing your error error messages. Steve -Original Message- From: Emma Gabriela Guevara

RE: checkboxproblem

2003-06-12 Thread Steve Raeburn
Set the checkbox values to true in the Action that displays your form not in the reset method of your ActionForm. You'll find more detail on this if you search the list archives. Steve -Original Message- From: Kristine Weissbarth [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 1:30 AM

RE: Digester errors in struts example

2003-06-12 Thread Steve Raeburn
Look in the logs subdirectory of your Tomcat installation. I've just checked and the app does load OK on my installation (Tomcat 4.1.24) Let me know if you continue to have problems. Steve -Original Message- From: Vijay Pawar [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 1:53 AM

RE: Digester error in struts example application

2003-06-12 Thread Steve Raeburn
I'll need to check back through the archives. This would affect you if your machine is not connected to the Internet so cannot access the DTD. Is your test machine online? Can you access the DTD (http://jakarta.apache.org/commons/dtds/validator_1_0.dtd) from a browser on that machine? Steve

RE: Digester error in struts example application

2003-06-12 Thread Steve Raeburn
OK, if I disconnect the network connection then I get the same problems. Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 3:10 AM To: Struts Users Mailing List Subject: RE: Digester error in struts example application I installed 4.1.18

RE: Digester error in struts example application

2003-06-12 Thread Steve Raeburn
-06-12.war (I also realised that it's no longer 2002 - Doh!) My apologies for the hassle. Do let me know if this causes you any more trouble! Steve -Original Message- From: Vijay Pawar [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 3:38 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject

RE: Does required work with Multi Select

2003-06-12 Thread Steve Raeburn
--gt/html:option html:options collection=%=my.Const.ROLE_TYPES% property=roleName / /html:select HTH Steve -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 11:33 AM To: [EMAIL PROTECTED] Subject: Does required work with Multi Select

Struts Examples Application

2003-06-11 Thread Steve Raeburn
: * comments from new struts users regarding how easy the examples are to understand * reports of any glaring errors or omissions from those who are more experienced with Struts Steve Please note: The URLs I've listed may not be long lived. I hope to shortly find a permanent home

RE: label for tag

2003-06-11 Thread Steve Raeburn
There's no reason to not use the label tag. If you want to externalize the label text you can use a struts tag: label for=firstnameFirst Name/labelinput bean:message key=prompt.firstName/ /label html:text property=firstName styleId=firstname/ Steve -Original Message- From: Ashok

RE: Call action from link

2003-06-10 Thread Steve Raeburn
that you don't include the .do extension when you specify an action. Use the path value exactly as defined in your struts-config file. Steve -Original Message- From: Darrell [mailto:[EMAIL PROTECTED] Sent: June 9, 2003 11:13 PM To: Struts Subject: Call action from link I have read

RE: log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).

2003-06-10 Thread Steve Raeburn
As Martin mentioned, it may take a while for the mirror sites to get the update. You can download the latest commons-logging release yourself from http://jakarta.apache.org/site/binindex.cgi. Make sure you use the correct jar ;-) Steve -Original Message- From: Bjorn T Johansen [mailto

RE: Why is dbcp / pool removed?

2003-06-10 Thread Steve Raeburn
have suggested - but you won't be forced to change unless it suits you. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Checkbox problem?

2003-06-10 Thread Steve Raeburn
this clarifies things. Steve -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: June 10, 2003 12:38 PM To: Struts Users Mailing List Subject: Re: Checkbox problem? oki, maybe my explanation isn't the best :) (I know that I can't do it in the reset method

RE: [OT] Tomcat 4.0 and JSP page over 64k

2003-06-09 Thread Steve Raeburn
You can populate the options from a collection and that will reduce the number of tags you use. I've got some examples at http://bobcat.webappcabaret.net/ninsky/ Steve -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: June 9, 2003 2:24 PM To: Struts Users Mailing

RE: commons-logging problem in 1.1 RC2

2003-06-09 Thread Steve Raeburn
or use an existing copy (30k) if you have one. JDK 1.4 logging may also work as shipped (I haven't tested it) as the Jdk14Logger class *is* include in the commons-logging API jar. Personally, I don't understand why there are two jars in the first place. Confusing! Steve -Original Message

RE: calling actions directly

2003-06-06 Thread Steve Raeburn
permitted. Steve -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Right, I'm running Websphere and we couldn't get it to work. However, I just upgraded to version 5. Does anyone know if changes in v5 allow the web-inf trick to work? From: Karr, David

RE: calling actions directly

2003-06-06 Thread Steve Raeburn
permitted. Steve -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Right, I'm running Websphere and we couldn't get it to work. However, I just upgraded to version 5. Does anyone know if changes in v5 allow the web-inf trick to work? From: Karr, David

RE: Singletons in Tomcat

2003-06-06 Thread Steve Raeburn
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Steve -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 10:06 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Singletons in Tomcat It is not unique to the session

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Steve Raeburn
mouse click. ;-) Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: struts (and JSTL) expression language questions

2003-06-05 Thread Steve Raeburn
? Is there a straightforward solution or do we have to abandon dotted notation for scoped attributes? Steve -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: June 4, 2003 6:39 PM To: [EMAIL PROTECTED] Subject: RE: struts (and JSTL) expression language questions It is a hard

RE: Struts 1.1

2003-06-03 Thread Steve Raeburn
of the risks of using what's there now compared to risks of using it when it's released. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: struts tags vs jstl

2003-06-03 Thread Steve Raeburn
Another crappy really obscure name, you might say. ;-) Steve -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: June 2, 2003 8:58 PM To: [EMAIL PROTECTED] Subject: Re: struts tags vs jstl I'm pretty sure that the latest release of Struts includes a subset

RE: Struts 1.1

2003-06-02 Thread Steve Raeburn
outstanding issue is a dependency on the commons fileupload component that is nearly ready and that the Struts release is planned to be real soon now ;-) Steve -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: June 1, 2003 4:39 PM To: [EMAIL PROTECTED] Subject: Re

RE: Populating Value Objects for the Business Tier

2003-05-31 Thread Steve Raeburn
ActionForms should carry a Strings only health advisory ;-) Steve -Original Message- From: Jordan Reed [mailto:[EMAIL PROTECTED] Sent: May 30, 2003 11:04 AM To: Struts Users Mailing List Subject: Re: Populating Value Objects for the Business Tier I've been playing #3 (Just

RE: DynaActionForm Coolness

2003-05-31 Thread Steve Raeburn
Could be because the html:link tag is Map backed form aware and is using get(String name) method of the DynaAction form, rather than getMap(). Of course the get() method does not have a property named map. I'll take at look at the tag source and check if this is the case. Steve -Original

RE: Can't decide where to do the Auth check

2003-05-31 Thread Steve Raeburn
mail-archive is not the only archive ... http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42 Steve -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: May 30, 2003 4:39 PM To: [EMAIL PROTECTED] Subject: Can't decide where to do the Auth check

RE: DynaActionForm Coolness

2003-05-31 Thread Steve Raeburn
would be a solution, but setting the map in the request via the Action, as per your example, works. Steve p.s. Ted, if you get a chance, I could use a quick yes, it looks like it might be useful or no, its a big pile of on the Struts Examples that were mentioned earlier this week (http

RE: [ANNOUNCE] stxx-1.2rc1 has been released

2003-05-31 Thread Steve Raeburn
the software's this good! Others who shall remain nameless could learn from this. Less sales pitch, more information. Steve -Original Message- From: Jeff Pennal [mailto:[EMAIL PROTECTED] Sent: May 30, 2003 11:06 PM To: [EMAIL PROTECTED] Subject: [ANNOUNCE] stxx-1.2rc1 has been released

RE: Who Has The Power?

2003-05-30 Thread Steve Raeburn
Maybe we could email him and ask him to empty his mailbox? ;-) Steve Error delivering to Chetan Khimjee/Impfleet; Router: Database disk quota exceeded - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: html:select tag

2003-05-30 Thread Steve Raeburn
Try this. http://bobcat.webappcabaret.net/ninsky/index.jsp I'd appreciate feedback if you find it useful (or not). Steve -Original Message- From: Shriyan Sanmuganathan [mailto:[EMAIL PROTECTED] Sent: May 29, 2003 9:59 AM To: [EMAIL PROTECTED] Subject: html:select tag I'm new

RE: URGENT: javax.servlet.ServletException: BeanUtils.populate

2003-05-30 Thread Steve Raeburn
I think it's your dates that might be the problem. BeanUtils does not have a supplied converter for java.util.Date. Try using java.sql.Date You may need a helper method on your form that returns a correctly formatted SQL date (-mm-dd). Steve

RE: URGENT: javax.servlet.ServletException: BeanUtils.populate

2003-05-30 Thread Steve Raeburn
with. If anyone knows a better way of handling Dates from forms then please share because this feels clunky and I don't like clunk. Steve -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: May 29, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: RE: URGENT

RE: html:select tag

2003-05-30 Thread Steve Raeburn
might not need to place your collections in the request each time. Depending on the list, you might be able to use the session or application scopes. For example, a list that all users share and does not change could be placed in the application scope at application startup. Steve -Original

RE: Struts and the infamous IE multiple browser/same session problem

2003-05-30 Thread Steve Raeburn
You can't. You can (I gather) prevent CTRL-N opening a new window automatically, but there's nothing stopping the user from opening a new browser instance manually. You still get the same session. Steve -Original Message- From: Geoff Apps [mailto:[EMAIL PROTECTED] Sent: May 30, 2003 7

RE: Struts and the infamous IE multiple browser/same session problem

2003-05-30 Thread Steve Raeburn
This post is worth a read if you're concerned about thread safety and ActionForms: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.orgmsgNo=37535 Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: cancel button problem

2003-05-30 Thread Steve Raeburn
And if you're not using javascript? Steve -Original Message- From: Tin Pham [mailto:[EMAIL PROTECTED] Sent: May 29, 2003 7:36 PM To: [EMAIL PROTECTED] Subject: Re: cancel button problem Why make the cancel a submit button? If you are not collecting the data, then use

Why do ActionForms allow non-string properties?

2003-05-30 Thread Steve Raeburn
of confusion would it not make sense to prevent other types? Or at least give stronger, more visible guidance about how to define ActionForm properties? Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Steve Raeburn
In what way would it be restrictive? Is there any reason you would need a non-string property (for html input) ? Steve -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: May 29, 2003 11:26 PM To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Steve Raeburn
it hasn't been possible to keep the ActionForm extremely simple. But I accept there might be situations that would warrant it. *BUT* there should be a bloody big health warning on the ActionForm documentation that says only ever use Strings! Steve -Original Message- From: Andrew Hill

RE: Redirecionamento

2003-05-29 Thread Steve Raeburn
and http://jakarta.apache.org/struts/userGuide/preface.html and make sure that you are familiar with the core technologies that underpin Struts. Steve -Original Message- From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 11:22 AM To: 'Struts Users Mailing List

RE: Struts and the infamous IE multiple browser/same session problem

2003-05-29 Thread Steve Raeburn
:-) Like I said, if I've misunderstood then please (gently) point out of the error of my ways. Steve -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 1:47 PM To: Struts Users Mailing List Subject: Struts and the infamous IE multiple browser/same

RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled

2003-05-29 Thread Steve Raeburn
site - Something to do with turning web applications into email applications that don't need programmers (I'm paraphrasing here) On second thoughts, maybe it's not badly translated - maybe that's how marketeers actually talk. Give me a Barracuda announcement or two any day! Steve

RE: Example of html:select in use

2003-05-29 Thread Steve Raeburn
at http://bobcat.webappcabaret.net/ninsky/download/ninsky.war Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: May 25, 2003 2:16 PM To: Struts Users Mailing List Subject: Re: Example of html:select in use James Mitchell wrote: In a way, I was hoping the test

RE: URL missing .do

2003-05-27 Thread Steve Raeburn
. The first two lines are probably already configured. Note that the exact configuration required will depend on the connector they have installed but if you ask them to add a the directives and tell them why, they should be able to figure out what's needed for their particular set-up. Good luck Steve

RE: HTML:OPTION from bean to JSP

2003-05-27 Thread Steve Raeburn
(Neopolitan, 3)); request.setAttribute(FLAVOURS, flavours); Then in your form jsp you can access the collection like this: html:select property=flavour html:options collection=FLAVOURS property=value labelProperty=label/ /html:select Steve -Original Message- From: Yinti

RE: html:link - a real pain!

2003-05-27 Thread Steve Raeburn
It wants a bean, so give it a bean ;-) bean:define id=myString value=some value/ html:link page=/category.do paramId=categoryId paramName=myString some text /html:link Steve -Original Message- From: brian jf [mailto:[EMAIL PROTECTED] Sent: May 27, 2003 3:55 PM To: [EMAIL

RE: what is wrong here?

2003-05-27 Thread Steve Raeburn
I vaguely remember something about the JSP processor not converting to a String when you use an expression inside a tag like that. Someone els emay have the details. Anyway this works: bean:define id=col value='%= Integer.toString(6 / 4 + 1) %' / Steve -Original Message- From: Erez

RE: session

2003-05-27 Thread Steve Raeburn
Just use request.getSession(). The session is not specific to a servlet but to the user. Each time they send a request to the server their session id is sent in the request (via a cookie or url rewriting). You can retrieve the session in any servlet using request.getSession() Steve

RE: what is wrong here?

2003-05-27 Thread Steve Raeburn
That's not true. 'System.out.println(6 / 4 + 1 );' outputs 2, as does %= 6 / 4 + 1 %. It just doesn't work when it's nested like that. Steve -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: May 27, 2003 8:13 PM To: 'Struts Users Mailing List'; [EMAIL PROTECTED

RE: another site using struts

2003-04-05 Thread Steve Raeburn
Doesn't look like struts as all URLS use the same path /store/main?cmd=... Though it is using the Front Controller pattern, there's no evidence that this is even running Java. But of course that's a good thing because it's implementation independent. Steve -Original Message- From: Dan

RE: [OT] My Struts webapp and hosting

2003-04-05 Thread Steve Armstrong
Quick plug for inexpensive Java web app hosting: http://www.kgbinternet.com/ Cheers, -Steve -Original Message- From: Guido [mailto:[EMAIL PROTECTED] Sent: Saturday, April 05, 2003 7:19 AM To: [EMAIL PROTECTED] Subject: [OT] My Struts webapp and hosting ... Now the application is in my

RE: Re: Which is the best Struts or Expresso ?

2003-04-05 Thread Steve Parker
insight here would be greatly appreciated. Thanks, Steve On Fri, 4 Apr 2003 09:40:34 +0100 , PILGRIM, Peter, FM wrote -Original Message- From: resdev [mailto:[EMAIL PROTECTED] Sent: 04 April 2003 07:04 To: Struts Users Mailing List Subject: Re: Re: Which is the best Struts

RE: another site using struts

2003-04-05 Thread Steve Raeburn
easy to determine which servlet container was running. Steve -Original Message- From: Dan Allen [mailto:[EMAIL PROTECTED] Sent: April 5, 2003 3:00 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: another site using struts Steve Raeburn ([EMAIL PROTECTED]) wrote

Re: Validating user inputs

2003-04-03 Thread Steve Stair
A couple minor points 1) If your validator-rules.xml validation definition has depends=required, then you don't need to have it in the validation.xml as well. 2) Where is the form definition from your struts-config.xml? -- Steve Stair

Re: Validating user inputs

2003-04-03 Thread Steve Stair
in the execution, trying to find where the code isn't doing what you expect. If you are using IE, you might want to turn on the script debugging. You can also try loading the same page in Netscape, since it has better integrated script debugging. -- Steve Stair

WANTED: Struts Developers!

2003-04-03 Thread Steve Jovanovic
look forward to working with you. :) We hope you enjoy your stay! Steve Steve Jovanovic Director of Engineering Noumenaut Software (262) 632-7755 [EMAIL PROTECTED]

[OT] Taglib reference and IntelliJ

2003-03-28 Thread Steve
(however the page does ultimately working as expected)appears with error flags. Can anyone point me in the right direction. Thanks. steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [OT] Taglib reference and IntelliJ

2003-03-28 Thread Steve
Thanks Sri. Unfortunately they are there. Its seems so straightforward I figured I was missing something obvious. Any other suggestions? Steve -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:32 PM To: Struts Users Mailing List; [EMAIL

RE: [OT] Taglib reference and IntelliJ

2003-03-28 Thread Steve
:49 PM To: Struts Users Mailing List Subject: Re: [OT] Taglib reference and IntelliJ On Fri, 28 Mar 2003, Steve wrote: You need to add your tld as a resource. Go to Options - IDE Settings - Resources. Then add them one at a time. Example: URI=/WEB-INF/tlds/struts-bean.tld Location

<    1   2   3   4   5   6   7   >