Re: Struts Velocity

2005-02-08 Thread Markos Charatzas
Thanks Joe, Im aware of the list so I will post there, I just thought it was more of a Struts related thing :) Sorry for that. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems using Tiles with Modules

2005-02-08 Thread Christian Hesse
Hi all! I solved the problem on my own: Because I have to use struts 1.0 and contextRelative and module are not available, I have overloaded the Class vor the Image-Tag and now it works. Bye Christian Struts Users Mailing List user@struts.apache.org schrieb am 07.02.05 17:39:47: Hi all!

Session handling in Struts

2005-02-08 Thread Rajesh
Hi: I haired that struts by default supports session handling. when i tried to disable in cookies in my browser and try to access my site which is a shopping site the site is not handling sessions. when ever i try to add items to cart, in next page am not getting the session !!! is there any

Antwort: Session handling in Struts

2005-02-08 Thread Bernd . Knobloch
Hi Rajesh, automatic session handling by URL-rewriting (which will happen if the client is not accepting cookies) can only be guaranteed by Struts if you use the corresponding struts tag libraries or JSTL Tags in your JSP-Pages for hyperlinks and forms. If you write a href=somepage.jsplink to

Re: Antwort: Session handling in Struts

2005-02-08 Thread Rajesh
Bernd: THANK YOU VERY MUCH Bernd. I got you now :) Rajesh [EMAIL PROTECTED] wrote: Hi Rajesh, automatic session handling by URL-rewriting (which will happen if the client is not accepting cookies) can only be guaranteed by Struts if you use the corresponding struts tag libraries or JSTL Tags in

Re: Session handling in Struts

2005-02-08 Thread Mark Lowe
Are you links being encoded? html:link page=/foo.do or c:url var=link value=/foo.do / a href=${link} Mark On Tue, 08 Feb 2005 15:23:52 +0530, Rajesh [EMAIL PROTECTED] wrote: Hi: I haired that struts by default supports session handling. when i tried to disable in cookies in my browser

Charset

2005-02-08 Thread Markos Charatzas
Hi there, Although, 1. I have defined a controller in struts-config.xml like the following controller contentType=text/html; charset=ISO-8859-7/ 2. my html templates have the content type set properly 3. my resource files are in the corrent content type I still get question marks (?) displayed

Re: Problem setting up a basic JSP with actions

2005-02-08 Thread Soaring Eagle
Thanks for the reply. Turns out, that i was facing the class not found exceptions because somehow, my J2EE container (weblogic) was not picking up struts.jar from the lib directory or the WAR file. my WAR file was inside an EAR file. When I placed the struts.jar and other library jars in the EAR

[ANN] Struts-JSF London Networking BOF VIII / Tuesday / 15th Mar ch 2005 @ 18:45 / Oracle City of London

2005-02-08 Thread Pilgrim, Peter
Dear Reader I would like to formally announce that The Eighth Struts/JSF London Networking BOF is taking place on 15th March 2005 at ``18:45'' at Oracle City of London offices. The meeting will take place in a room with Audio/Visual facilities between 7-9 pm. Afterwords members can retire to

Struts validator [ client side error when using date validator]

2005-02-08 Thread Amjad I. Shahrour
Hi, I have configured and used struts validator for my application, Server side validation is working perfectly... For client side, the required validator is working fine, but the date ( for example) is not working and giving a java script error datePattern has no properties. Please help.

Re: Struts validator [ client side error when using date validator]

2005-02-08 Thread Saul Qunming Yuan
Off the top of my head, try using: datePatternStrict instead of datePattern in var-name in your validation.xml. Saul Hi, I have configured and used struts validator for my application, Server side validation is working perfectly... For client side, the required validator is working

Re: Application Security

2005-02-08 Thread Tim Christopher
Cheers for all your advice. I've just tried implementing the JDBCRealm, though unfortunaltly it does not work. The Log4j error file contains the following: http-80-Processor25 ERROR org.apache.catalina.realm.JAASRealm JAASRealm.java:269 Unexpected error java.lang.SecurityException: Unable to

RE: Application Security

