RE: Struts Exception Handling

2003-11-25 Thread Baljinder Singh
Phil & Mike, The approach that I am using right now is to make an ExceptionHandler and configure it in struts-config.xml using something like following: This way it would catch ALL database related exceptions and throw them. But the problem goes deep into into handling a speci

RE: problem - urgent..help!!

2003-11-25 Thread Khalid K.
Any solutions yet??? I found a couple of possible solutions. Download jsse jar files and then setup the System property by using System.setProperty("", "") ('cant recall the correct class names..i am home now :)) My question is ...how to make this work in a server env. I can make it work in a s

Problem with

2003-11-25 Thread Sudarshan Krishnaprasad
Hi, I have a problem with the tag. The code written on the jsp page is as shown below This when seen from the browser source, is as shown below: Here we can see that there are two slashes added in front of the action. This in turn goes directly to the root of the application as http://reques

Re: struts-faces Roadmap

2003-11-25 Thread Craig R. McClanahan
Quoting Nadeem Bitar <[EMAIL PROTECTED]>: > Is there a roadmap for the struts and jsf integration library? I am > particularly interested in an update that would support tiles. I already > tried the modifications suggested in the developerworks article > (http://www-106.ibm.com/developerworks/libr

Re: problem - urgent..help!!

2003-11-25 Thread Craig R. McClanahan
Quoting "Daniel A. Torrey" <[EMAIL PROTECTED]>: > I don't think that java.net.URL is capable of setting up an SSL connection. > > -daniel > Actually, it is possible if you have JSSE available (or you're running JDK 1.4 or later, which includes JSSE). http://java.sun.com/products/jsse/ > D

Re: problem

2003-11-25 Thread Surachai Locharoen
Yes I use weblogic8. If I change jsp to your suggestion,when weblogic is fixed problem. Does my jsp still work? and Does my jsp stiill work with other jsp engine? Thank you - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> S

Re: Struts, EJBs, and problems

2003-11-25 Thread guo yingshou
you need to use a collection of value objects instead of component objects in your jsp. guo --- Steven Nakhla <[EMAIL PROTECTED]> 的正文:> I am still learning about EJBs, Struts, and a whole > host of other things. I'm writing a simple web app > to manage my product license keys. I have 3 CMR > E

Re: https problem - urgent..help!!

2003-11-25 Thread Khalid K.
This is bad then!! Any proposed solutions ??? tag uses RequestUtils.computeURL() and requestURL() to determine how to get the included file... So... does with https ??? Any ideas..anyone?? Thanks > I don't think that java.net.URL is capable of setting up an SSL connection. > > -daniel >

Re: problem - urgent..help!!

2003-11-25 Thread Daniel A. Torrey
I don't think that java.net.URL is capable of setting up an SSL connection. -daniel Daniel A. Torrey daniel at datorrey dot net Quoting "Khalid K." <[EMAIL PROTECTED]>: > platform: AIX/Websphere > Struts V: 1.0.2 > > Problem: > > > the above code works fine in windows - none

problem - urgent..help!!

2003-11-25 Thread Khalid K.
platform: AIX/Websphere Struts V: 1.0.2 Problem: the above code works fine in windows - none SSL environment. When we migrate the code to AIX/Websphere that has SSL installed.. hence..https://blahblah... The above code throws: java.net.MalformedURLException: unknown protocol: https

Determining the name of a DynaValidatorForm at runtime in JSP

2003-11-25 Thread Pacheco, Brent
Howdy! I am using Tiles in my current Struts application. I have a particular tile that I will be including inside one of several other tiles with a statement. This included tile will need to access a property of the DynaValidatorForm bean which will vary depending on which DynaValidatorForm is

Re: [OT] How to select an Option automatically?

2003-11-25 Thread Jason Lea
Pingili, Madhupal wrote: I am converting a VB application to Web application. I need to select an option from a drop-down list box as the user enters a value in that box. For example, there are four values in that drop-down box: one, two, three, four As the user types say "f" or "fo", I need to

RE: DynaValidator can't get validation to work

2003-11-25 Thread M.Schipperheyn
Well, it's working. I didn't put the form-validation tags around the formset tags in the validator.xml. A *stupid* mistake and after all the frollocking around the struts source code, it took the Struts console to make me realize it. Of course, some kind of error message would have been nice, but s

[OT] Struts Job in Dallas, Texas

2003-11-25 Thread LQ . com Webmaster
COMPANY: La Quinta Corporation LOCATION: Irving (Dallas), TX JOB TITLE: Internet Developer EMPLOYEE TYPE: Full-Time Employee DEPARTMENT: Information Systems REPORTS TO: Director, Internet Technology EFFECTIVE DATE: November 2003 RELOCATION: No REPLY TO: [EMAIL PROTECTED] POSITION SUMMARY: This posi

[OT] How to select an Option automatically?

2003-11-25 Thread Pingili, Madhupal
I am converting a VB application to Web application. I need to select an option from a drop-down list box as the user enters a value in that box. For example, there are four values in that drop-down box: one, two, three, four As the user types say "f" or "fo", I need to select the option "four".

RE: Hibernate plugin

2003-11-25 Thread David Friedman
I have a Hibernate JNDI tidbit to impart. Accoring to the Hibernate forums, there are 2 scopes for JNDI in Tomcat. One seems to be making a context internally visible to apps within that Tomcat instance only. The other, or so it was described to me, allows external lookups. So much for self-lear

RE: Integration of two Different Applications In Tomcat

2003-11-25 Thread David Friedman
I haven't noticed any replies so I'll ask: If you're using Struts v1.1, for a front-end and back-end, why don't modules fit your scenario? Then the images can go in the exact same folders with both sets being (if you choose) able to update the images? Since modules can use different Controllers,

RE: [OT] Stress Test

2003-11-25 Thread Mainguy, Mike
I use Jmeter for this. Works very nicely. Assuming your application is easily scriptable, you can record a series of actions (via the built in proxy) and replay them in a very short time. It is much easier to use than QA load and about as easy to use as M$ webcat. It is, however about as flexib

Re: [OT] Need Free database

2003-11-25 Thread Christian Bollmeyer
Am Dienstag, 25. November 2003 15:48 schrieb Jeff Kyser: > do a little homework, buddy. that's a bogus question > that is hardly excused by an [OT] prefix. Well. You're right if the focus is entirely Struts and nothing else. The framework does this, the frame- work does that, uh, Validator behaves

RE: Struts Exception Handling

2003-11-25 Thread Mainguy, Mike
Welll, The way I've done this before is to wrap all Exceptions in a Custom type and throw it all the way back to struts. This seems to work well for trivial business style apps, I'm not sure how it would hold up in something with more complexity in the business layer. For example, My CRUD code

Struts, EJBs, and problems

2003-11-25 Thread Steven Nakhla
I am still learning about EJBs, Struts, and a whole host of other things. I'm writing a simple web app to manage my product license keys. I have 3 CMR EJBs that I'm working with: ProductVendor, Product, and LicenseKey. The beans are created such that a ProductVendor can have multiple Product

[Q.] how to port appl with frames to Struts? any good ways to do it?

2003-11-25 Thread Michael Korolyov
Hello, We have application around 100 JSP(s) Model 1 (luck of controller). There is "main" page that holds three frameset in it - top frameset has logo and other info / docs links, left is used as navigation tree and main for content. Is Tiles solution to replace our framesets? What is right way t

RE: html:radio 'property' doesn't work with 'isBoolean()' type method call?

2003-11-25 Thread Turansky, Mark
Thanks, Daniel, but I made a quick workaround by adding a "getActive()" function to my class and delegating it to "isActive()". digging through all the source to find the error would be time consuming as I am not familiar with the source. I am using generated code by Karapan Sapi (from www.jav

RE: [OT] Need Free database

2003-11-25 Thread dharmendra.sharan
Hi, Just a passing thought... Hmm, Free ain't what free used to be... [Back in the days of Open Source movement by Richard Stallman] Free as, not bound in chains, and free/open to change...not free as in free beer! ;-) Regards, Dharmendra ps: havve a nice day! -Original

Re: ACtion Form within an ACtion

2003-11-25 Thread Ted Husted
It's possible, but it's messy, and not recommended. It usually means that there is business logic trapped in the Action. Rather than call another action, extract that business logic into a separate class that anyone can call on demand. The Actions are best used as *adapters* to your business lo

Re: [OT] Need Free database

2003-11-25 Thread Ted Husted
Jeff Kyser wrote: > do a little homework, buddy. that's a bogus question > that is hardly excused by an [OT] prefix. > > -jeff Oh, I don't know. The link to Firebird was pretty interesting to me. (Thanks Paul!) And the subject line is complete enough that it would be easy enough to ignore. As to

RE: checkbox onclick event not getting called

2003-11-25 Thread Jimmy Emmanual
This is the modified version of your code that i tried. It works in ie 5.5 and netscape 7.1 function check(element) { alert("getting called"); document.myForm.add.disabled = true; }

Re: Unable to load class link

2003-11-25 Thread C. Grierson
Hrmf. It turns out that this has been a wild goose chase; JBuilder was using a server.xml that pointed to the wrong appbase (this is normally set automatically, but I had inserted a '' element which froze the values) and was using an old code snapshot in another location. Mea culpa. Sorry for w

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 th

Re: URGENT:logic:iterate

2003-11-25 Thread Daniel A. Torrey
If you use "collection=" with logic:iterate, collection has to be "a runtime expression that evaluates to a collection". That's not what you're feeding it. You probably want "name=" - see http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate -daniel Daniel A. Torrey daniel at dat

RE: html:radio 'property' doesn't work with 'isBoolean()' type me thod call?

2003-11-25 Thread Paul McCulloch
There's a much better search available with what looks like a relevant post for you: http://marc.theaimsgroup.com/?l=struts-user&m=99483696509329&w=2 Paul > -Original Message- > From: Turansky, Mark [mailto:[EMAIL PROTECTED] > Sent: 25 November 2003 16:48 > To: Struts Users Mailing List

Re: html:radio 'property' doesn't work with 'isBoolean()' type method call?

2003-11-25 Thread Daniel A. Torrey
It's working for me, Struts 1.1 & Tomcat 4.1.29. My method is called "isActive()". Can you post your JSP, User source,struts-config.xml? -daniel Daniel A. Torrey daniel at datorrey dot net Quoting "Turansky, Mark" <[EMAIL PROTECTED]>: > I have a simple User object with two boolean values in

RE: checkbox onclick event not getting called

2003-11-25 Thread [EMAIL PROTECTED]
It's still not working. Any other option? I am using Mozilla, will that be the reason? Jimmy Emmanual <[EMAIL PROTECTED]> wrote:try onclick="check(this.myname)" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 11:20 AM To: [EMAIL PROTEC

RE: checkbox onclick event not getting called

2003-11-25 Thread Paul McCulloch
This is probably OT, but anyway... It may be the way you are referencing the form. Try 'document.forms[0].add.disabled = ( element.checked );' That worked for me - I didn't use struts though - I just messed around with static html: function check(element) { //alert(element.checked); document.f

RE: [OT] Need Free database

2003-11-25 Thread J Janesko
www.postgres.org -- PostgreSQL. Free. Has a JDBC driver. Have used this before with Struts. Works well. www.mysql.com -- MySQL. Nice free database. I have used it with only PHP, but I did read that it does have a JDBC driver. Regards, Jenn --- "Ramachandiran, Karuna" <[EMAIL PROTECTED]> w

RE: checkbox onclick event not getting called

2003-11-25 Thread Jimmy Emmanual
try onclick="check(this.myname)" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: checkbox onclick event not getting called Hi, My code is like the following, when I click the checkbox, nothing

R: save form fields

2003-11-25 Thread Grassi Fabio
IE has the non-standard event onBeforeUnload which I successfully used, of course in conjunction with client-side java script. I think that there is no server side solution to this problem. I'm not aware of other browser supporting this or a similar event. Bye, Fabio. > -Messaggio origina

Struts workflow question

2003-11-25 Thread Tommy Holm - TELMORE
Hi I have a problem which best is described as follows. I have a primary workflow(WF1) that at a certain time branches off to a secondary workflow. It is left in a state so that progess can be continued at a later stage. I my new workflow (WF2) I describe that a secondary workflow exist(WF1) etc. N

Re: R: JSTL and DynaBeans

2003-11-25 Thread Pedro Salgado
Thank you all... This is just what I needed. Pedro Salgado On 25/11/2003 16:02, "Kris Schneider" <[EMAIL PROTECTED]> wrote: > One approach you might consider is something like: > > DynaBean bean = ...; > Map beanMap = PropertyUtils.describe(bean); > request.setAttribut("beanMap", beanMap); >

html:radio 'property' doesn't work with 'isBoolean()' type method call?

2003-11-25 Thread Turansky, Mark
I have a simple User object with two boolean values in the class: locked active I use the 'isLocked()' and 'isActive()' convention instead of 'getLocked()' and 'getActive()'. Does html:radio work with 'is' instead of 'get'? I am having page compilation problems telling me that

State change before form validation

2003-11-25 Thread Tommy Holm - TELMORE
I am currently using the struts workflow extension and I have stumbled upon some strange behaviour. When you on a jsp page with form and submit that form, the workflow state changes before the validation result is taken into consideration. Please correct me if I am wrong. This puzzles me because t

RE: JSTL and DynaBeans

2003-11-25 Thread Kris Schneider
Only if bean is a DynaActionForm. Which is not the case for the DynaBeans created by RowSetDynaClass (it uses BasicDynaBean internally). Quoting "Paananen, Tero" <[EMAIL PROTECTED]>: > > When using DynaBeans the JSTL doesn't work > > (${bean.propertyA} doesn't print anything) > > ${bean.map.p

[OT] Re: URGENT:logic:iterate

2003-11-25 Thread Mark Lowe
Isn't handbags at 20 paces OT? ;o) On 25 Nov 2003, at 16:12, [EMAIL PROTECTED] wrote: Hi I dont want to start a new thread, but the question has changed and if u cant help just stay away. You dont have right to ruin my day and atleast i am asking questions related to struts.You could have said

checkbox onclick event not getting called

2003-11-25 Thread [EMAIL PROTECTED]
Hi, My code is like the following, when I click the checkbox, nothing happened (the 'add' button suppose to get disabled). I put a alert statment in the javascript, and didn't get it showed when click the checkbox... seems the function didn't get called at all, can anybody tell me why? Thanks

RE: problem

2003-11-25 Thread Trieu, Danny
My guess is, you are using Weblogic8 which has problem with its jsp engine. Don't know if the fix it yet, but for short you might have to change your jsp from: To... Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL PROTECTED] (949) 509-4564 "The beginni

Re: Hibernate plugin

2003-11-25 Thread Mark Lowe
Opps!! an inconsistency. SessionFactory sf = (SessionFactory) ctx.lookup("foo:/hibernate/SessionFactory"); On 25 Nov 2003, at 16:07, Mark Lowe wrote: Hi Gopal David cleared this one up for me off the list (Big thanks), I assume you've the same problem with folks trying to create publishing

processRoles - must lead to login-form...

2003-11-25 Thread Morten Andersen
I'm developing an application where I want to use a fine-grained authentication control using some request parameters plus the action to figure out whether the user may or may not enter the page... I did implement this by making a hack where I checked whether the user was logged in and whether

RE: URGENT:logic:iterate

2003-11-25 Thread mohan
Hi I dont want to start a new thread, but the question has changed and if u cant help just stay away. You dont have right to ruin my day and atleast i am asking questions related to struts.You could have said this in a better way. --Mohan > Do you really think shouting URGENT and repeatedly aski

RE: JSTL and DynaBeans

2003-11-25 Thread Paananen, Tero
> When using DynaBeans the JSTL doesn't work > (${bean.propertyA} doesn't print anything) ${bean.map.propertyA} and salvation is yours. -TPP - This email may contain confidential and privileged material for the sole use o

Re: Hibernate plugin

2003-11-25 Thread Mark Lowe
Hi Gopal David cleared this one up for me off the list (Big thanks), I assume you've the same problem with folks trying to create publishing niches by making stuff confusing. If you get time before be then someone should post this on the hibernate site below the where the class is to stop

Re: R: JSTL and DynaBeans

2003-11-25 Thread Kris Schneider
One approach you might consider is something like: DynaBean bean = ...; Map beanMap = PropertyUtils.describe(bean); request.setAttribut("beanMap", beanMap); And then JSTL can just deal with the map. Another approach, at least for the database piece, is to use JSTL's Result and ResultSupport: imp

Re: R: JSTL and DynaBeans

2003-11-25 Thread Pedro Salgado
I think that it only works for maps... I can use DynaActionForms and use ${formbean.map["key"]}, but I am using BasicDynaBeans for the views. Pedro Salgado On 25/11/2003 15:34, "Grassi Fabio" <[EMAIL PROTECTED]> wrote: > Would the alternative syntax ${bean["propertyA"]} work better? > > Rega

RE: URGENT:logic:iterate

2003-11-25 Thread Paul McCulloch
Do you really think shouting URGENT and repeatedly asking the same question is going to encourage people to help you out? Well, Not me. Paul > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 25 November 2003 15:33 > To: [EMAIL PROTECTED] > Subject: URGENT:l

R: JSTL and DynaBeans

2003-11-25 Thread Grassi Fabio
Would the alternative syntax ${bean["propertyA"]} work better? Regards, Fabio. > -Messaggio originale- > Da: Pedro Salgado [mailto:[EMAIL PROTECTED] > Inviato: martedì 25 novembre 2003 16:05 > A: Struts Users Mailing List > Oggetto: JSTL and DynaBeans > > > > I have been using the

URGENT:logic:iterate

2003-11-25 Thread mohan
Hi All I have tried this testScoresVector is a vector stored as a session Attribute as request.getSession().setAttribute("testScoresVector", testScoresVector) Please let me know what the problem is. Now it says cannot create iterator for this collection. --Mohan ---

Re: logic:iterate help

2003-11-25 Thread mohan
Hi All I have tried this testScoresVector is a vector stored as a session Attribute as request.getSession().setAttribute("testScoresVector", testScoresVector) Please let me know what the problem is --Mohan > Hi Guys > The reason i am using the logic:iterate is not to populate the select > box b

bean:write basic question.

2003-11-25 Thread Ricky Lee
hi,i get a problem in struts taglib. i test the bean-write.jsp under struts-excercise-taglib folder, it can work smoothly , if i create a new application, and test bean-write.jsp, it can't work, after that, i found a problem, if i add the code below into web.xml of my new web application ,the bean-

Re: [OT] Good reporting engine/tools

2003-11-25 Thread Vic Cekvenich
I used to use Crystal and now use ireports.sf.net with JasperReports Butt, Dudley wrote: Hi all, Has anyone used any good reporting stuff recently? Please let me know. We're currently evaluating to get rid of our Crystal reports, just need to know some other options...THANX NOTICE: This mess

Re: Struts Exception Handling

2003-11-25 Thread Philip Mark Donaghy
Hi Baljinder, The best approach that I know of is to create an Exception for each type of expected error, like a duplicate key in a DAO. Then create a message in a global message resource for each full class name so that the key is unique. Example, java.lang.Exception=Something bad happened dud

RE: Tiles, fixed height, scrollbar

2003-11-25 Thread Jarnot Voytek Contr AU HQ/SC
I use divs to create a tabbed interface, with a tile per tab for the content. The divs can have a fixed height. -- Voytek Jarnot Quantum materiae materietur marmota monax si marmota monax materiam possit materiari? > -Original Message- > From: Oliver Wulff [mailto:[EMAIL PROTECTED] > Se

RE: Tiles, fixed height, scrollbar

2003-11-25 Thread Turansky, Mark
Frames are awful and not at all accessible to those with visual disabilities. You should first rethink your need for frames. But if you must use frames, read http://www.w3.org/TR/REC-html40/present/frames.html You can include scrollbars in your frames. They appear when the content is bigger t

Tiles, fixed height, scrollbar

2003-11-25 Thread Oliver Wulff
Hi all Currently, I'm using frames to split my web page. Some frames have a dynamic content with a scrollbar to scroll through the content of the frame. Can I achieve the same with tiles? Can I fix the height of a tile? If there is more data to display will a scrollbar be shown? Regards Oliv

RE: I think ???

2003-11-25 Thread Greg Dunn
If you need to use <%= testStr%> because nesting tags doesn't work then use Struts-el instead. You can do it in one line: doesn't work because you haven't specified the name attribute: http://jakarta.apache.org/struts/userGuide/struts-bean.html#define I think you want to use Greg -

RE: Reporting System

2003-11-25 Thread Edgar P Dollin
Jasper reports is pretty good. http://jasperreports.sourceforge.net Edgar > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2003 9:35 AM > To: Struts-User > Subject: Reporting System > > > Hello, > > we are looking for a good Rep

RE: [OT] Good reporting engine/tools

2003-11-25 Thread Jimmy Emmanual
Actuate: http://www.actuate.com/home/index.asp -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 9:50 AM To: '[EMAIL PROTECTED]' Subject: [OT] Good reporting engine/tools Hi all, Has anyone used any good reporting stuff recently? Please le

Struts Exception Handling

2003-11-25 Thread Baljinder Singh
Hi All, I am looking for a robust exception handling approach in struts. Can somebody help me in that. My framework consists of struts interacting with session beans which then interact with DB through DAO. Now if during a CRUD operation, for example there is a duplicate key exception thrown, how

JSTL and DynaBeans

2003-11-25 Thread Pedro Salgado
I have been using the struts taglibs and have been trying to use only JSTL. When using DynaBeans the JSTL doesn't work (${bean.propertyA} doesn't print anything) I solved the problem of accessing DynaBeans extending the BasicDynaBean and implementing the Map interface but I am also using Ro

[OT] Good reporting engine/tools

2003-11-25 Thread Butt, Dudley
Hi all, Has anyone used any good reporting stuff recently? Please let me know. We're currently evaluating to get rid of our Crystal reports, just need to know some other options...THANX NOTICE: This message contains privileged and confidential information intended only for the person or en

Re: logic:iterate help

2003-11-25 Thread mohan
Hi Guys The reason i am using the logic:iterate is not to populate the select box but to create the select box for the number times the length of the testScoresVector and store the option selected in the select box in each of the testScoresVector element. --Mohan > Hi All > I have a Vector called

Re: [OT] Need Free database

2003-11-25 Thread Jeff Kyser
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 the URL. Regards, Vishal Agas

Re: [OT] Need Free database

2003-11-25 Thread Phil Shrimpton
On Tuesday 25 November 2003 14:38, Ramachandiran, Karuna wrote: Hi, > Can any buddy suggest me Database which is free and has JDBC driver. If > possible get me the URL. www.firebirdsql.org Phil - To unsubscribe, e-mail: [EMAI

RE: [OT] Need Free database

2003-11-25 Thread Ramachandiran, Karuna
Hey u can use HSQL which is totall free -Original Message- From: Agashivala, Vishal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:04 AM To: Struts Users Mailing List Subject: [OT] Need Free database Hi All, Can any buddy suggest me Database which is free and has JDBC driv

Reporting System

2003-11-25 Thread reps.groups
Hello, we are looking for a good ReportingSystem. We want to create Reports easy in a Struts Web Applikation. Any ideas ? Mit freundlichen Grüßen Christian Reps, Dipl. Inf. (FH) Web Applications - To unsubscribe, e-mail: [EMA

Re: inputting dates

2003-11-25 Thread Aleksandar Matijaca
A couple of things - first of all read-up on struts server-side validation - there are many references on the web on how to do this, so even if a user turns off Javascript, things will get caught on the server side validation. Secondly, I have found that having a single entry box where somebody

RE: save form fields

2003-11-25 Thread Paul McCulloch
I've been looking at this recently. Their appear to be two classes of solutions: 1) Client side logic in Javascript. All links, menu options etc. execute some javascript which can decide not to change the current page, but ask/force the user to save first. 2) Server side logic. All navigation etc

Validator and Float Validation

2003-11-25 Thread Carl Walker
Hello, I'm having a problem using the Validator and the 'float' validation. My problem is that the Validator doesn't seem to work if I enter text (letters) into the html:text box. I am using the tag for error messages. In my struts-config.xml file, I have the following definition of a DynaVali

save form fields

2003-11-25 Thread koen boutsen
hi In my form, a user enters data for an organisation. Via a save button, these data are saved in the database. My problem is : when the user clicks on a link in the main menu of my application before hitting the save button, he looses the not-saved information and goes to another page. Does an

RE: Server manged vs. struts managed db pools

2003-11-25 Thread Edgar P Dollin
I will speak about tomcat since that is the one I have used most recently. The web.xml file which is in the war file has a reference to the JNDI objects created by the container. Say you have the same application deployed multiple times (one for each customer). In my application(s), each custo

inputting dates

2003-11-25 Thread Rajat Pandit
hello, i guess this question has been asked a number of times, but ihavet been able to get a consolidated answer for my questions. well here it goes. i need to input dates, and have to do calculations based on dates. i am using struts 1.1 and iBatis. i wrote a the same in jstl to generate teh mo

RE: What is CornerStone?

2003-11-25 Thread Chappell, Simon P
Well, I've never heard of it, but I went to the apache.org website and used their search facility to find it within the Avalon project. Here's a link: http://avalon.apache.org/components/index.html And here's a description: "The cornerstone project is the home of a set of utility components tha

Re: inputting dates

2003-11-25 Thread Nick Heudecker
Oddly enough, I was going to write about how to handle this in my blog today. What I do to manage this is to use an object that wraps a java.util.Date and provides getters and setters for the necessary fields, such as hour, minute, day, month, and year. Such an object might look like: public

RE: Does Taglibs cause any performance Issues ???

2003-11-25 Thread Edgar P Dollin
Tags stay in memory (in pools) based on the tags used and the parameter values of the tags. If memory is an issue then you can disable tag pooling. If cpu performance is an issue (pooling the tags saves object instantiation and release) then leave tag pooling in place. Edgar > -Original Mess

Exception in RequestProcessor while starting weblogic

2003-11-25 Thread Parthasarathy Kesavaraj
Now i am getting this Exception while starting weblogic...

Re: Basic question about

2003-11-25 Thread Ricky Lee
ok. i have solved the problem.. just change to this, it works smoothly... :) - Original Message - From: "Ricky Lee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 8:33 PM Subject: Re: Basic question about thanks ,it can be wor

Problem in ActionServlet while Starting weblogic

2003-11-25 Thread Parthasarathy Kesavaraj
Hai While starting weblogic after copying my application into weblogic i am getting this exception. <[ServletContext(id=4922317,name=application,context-path=/application)]: Servlet class org.apache.struts.action.ActionServlet for servlet action could not be handled by the classloader with c

problem

2003-11-25 Thread Surachai Locharoen
Dear all I have problem about migration from struts 1.0 to 1.1. It compile error "Can not resolve symbol". Is there the way to migrate without change jsp page. Because my jsp page is very many. It take a time to change. Your faithfully Surachai

Re: Unable to load class link

2003-11-25 Thread Kris Schneider
Have you got struts-el.jar in WEB-INF/lib? If you're using EL, that implies you're also using (at least) a JSP 1.2 container. In which case, you don't need the element in web.xml and you don't need a separate TLD file. Just use the "well-known" URI in the directive: <%@ taglib prefix="c"

Re: [OT] Need Free database

2003-11-25 Thread SCOTT VENTER
>>it is a free based database Its on crack>??? >>> [EMAIL PROTECTED] 11/25/03 02:35PM >>> hi Try to Use postgreSQL. it is a free based database and can be downloaded easily from http://www.postgresql.org Regards Gary - Original Message - From: "Agashivala, Vishal" <[EMAIL PROT

bug of struts bean taglib?

2003-11-25 Thread Ricky Lee
hi,i get a problem in my program. when i copy the struts-excercise-taglib example file (bean-write.jsp, just some fragment below) to a new web application(with strut1.1 under tomcat 4.1.29) and test it, it can't work and showed me the errors below, but i test the bean-write.jsp under struts-excerci

Re: Basic question about

2003-11-25 Thread Ricky Lee
thanks ,it can be work now, but what about this one? "> it show me the exception: rg.apache.jasper.JasperException: /layouts/admin/addDataLayout.jsp(15,48) equal symbol expected and when i change to the follow codes , it remain showed me the same exception.. "> my tiles configuration is

Re: [OT] Need Free database

2003-11-25 Thread Gurpreet Dhanoa
hi Try to Use postgreSQL. it is a free based database and can be downloaded easily from http://www.postgresql.org Regards Gary - Original Message - From: "Agashivala, Vishal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 5:34 PM

Re: Basic question about

2003-11-25 Thread Raman Garg
one thing more thing following code, which is a mixture of standart html and struts, works fine!! "> - Original Message - From: "Ricky Lee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 5:51 PM Subject: Re: Basic question

Re: Basic question about

2003-11-25 Thread Ben Anderson
if that's how you want to do it you need to change your quotes from: ">abc to: abc From: "Ricky Lee" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Basic question about hi, so glad that i met the same

Re: Basic question about

2003-11-25 Thread Ricky Lee
hi, so glad that i met the same question as you module id: ">abc article title: and it show me the errors: equal symbol expected --- can't nested tag like that? any solution about this? - Original Message - From: "Raman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List

Re: Basic question about

2003-11-25 Thread Ben Anderson
You can't specify a tag for the value of an attribute. The only place you can nest tags is inside the tagbody. Are you using JSTL and struts-el? You could do there might be a better way to do this. I haven't worked with radio buttons that much, but this should work. -Ben From: "Raman" <[

Basic question about

2003-11-25 Thread Raman
hello all, i have a basic problem in "> but this is not working. Any help regarding this?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

coundn't be a nested code like this?

2003-11-25 Thread Ricky Lee
hi, struts exper! i have a problem about struts taglib, like these code below: "> it show me the exception: rg.apache.jasper.JasperException: /layouts/admin/addDataLayout.jsp(15,48) equal symbol expected and when i change to the follow codes , it remain showed me the same exception.. ">

I think ???

2003-11-25 Thread Mauricio T. Ferraz
I want to create a scriptlet variable with tag struts, how can I do it??? for example: I have: String testStr = session.getAttribute("test"); but I don´t want use it, it´s ugly!!! I saw the tag but whe I try show it with a expression ( <%=testStr%>) I have canot resolve the symbol err

??? I think

2003-11-25 Thread Mauricio T. Ferraz
I want to create a scriptlet variable with tag struts, how can I do it??? for example: I have: String testStr = session.getAttribute("test"); but I don´t want use it, it´s ugly!!! I saw the tag but whe I try show it with a expression ( <%=testStr%>) I have canot resolve the symbol error!

Re: ACtion Form within an ACtion

2003-11-25 Thread Gurpreet Dhanoa
hi Dennis , Thanks for your prompted answer but in this case i'll be forwarding to another action from one action.BUt i dont want to do that. I want to execute perform method of Action2 in the perform method of ACtion1 then I want to forward it to the JSP from the Action1 itself. Is this somethin

  1   2   >