Re: Please Help With This Error Message

2003-12-16 Thread Gurpreet Dhanoa
hi Caroline According to me this is perfectly fine. Please see there may be something worng in your JSP Regards Gary - Original Message - From: "Caroline Jen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 12:11 PM Subject: Please Help With This Error Messa

Please Help With This Error Message

2003-12-16 Thread Caroline Jen
Please help me to figure out this error message that I got in the browser: equal symbol expected. The error complains about this statement in my JSP: and the above statement is intended to retrieve the string "creator" from a session object. __ Do you Yahoo!? N

Error using Struts Validation on Weblogic 8.1 platform

2003-12-16 Thread rahul.chaudhary
All, The validation doesn't seem to work.Checking the Server logs displays the following stack trace.Any thoughts as to what needs to be done? Thanks Rahul 17 Dec 2003 10:20:01,806 INFO ValidatorPlugIn []: Loading validation rules file from '/WEB-INF/validator-rules.xml' 17 Dec 2003 10:20:1

RE: [ANNOUNCE] Struts Console v4.2

2003-12-16 Thread Andrew Hill
Finally made the effort to install SC. Nice. :-) -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 December 2003 10:29 To: 'Struts Users Mailing List' Subject: RE: [ANNOUNCE] Struts Console v4.2 Yes, it works with Eclipse 1.0 and higher. -James http

Re: How to digest a customized struts configuration

2003-12-16 Thread Joe Germuska
At 9:33 PM +0100 12/16/03, Sebastian Linz wrote: I added my sample rule set using the init parameter within the web deployment descriptor. But I didn't find the way how to tell the digester to add the SecurityConstraint bean to my sample action mapping. Impatiently waiting for your answers You've g

RE: [ANNOUNCE] Struts Console v4.2

2003-12-16 Thread James Holmes
Yes, it works with Eclipse 1.0 and higher. -James http://www.jamesholmes.com/struts/ -Original Message- From: fredatwork [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 4:43 PM To: 'Struts Users Mailing List' Subject: RE: [ANNOUNCE] Struts Console v4.2 Dear James, Does your

Modules with Tiles Problem