2005-02-08 Thread David G. Friedman
Tim, Have you also updated your web.xml and Tomcat conifgurations? -Original Message- From: Tim Christopher [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 12:05 PM To: Struts Users Mailing List Subject: Re: Application Security Cheers for all your advice. I've just tried

Problems with ControllerConfig properties

2005-02-08 Thread Todd Nine
Hi all, I am trying to extend RequestProcessor as well as ControllerConfig and I am running into errors. For instance, when I use the default ControllerConfig, all of the values are initialized to their defaults, and no setters are called. When I extends the processor and the config, setters

Re: Problems with ControllerConfig properties

2005-02-08 Thread Todd Nine
Nevermind, I just realized why its being set. That's what I get for trying to use a WSAD gui! ;-) On Tue, 8 Feb 2005 12:50:59 -0500, Todd Nine [EMAIL PROTECTED] wrote: Hi all, I am trying to extend RequestProcessor as well as ControllerConfig and I am running into errors. For instance,

Struts html tag question

2005-02-08 Thread Sab
How to show a basic struts text box and a checkbox? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

1.2.6 beta and SAXNotRecognizedException

2005-02-08 Thread Kirby Vandivort
Just grabbed the 1.2.6 beta and put the jar files and tld files in my app and tried to initialize it, and I'm getting the following exceptions. I've also including logging from right before the exceptions: 2005-02-08 13:11:16,483 DEBUG org.apache.struts.action.ActionServlet:653 -Initializing

Extending Action Mapping

2005-02-08 Thread Todd Nine
Hi all, I am trying to extend the ActionMapping Class with my own, LaserActionMapping. I have a List that I want to populate with MessageResource keys,. I have the configuration below, and my class. The setter is never being called, does anyone have any suggestions? action

RE: Extending Action Mapping

2005-02-08 Thread Benedict, Paul C
If your setter (for setIgnore?) does not have the same type as its getter, it is probably ignored. The JavaBean spec is really strict with its requirement for properties. By the way, LaserActionMapping is the coolest action classname I've ever seen. If there was an award for these things, I think

RE: [OT-izzy]

2005-02-08 Thread Dahnke, Eric (Company IT)
That's flippin brilliant. Seriously, LOL -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 12:59 PM To: Struts Users Mailing List Subject: [OT-izzy] http://sites.gizoogle.com/?url=http://struts.apache.org -- James

Re: Extending Action Mapping

2005-02-08 Thread Todd Nine
Thanks for the help, given the Java Bean standards of getters and setters, is there any way to set a Map or a List from the xml file (something like the way Spring Framework does it)? And thanks for the naming complement, we get quite a few amusing ones, like LaserBeanUtils... :) On Tue, 8 Feb

Re: [OT-izzy]

2005-02-08 Thread Vic
Right back at ya: http://www.webdez.net/alig .V James Mitchell wrote: http://sites.gizoogle.com/?url=http://struts.apache.org -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx -- Forums, Boards, Blogs and News in RiA http://www.boardVU.com

RE: Extending Action Mapping

2005-02-08 Thread Fogleson, Allen
A workaround - albeit maybe not the best public void setAddIgnore(String value) { ignore.add(value); } public void setIgnore(List value) { this.ignore = value; } /** * @return A list of keys to ignore */ public List getIgnore() { return ignore; } then instead of set-property

Re: I have a jsp. that has two included jsp's that are actually struts actions but the response only

2005-02-08 Thread Eric Lemle
So how does one get the final HTML from two Actions into the same page? Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: Extending Action Mapping

2005-02-08 Thread Joe Germuska
At 3:35 PM -0500 2/8/05, Todd Nine wrote: Thanks for the help, given the Java Bean standards of getters and setters, is there any way to set a Map or a List from the xml file (something like the way Spring Framework does it)? And thanks for the naming complement, we get quite a few amusing ones,

Re: I have a jsp. that has two included jsp's that are actually struts actions but the response only

2005-02-08 Thread Joe Germuska
At 2:15 PM -0700 2/8/05, Eric Lemle wrote: So how does one get the final HTML from two Actions into the same page? I am pretty sure that Tiles will do includes instead of forwards where necessary so that you can use actions as the source of tiles:insert components. I've never had to use it, but

RE: Redirecting back to input

2005-02-08 Thread Chaikin, Yaakov Y.
Karan, I think you missed the point a little bit. I'll leave the discussion of whether it's a good idea to let the user access a JSP page directly or not out of this. Truly, there is nothing wrong with doing that if all you are doing is setting up the form on that page. But, leaving that aside...

JSP produces invalid XML?

2005-02-08 Thread Laurent
Hi, There is something I do not understand with the way JSP outputs XML: If in my source JSP file, I have something like this: a amp; b The XML parser should interpret this string as a b and represent it internally as a b. However, when it ouputs that data to the XML file being sent back to

Re: Trouble with DispatchAction and ValidatorActionForm

2005-02-08 Thread Daniel Watrous
Thanks for the advice! I have enabled debug and found as you suggested these lines at the bottom of my file: 16:32:57,446 DEBUG RequestProcessor:787 - Populating bean properties from this request 16:32:57,459 DEBUG RequestProcessor:919 - Validating input form properties 16:32:57,460 DEBUG

Can't put scriptlet into onmouseover

2005-02-08 Thread Neil Aggarwal
Hello: I have an html:link tag in my navigation jsp page. I that page, I have an html:link tag that has an on mouseover attribute. I want to put a scriptlet in the onmouseover to generate the url to the image. Here is an example: html:link action=/home.do target=_top

Re: Application Security

2005-02-08 Thread Tim Christopher
I managed to solve the first error by reordering the elements within the server.xml file, however I'm now stuck with the following error (which occurs when the server is started): JDBCRealm[Catalina]: Exception opening database connection java.sql.SQLException:

Re: Can't put scriptlet into onmouseover

2005-02-08 Thread Daniel Watrous
Neil, It seems that the approach to take would be to modify (or replace through inheritance) the link tag. This way you could eliminate the scriplet in your page and centralize your management of images too. I'm not sure that scriptlets are permitted inside jsp tags. The idea of the tag is

RE: Application Security

2005-02-08 Thread David G. Friedman
Tim, Have you tried using any command line tools to get to your datastore? Knowing that could rule out permissions issues on the database site as well as the connection host/port/URL. Regards, David -Original Message- From: Tim Christopher [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: wizard form and checkboxes that won't turn off

2005-02-08 Thread Daniel Lipofsky
That's definitely one solution. The other is to have an onsubmit method on the form with javascript to iterate over all the input elements in the form, find unchecked check-boxes, and create a hidden input with the same name and a value of false. - Dan -Original Message- From: James

Re: Application Security

2005-02-08 Thread Tim Christopher
Turned out that the database driver could not be found, which resulted in the same error that I was being given by the Container when it tried to connect for the JDBCRealm. Adding the file to the WEB-INF/lib folder allows a connection to be made from a JSP, however Tomcat still gives the same

Re: Application Security

2005-02-08 Thread Erik Weber
JDBC driver jar files belong in $TOMCAT_HOME/common/lib (I think that's what you are asking). Erik Tim Christopher wrote: Turned out that the database driver could not be found, which resulted in the same error that I was being given by the Container when it tried to connect for the JDBCRealm.

Re: Application Security

2005-02-08 Thread Tim Christopher
All works fine now - cheers :o) On Tue, 08 Feb 2005 21:55:03 -0500, Erik Weber [EMAIL PROTECTED] wrote: JDBC driver jar files belong in $TOMCAT_HOME/common/lib (I think that's what you are asking). Erik Tim Christopher wrote: Turned out that the database driver could not be found,

hml:select question

2005-02-08 Thread Sergey Livanov
I have a vendors collection consisting of bean Vendor( long vendor, String name ) When I'm writing html:select property=vendor html:optionsCollection property=vendors label=name value=vendor/ /html:select a null value occur! MY FORM private Vendor [] vendors ; public

RE: Can't put scriptlet into onmouseover

2005-02-08 Thread Neil Aggarwal
Daniel: Is there a more struts-friendly way to do rollover buttons? I have my images served out of apache, not tomcat in order to make them load as quickly as possible. Also, since I am using named virtual hosting, the url to an image will be different in http and https mode. That is why I

RE: LazyDynaBean question

2005-02-08 Thread Joe Hertz
How about a simpler case then My real goal is to have DynaForms that are backed my experimental semi-lazy-dynabean. BeanValidatorForm (while an impressive piece of work IMHO) isn't actually subclass of a DynaForm (even though it seems like it can be used in almost the same way). The way I

RE: LazyDynaBean question

2005-02-08 Thread Joe Hertz
How about a simpler case then My real goal is to have DynaForms that are backed my experimental semi-lazy-dynabean. BeanValidatorForm (while an impressive piece of work IMHO) isn't actually subclass of a DynaForm (even though it seems like it can be used in almost the same way). The way I

RE: Struts validator [ client side error when using date validator]

2005-02-08 Thread Amjad I. Shahrour
Already tried, but still not working ! Amjad -Original Message- From: Saul Qunming Yuan [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 7:35 PM To: Struts Users Mailing List Subject: Re: Struts validator [ client side error when using date validator] Off the top of my

Redirect instead of forward in action mapping

2005-02-08 Thread Neil Aggarwal
Hello: When I set up a form in struts, I am using this action mapping: action path=/registerForm type=register.RegisterAction name=registerForm scope=request input=register.index validate=true forward name=success

request Processor in struts.

2005-02-08 Thread Sandip Khetle
Hi Where do we make the entry for the request processor in struts application?for example I have extended the RequestProcessor class to create my MyRequestProcessor ...How do I communicate this to the application.Will i have to make any entry in some config file...? Thanks in