2003-12-16 Thread Patrick Cheng
Hi All, I have a question on Tiles when using Modules(multiple struts-config.xml's). As far as I know, switching between modules requires more than providing different URLs. Either we use ContextRelative forwards or using the struts Swiching Action class. But in the situation of tiles, if the layo

RE: Plea for help w/Struts-Hibernate Plugin that has it working!

2003-12-16 Thread David Friedman
David, There is an alternative Struts/Hibernate/JNDI combination. All of it hinges on one file: hibernate.cfg.xml. It doesn't require any changes to server.xml or web.xml and works (at the very least) for me on Struts v1.0 & v1.1 with Hibernate v2.0.3 & V2.1beta6 under Tomcat 4.1.24 through 4.1.

How To Output the Value Of a Hidden Field?

2003-12-16 Thread Caroline Jen
My JSP #2 receives a hidden field passed from JSP #1: In the JSP #2, I have a text field: and I want the value of the hidden field to be the text in the text field of the JSP #2. Please advise how to do it? __ Do you Yahoo!? New Yahoo! Photos - easier uploading

RE: [OT] reload servlet without restarting the application

2003-12-16 Thread Tim Lucia
You can make a simple servlet that reads the properties file and sets the log level. Then simply reference your simple servlet (heck, make it an action if you want) via its URL and it will re-read and reset the logger. If you want to get fancy, you can event export all the properties you find and

Re: Login Security

2003-12-16 Thread ajay brar
hi! you could have an exponential backoff period, where rather than blocking a person (there's a genuine chance you forgot the password and are trying five combinations or so) you disable the account for a period of time which is proportional to the number of tries the user has made. An exponen

RE: .Net Struts?

2003-12-16 Thread Kevin Tung
By .Net do you mean ASP.Net? ASP.Net lacks any semblance of a Front Controller (Action Controller). View components (ASPX pages) are tied to each other directly. Changing the workflow of your web app requires that you track down each links and modify them individually. Code-Behind-Pages are not

RE: [struts-nested] BeanUtils.populate exception

2003-12-16 Thread RALPH ROPER
Hallejulah!! Thanks Dan. I could not get the session scope on the form bean and logic:iterate tag to work first go so tried the LazyUtils option. Also changed from using an array to a List. Works a treat. My application now does the following. 1. Action reads list of data from database and displ

Plea for help w/Struts-Hibernate Plugin that has it working!

2003-12-16 Thread David Erickson
For some reason I just cannot make the Struts-Hibernate plugin work.. I can't make the Struts-Hibernate Listener work either. Here is the link to class I am trying to use: http://www.hibernate.org/133.html Here is the error I get without fail every time.. now note that this jndi connection WORKS

Re: .Net Struts?

2003-12-16 Thread Travis D. Falls
.net is a framework that already behaves like struts. no? t --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

redirecting from applet

2003-12-16 Thread Thad Humphries
I'm looking into reworking a Java application with Struts. This application make frequent use of applets. I need to avoid writing separate interfaces for JSPs and applets so I want my applets to call the Action servlets. I started with a variation of Chapter 3's example from O'Reilly's "Progra

Re: [OT] RE: iBatis DAO + Hibernate?

2003-12-16 Thread Larry Meadors
The iBATIS DAO is for sure *not* sqlmap or jdbc specific. I have used the iBATIS DAO for LDAP and file system based data access. Larry >>> [EMAIL PROTECTED] 12/16/03 3:35 PM >>> > From: Ted Husted [mailto:[EMAIL PROTECTED] > You might be confiusing the iBATIS SqlMaps framework with the > sepe

Re: Login Security

2003-12-16 Thread Janusz Dziadon
1. I was thinking on corporate solution, where any station has its own ip (maybe from dhcp) 2. I suggested only to store IP, not to compare on next-login or permanent block this IP. It is for future investigation only. 3. This organization may have been "yet blocked" because when has common acount

Re: [OT] RE: iBatis DAO + Hibernate?

2003-12-16 Thread David Erickson
If you look towards the very end of the PDF it describes the DAO Wendy. -David - Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 3:35 PM Subject: [OT] RE: iBatis DAO + Hibernate? > From: Ted

[OT] RE: iBatis DAO + Hibernate?

2003-12-16 Thread Wendy Smoak
> From: Ted Husted [mailto:[EMAIL PROTECTED] > You might be confiusing the iBATIS SqlMaps framework with the > seperate and distict iBATIS DAO framework. > The DAO framework is not linked to SqlMaps and should work with > anything. Otherwise, it could not be a DAO framework, since the whole > i

RE: Login Security

2003-12-16 Thread Hookom, Jacob
You could apply what I described by defining the key as username+"@"+ip Good idea! -Original Message- From: Janusz Dziadon [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 4:20 PM To: Struts Users Mailing List Subject: Re: Login Security I think, that you should register block

Re: Login Security

2003-12-16 Thread Hubert Rabago
Several organizations expose the same IP address for most or all users. You'd be blocking entire organizations because of one bad login. --- Janusz_Dziadoñ <[EMAIL PROTECTED]> wrote: > I think, that you should register blocked IP anyway in database. It helps to > explain situations like below. >

Re: Login Security

2003-12-16 Thread Janusz Dziadoń
I think, that you should register blocked IP anyway in database. It helps to explain situations like below. Try to imagine situation like this: one user (A) really doesn't like another user (B) or system administrator (C). Than (A) tries to log in into his (B or C) account with bad password. His (

Re: Login Security

2003-12-16 Thread Pedro Salgado
On 16/12/2003 21:43, "Ciaran Hanley" <[EMAIL PROTECTED]> wrote: > > I am storing the username and password in a table in a mySql database. > > I think I will just add a field "last_failure" to the user table... and > after 3 unsuccessful attempts I will record the time in the > "last_failure" fi

RE: Login Security

2003-12-16 Thread Hookom, Jacob
Btw, remember to flush the map for that username when they are able to login successfully. -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 3:46 PM To: Struts Users Mailing List Subject: RE: Login Security Do a HashMap in the action: Key

RE: Login Security

2003-12-16 Thread Hookom, Jacob
Do a HashMap in the action: Key is username Value is Integer or Date If ((value = map.get(key)) != null) { if (value instanceof Date) { // compare timeout dates } else if (value instanceof Integer) { if (value == 3)

RE: Login Security

2003-12-16 Thread Ciaran Hanley
I am storing the username and password in a table in a mySql database. I think I will just add a field "last_failure" to the user table... and after 3 unsuccessful attempts I will record the time in the "last_failure" field and work out if the timeout has elapsed by querying that field and compa

RE: [ANNOUNCE] Struts Console v4.2

2003-12-16 Thread fredatwork
Dear James, Does your wonderful application work with Eclipse 2.1.1 ? I do not want to move to 3.0.Mx versions because of other plugins I use that are not compatible with this new development release of Eclipse. Best regards, Fred -Original Message- From: James Mitchell [mailto:[EMAIL

Re: [ANNOUNCE] Struts Console v4.2

2003-12-16 Thread James Mitchell
On Mon, 15 Dec 2003, James Holmes wrote: Just in case no one else mentions it, thanks for your hard work on this! I know it isn't easy spending so much time on it and then giving it away. > Struts Console version 4.2 is now available. > > http://www.jamesholmes.com/struts/ > > Download Now: >

RE: Reloading of application resources

2003-12-16 Thread Eric SCHULTZ
Good afternoon... This sounds pretty good. The "synchronized" modifier, I've seen it around but we've never really gotten to know each other. I'll look into it. Eric Schultz Technical Leader Conseiller Technique Elix Telephony & Web convergence at its best: http://www.talktosantaclaus.com La co

Re: Reloading of application resources

2003-12-16 Thread Pedro Salgado
I think someone mentioned an OJBMessageResources to retrieve MessageResources from a database, some days ago. I haven't tried yet (it's on my todo list) but maybe it has what you need. Here goes the link: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsMessageResourcesFromDatab ase Pe

[OT] reload servlet without restarting the application

2003-12-16 Thread Ashish Kulkarni
Hi Is it possible to reload the servlet without having to restart the application, For example i have defined settings for log level in xml file, and i set them to show only error messages, suppose if i have to change it to debug, i have to restart my application, since the applications reads this

RE: Login Security

2003-12-16 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Reloading of application resources

2003-12-16 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: .Net Struts?

2003-12-16 Thread Larry Meadors
Would you call it .NUTS? >>> [EMAIL PROTECTED] 12/16/03 12:55 PM >>> Is anyone working on struts in .Net? Curious.. Pritpal Dhaliwal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

How to digest a customized struts configuration

2003-12-16 Thread Sebastian Linz
Hello, I posted this message a few days ago. Unfortunately I didn't get a helpful reply. I think I choosed the wrong subject and that's why I re-posted the message once again: I want to ask you for help concerning an extension of the struts config dtd and how to make these extension available in

RE: struts validator framework

2003-12-16 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Ted Husted
You might be confiusing the iBATIS SqlMaps framework with the seperate and distict iBATIS DAO framework. Mixing and matching SqlMaps with Hibernate would probably be a bad idea, but the iBATIS DAO framework is a horse of a different color. The DAO framework is not linked to SqlMaps and should w

Re: .Net Struts?

2003-12-16 Thread Ted Husted
There's a similar framework called Maverick that has Java, .net, and PHP versions available. http://mav.sourceforge.net/ If you are more than just curious and were looking for something like Struts to use on .net today, Maverick is your best option. Several people are working on PHP versions

Re: .Net Struts?

2003-12-16 Thread James Mitchell
On Tue, 16 Dec 2003, Dhaliwal, Pritpal (HQP) wrote: > Is anyone working on struts in .Net? No. You are the first. > > Curious.. > > Pritpal Dhaliwal > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands,

RE: Reloading of application resources

2003-12-16 Thread Joe Germuska
I'd suggest that if you can achieve the same goals by writing a PlugIn implementation that you might achieve by extending the ActionServlet, you're probably better off writing the PlugIn. You could avoid creating a thread by implementing a freshness check at an access point. That is, rather th

.Net Struts?

2003-12-16 Thread Dhaliwal, Pritpal (HQP)
Is anyone working on struts in .Net? Curious.. Pritpal Dhaliwal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: iBatis DAO + Hibernate?

2003-12-16 Thread David Erickson
Ok so if I chose to use solely hibernate would there be anything wrong with putting code like this into my action?: factory = (SessionFactory)request.getSession().getServletContext().getAttribute(Hibern atePlugIn.SESSION_FACTORY_KEY); session = factory.openSession(); Transaction tx = session.beg

RE: url changing to localhost

2003-12-16 Thread Bradford M. Ayers
It was in fact the web server. I'm running Apache and I had to change the proxypass and proxypassreverse lines from: ProxyPass /tablemaintenance http://localhost:8080/tablemaintenance ProxyPassReverse /tablemaintenance http://localhost:8080/tablemaintenance to: ProxyPass /tablemaintenance http://

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Mark Lowe
Mine's an opinion from someone who's pretty good on the presentation and servlets stuff, and a lot greener in terms of model tier development. I've used torque and more recently hibernate on two separate projects.. Torque seems a bit dirtier, and a pain for deprecated dependencies, but does th

RE: url changing to localhost

2003-12-16 Thread Barett McGavock
This is a web server configuration problem. Are you using Tomcat? Try examining the web server configuration file for the local host name. A simple search for localhost should find some candidiates for change to "isunit81". Send more information about your web server and perhaps I or someone else

Re: url changing to localhost

2003-12-16 Thread Srinivas Kusunam
In our application we always use Relative URL and it works fine for us. Check your's?? Thanks, Srini >>> [EMAIL PROTECTED] 12/16/03 10:36AM >>> I'm new to Struts, so excuse me if this seems like an obvious one. What is the trick to prevent the URL from changing? If I hit my machine (isunit81

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Vic Cekvenich
I have not use OJB, so ... how much is it worth my opinion if I did not use it. Maybe people that used it can say a word relative to other DAO's. I did look at OJB, and it seamed heavy. I like light weigh. (like Sturts is light weight). iBatis I realy like. my 2c. .V Pedro Salgado wrote: W

Re: Struts EL status

2003-12-16 Thread Ted Husted
As a longtime Struts Committer, I can tell you that it *is* part of the main development tract. As Joe mentioned, the only reason it doesn't ship with the other taglibs is because it requires a 2.3/1.2 container. When a 2.3/1.2 container is in play, I do tell my own clients to prefer Struts EL

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Pedro Salgado
What do you think about OJB? Pedro Salgado On 16/12/2003 16:58, "Vic Cekvenich" <[EMAIL PROTECTED]> wrote: > I would use Ibatis or Hibrenate as a DAO, not both. > > iBatis lets you use any SQL(corelated self join, sooner or later you > will need to do a trick or tune performance), which is

entity includes in tile-defs.xml

2003-12-16 Thread Matt Bathje
Hi all. Using XML entities, with this as a guide: http://www.mail-archive.com/[EMAIL PROTECTED]/msg13197.html I was able to get my struts-config file broken up into multiple files. I am attempting the same thing on my tile-defs.xml file, and when I do it, I get the following error: 12/16/03 10:

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Larry Meadors
I am working in an environment where we are mixing the two. My advice to you is to *not* do it. Pick one and use it as it was intended to be used. I personally prefer iBATIS. It is very simple; it plays well with existing databases; it allows you the flexibility, commodity and performance tuning

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Ted Husted
I haven't tried it, but I have used the DAO layer with mock implementations, and it works just fine. There's nothing in that part of it that is SqlMap specific. Clinton Begin says that it should work with Hibernate, or anything else, and I would agree. For the 2.0 release, I've been encouraging

RE: struts validator framework

2003-12-16 Thread Robert Taylor
ValidatorForm and ValidatorActionForm should be subclassed if you are not using dynamica forms and you want to leverage the Struts Validation framework. robert > -Original Message- > From: Jan Dirksen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 16, 2003 11:51 AM > To: [EMAIL PROTE

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Vic Cekvenich
I would use Ibatis or Hibrenate as a DAO, not both. iBatis lets you use any SQL(corelated self join, sooner or later you will need to do a trick or tune performance), which is why I have been using it with much success; and I teach Struts with it, and there are other Struts/iBatis resources. It

Re: url changing to localhost

2003-12-16 Thread Martin Gainty
Take a look at %TOMCAT_HOME%/conf/server.xml (windows) $TOMCAT_HOME\conf\server.xml (unix) whatever defaultHost is pointing to is what Tomcat uses for default server Regards, Martin "Live Free or Die" - Gen John Stark - Original Message - From: "Bradford M. Ayers" <[EMAIL PROTECTED

struts validator framework

2003-12-16 Thread Jan Dirksen
hi, just a question about using the validator-fw. i want to describe a formbean in struts-config incl. its proberties. like: for validation i want to use the framework i guess: -DynaValidatorForm: validation rules are executed based on form name -DynaValidatorActionForm: validation

Re: [OT] iBatis DAO + Hibernate?

2003-12-16 Thread David Erickson
What I'm trying to get away from is having to write an implementation of a factory for each of my POJO's.. ie having something to load it, save it, basically to interact with hibernate. And it looked like iBatis can do that well.. are there other alternatives? -David - Original Message -

[OT] iBatis DAO + Hibernate?

2003-12-16 Thread Hookom, Jacob
It seems kind of moot to use iBatis DAO over Hibernate. You are better off rolling out something to the tune of Sun's DAO spec. We use the DAO with the same kind of behavior as iBatis. Depending on the app, we will make additional methods on the DAO that are specific to the use-case or you can ca

iBatis DAO + Hibernate?

2003-12-16 Thread David Erickson
We're needing to roll out DAO and ORM in our webapp... been evaluating hibernate and it looks awesome, but we'd like to insulate our app from that, has anyone tried using iBatis' DAO layer then plugging hibernate underneath that? -David

url changing to localhost

2003-12-16 Thread Bradford M. Ayers
I'm new to Struts, so excuse me if this seems like an obvious one. What is the trick to prevent the URL from changing? If I hit my machine (isunit81 which has a web server and the web app) from a remote machine by using this URL, http://isunit81/tablemaintenance and I login (by submitting a use

RE: [OT] Struts vs. XYZ

2003-12-16 Thread Peng, Meimin
I think I agree with Vic. My boss told me that we don't need to use the best technology, when it becomes to the best, it's old now. Why you want to use the old knowledge? He said why don't we use the most popular one and it's still on the up trend. That's the Struts for us now. So, it make us alw

RE: Struts EL status

2003-12-16 Thread Karr, David
To summarize a couple of points already stated here: The base Struts library doesn't use the EL because the JSTL requires JSP 1.2, and Struts is still supported on containers which only provide JSP 1.1. If you write your JSP code to use the same prefixes as before ("html", "bean", etc.), but refe

RE: Login Security

2003-12-16 Thread Fullam, Jonathan
You could put a cookie on the user's machine that expires after a certain period of time. Of course this only works when cookies are turned one and an experienced user could always manually remove their cookie. Another solution maybe is to get the user's IP address from the request Header and add

Re: Login Security

2003-12-16 Thread Pedro Salgado
One idea The third time the login fails, register the time for that user. When a login gets executed, if the last registered time for the given user is less than the time interval you want -> the login always fails. The user must have something like: User : id || login | password | la

RE: Getting images from Interbase database

2003-12-16 Thread Remke Rutgers
His Janusz, I think the problem is that you store your connection in your session. Alle threads are sharing the same session object, and are therefore using the same connection object. Subsequent access (within the same session) to your ImageAction will probably succeed, but concurrent access will

Login Security

2003-12-16 Thread Ciaran Hanley
I'm writing a web application using JSP and Struts. I want to add a security feature to my login page where if a user has three unsuccessful logins they will be unable to log in for a certain period of time afterwards. I can count the number of unsuccessful logins ok but how I'm not sure how to giv

Re: Struts installation problems

2003-12-16 Thread beyaRecords - The home Urban music
Pedro, thanks for your reply. Could I get a copy of your tomcat-apache.conf just to examine what it looks like? cheers Uzo On 16 Dec 2003, at 15:06, Pedro Salgado wrote: On 16/12/2003 14:21, "beyaRecords - The home Urban music" <[EMAIL PROTECTED]> wrote: Hi, just installed struts on os x panthe

Re: Struts installation problems

2003-12-16 Thread Pedro Salgado
On 16/12/2003 14:21, "beyaRecords - The home Urban music" <[EMAIL PROTECTED]> wrote: > Hi, > just installed struts on os x panther (10.3), or should I say trying to! > > I am running apache 2, tomcat, cocoon with no problems. My problem is > installing Struts (AHH) > > Now, following the

RE: Does the Struts Validator work with DynaActionForms?

2003-12-16 Thread Robert Taylor
Yes. You should use DynaValidatorForm or DynaValidatorActionForm. robert > -Original Message- > From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 16, 2003 9:21 AM > To: Struts Users Mailing List > Subject: Does the Struts Validator work with DynaActionForms?

RE: Reloading of application resources

2003-12-16 Thread Nicklas Karlsson
On Tue, 16 Dec 2003, Eric SCHULTZ wrote: > I need to do something similar with additional configuration properties for > a particular action. > > I figure I need to write a plug-in that creates a thread that checks the > properties file every x seconds and if changed reloads it into a context > a

Re: generating struts-config.xml using xdoclet

2003-12-16 Thread Haroon Rafique
On Yesterday at 2:15pm, DG=>Damm, Gary <[EMAIL PROTECTED]> wrote: DG> I have two action tags defined in a single action class. Each action DG> has it's own action-forward element. When the struts-config.xml is DG> generated it generates two action elements but each action element has DG> both ac

RE: Problem with FormFile

2003-12-16 Thread Ben Janes
Does anyone have any ideas, or is it a bug? ;vh Benjamin A. Janes BLUEWAVE SVERIGE M. +46 (0)40-631 1068 F. +46 (0)40 -631 10 50 F. +46 (0)46-540 03 50 Drottninggatan 18, S-211 49 Malmö, Sweden

Struts installation problems

2003-12-16 Thread beyaRecords - The home Urban music
Hi, just installed struts on os x panther (10.3), or should I say trying to! I am running apache 2, tomcat, cocoon with no problems. My problem is installing Struts (AHH) Now, following the install document it says to copy "struts-documentation.war" and "struts-example.war" to your

Does the Struts Validator work with DynaActionForms?

2003-12-16 Thread Anderson, James H [IT]
I see that to setup server-side vaildations one must extend the ValidatorForm or ValidatorActionForm class, but for dynamic form support one must extend the DynaActionForm class... - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Reloading of application resources

2003-12-16 Thread beyaRecords - The home Urban music
Hi, is anybody receiving my emails? regards Uzo On 16 Dec 2003, at 14:03, Eric SCHULTZ wrote: Good morning... I need to do something similar with additional configuration properties for a particular action. I figure I need to write a plug-in that creates a thread that checks the properties f

Re: Naming conventions for Struts actions, Tiles definitions and JSPs

2003-12-16 Thread Pedro Salgado
First of all the templates go to Templates directory and tile to a Tiles directory. I use two "kinds" of tiles definitions: those that are used to help build pages, those that are used see pages. For the build ones, I use ".definition.def". For example, a one form definition would be ".f

RE: Reloading of application resources

2003-12-16 Thread Eric SCHULTZ
Good morning... I need to do something similar with additional configuration properties for a particular action. I figure I need to write a plug-in that creates a thread that checks the properties file every x seconds and if changed reloads it into a context attribute. My problem is I've never d

Re: Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Engbers, ir. J.B.O.M.
Hi, it begins to work! After I changed 'form' to 'this', the file compiled without problems. if ("2".equals((String)this.get("selectie"))) { ==> Boolean bVolledig = Boolean.valueOf((String)this.get("volledig")); boolean volleNaam = bVolledig.booleanValue();

Re: Struts EL status

2003-12-16 Thread Ted Husted
What is supported and what is deprecated is totally up to the community. If there are people out there who want to use and maintain the original Struts tags, then there's no reason why they cannot remain current. All that has ever happened is that the current set of Committers are not using

Naming conventions for Struts actions, Tiles definitions and JSPs

2003-12-16 Thread Philip Mark Donaghy
Hello world, Naming conventions help organize large projects and facilitates the establishment of relationships between objects and entities configured in an XML file. My current project is using the following convention. The forward success path is similar to the action path. action path="/foo/

Re: Off Topic: A suitable JVM could not be found

2003-12-16 Thread Susan Bradeen
Nope, sorry, can't help specifically. I just ran across that article and figured I'd post it in case it was useful to you. Have you tried a WebSphere newsgroup? Maybe ibm.software.websphere.studio.application-site-developer. Seems like someone there should be able to help you. Susan On 12/16/200

from sathish:regarding locale

2003-12-16 Thread Sathish Babu K R
hi all in our coy we have decided to implement internationalization using Locale... can anybody give some idea abt to start with,like needed files,configurations,usage in jsp/java files. regards sathish __ Do you Yahoo!? New Yahoo! Photos - easier uploading and s

Re: Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Martin Gainty
Instantiated Objects cannot be primitive type and vice-versa you CAN compare one object to another object or an object to a null object/ -Martin - Original Message - From: "Engbers, ir. J.B.O.M." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 4:11 AM Subject:

Re: Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Pedro Salgado
Hi! Try this: Boolean bVolledig = Boolean.valueOf((String)form.get("volledig")); boolean volledig = bVolledig.booleanValue(); Should work Pedro Salgado On 16/12/2003 09:11, "Engbers, ir. J.B.O.M." <[EMAIL PROTECTED]> wrote: > Hi, > > I have defined a boolean propert

mapping.getForwardForward()?

2003-12-16 Thread Pedro Salgado
Hello to everyone, I have read Chuck Cavaness's book explanation but still I still don't understand. If I extend an Action class then I can use the forward, include and type attributes in any way I like, right? (the book says something about being mutually exclusive) Why I am ma

RE: Problem with FormFile

2003-12-16 Thread Ben Janes
No iterate loop <%@ pagelanguage="java" contentType="text/html; charset=UTF-8"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/meganexus.tld" prefix="mg" %> <[EMAIL PROTECTED] file="sessionManage

Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Engbers, ir. J.B.O.M.
Hi, I have defined a boolean property in a DynaActionForm ("volledig" which means complete). The value should be checked in the validate()-method. It is easy to retrieve String-properties from the hash-map but the compiler does not accept the following construct: if ((boolean)this.get("vo

Re: Struts EL status

2003-12-16 Thread Adam Hardy
When you upgrade to tomcat 5, you won't need any *-el taglibs anymore. The EL will be taken care of automatically by the container. That means that when you upgrade, you just change your taglib declarations from html-el, tiles-el etc back to html, tiles... It makes it a non-issue! On 12/16/200

AW: Input fields are empty after validation error

2003-12-16 Thread Stefan Berger
THANKS A LOT. This was the mistake. I am so happy. THANKS. Best Regards. Stefan -Ursprüngliche Nachricht- Von: Jitesh Sinha [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. Dezember 2003 09:58 An: Struts Users Mailing List Betreff: RE: Input fields are empty after valida

RE: Input fields are empty after validation error

2003-12-16 Thread Aswathy R
how are you writing your jsp? are you doing like this? -Original Message- From: Stefan Berger [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 2:06 PM To: [EMAIL PROTECTED] Subject: Input fields are empty after validation error Hi. I have a very strange situation and no id

RE: Input fields are empty after validation error

2003-12-16 Thread Jitesh Sinha
how are you writing your jsp? for example,for any text field you should write : "> are you doing like this? -Original Message- From: Stefan Berger [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 2:06 PM To: [EMAIL PROTECTED] Subject: Input fields are empty after validation error

RE: indexed properties mini(est) HOWTO

2003-12-16 Thread rajatp
hello, not very sure but iguess make ur custom form class by extending the DynaActionForm and write your own getters and setters. you would have to make it anyway coz (as far as i know) i couldnt find a better way to do validatoin on indexed values. hence wrote it in the validate() method. > Wh

RE: indexed properties mini(est) HOWTO

2003-12-16 Thread Nimish Chourey , Tidel Park - Chennai
What if I have a DynaAction form . In that case how do I handle the getter/Setter method ... -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 3:16 PM To: Struts Users Mailing List Subject: indexed properties mini(est) HOWTO hello, am positn

Input fields are empty after validation error

2003-12-16 Thread Stefan Berger
Hi. I have a very strange situation and no idea what happend and how to fix it. At the login.jsp page i have 3 fields to fill in. When the user makes an error, i want to redisplay the same page with the errors. But i display the same page with the errors but the input fields are empty. I do not

RE: Problem with FormFile

2003-12-16 Thread Aswathy R
Is within any iterate/loop ? -Original Message- From: Ben Janes [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 1:22 PM To: [EMAIL PROTECTED] Subject: Problem with FormFile Hi I have a problem with FormFile, in that when it has no file entered it throws an error: I beli

RE: Hidden Field

2003-12-16 Thread Ben Janes
Wouldn't be a better use Mvh Benjamin A. Janes BLUEWAVE SVERIGE M. +46 (0)40-631 1068 F. +46 (0)40 -631 10 50 F. +46 (0)46-540 03 50 Drottninggatan 18, S-211 49 Malmö, Sweden |-+> | | "Jitesh Sinha"

RE: Hidden Field

2003-12-16 Thread Jitesh Sinha
Caroline, put just after your definition so correct statement is : -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 1:15 PM To: [EMAIL PROTECTED] Subject: Hidden Field I tried to create a variable, assign a value to that variable, and pas

Problem with FormFile

2003-12-16 Thread Ben Janes
Hi I have a problem with FormFile, in that when it has no file entered it throws an error: I belive this is the cause of the error: 15 Dec 2003 13:21:10 - DEBUG [Thread-2] (BeanUtils.java:873) - setProperty([EMAIL PROTECTED], photo, []) 15 Dec 2003 13:21:10 - DEBUG [Thread-2] (ConvertUtils.java:

RE: Hidden Field

2003-12-16 Thread Aswathy R
Try Close the tag and try. -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 1:15 PM To: [EMAIL PROTECTED] Subject: Hidden Field I tried to create a variable, assign a value to that variable, and pass the variable as a hidden field. What

  1   2   >