RE: Displaying is easy, capturing is not..

2003-07-30 Thread Yee, Richard K,,DMDCWEST
Displaying is easy, capturing is not.. Thank you - I am definately considering that. I'll probably limit the user. -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 2:04 PM To: 'Struts Users Mailing List' Subjec

RE: Displaying is easy, capturing is not..

2003-07-30 Thread Yee, Richard K,,DMDCWEST
Mona, I don't think the user's browser will handle many more than 50 (a guess) much less 600 text input elements on a single page. I think you should re-think the UI so that fewer input elements are needed. Handling 600 input fields on the server side will take a long time (several seconds to a few

Re: showing error on forms

2003-07-28 Thread Prabhu K M
Hi Vinayak, You can very well populate the error message near the fields instead of showing it in the top. Use the following entry near every fields. The following example will explain you about how to use it. In your validate() method you are validating a field. In our case name, if the name

browser refresh - calls more than one action

2003-07-28 Thread S. K . Srinivasan
Hi, In struts I have action_class1 ( AC1 ) , action_class 2 (AC2) >From AC1 , when user clicks button , i insert a record and then i call AC2. ( I use >findForward to call AC2 from AC1 ) In the JSP ( VIEW ) of AC2 , when user presses refresh , the struts controller instead of calling j

RE: Birthdate validation ?

2003-07-23 Thread Yee, Richard K,,DMDCWEST
Try it and find out for yourself. It does produce 3/1/2003. -Richard -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 1:32 PM To: 'Struts Users Mailing List' Subject: RE: Birthdate validation ? What makes you say that? Why would Calend

RE: html:checkbox checked

2003-07-23 Thread Yee, Richard K,,DMDCWEST
Panchasheel, The attribute you refer to is called 'checked' not 'result'. It is not a bug. -Richard -Original Message- From: Gandle, Panchasheel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:55 PM To: 'Struts Users Mailing List' Subject: html:checkbox checked struts-htm

Re: validate() method - and form in session scope (solved)

2003-07-21 Thread Khalid K.
humm..was a dumb mistake :) in struts-config i had validate set to "false" :) - Original Message - From: "Khalid K." <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, July 21, 2003 10:23 AM Subject: val

validate() method - and form in session scope

2003-07-21 Thread Khalid K.
Hello all, If an ActionForm bean's scope is "session", does the validate() method get called only once ?? I have several actions that post to the same form, but it seems that the validate method is only called once when the form gets created Any help is appreciated. Khalid p.s. i am usin

logic:equal

2003-07-17 Thread Vijay K Hegde
Hi All, How do i use a static attribute of a class and compare with a value="N" SystemConstants.VIEW <[EMAIL PROTECTED] import="com.tgt.utility.SystemConstants"%> Vijay K. Hegde --

checkboxes - ActionForm in session scope

2003-07-15 Thread Khalid K.
Hello All, I have the following problem, and any help is greatly appreciated: 1. html form that has a checkbox which is associated with a Action Form Bean - boolean attribute 2. ActionForm is in session scope 3. I call reset method selectively since I am trying to develope wizard style pages with

RE: [OT] Use of Static Methods

2003-07-10 Thread Yee, Richard K,,DMDCWEST
public static byte[] getEncryptedPassword(byte[] digestKey, > > > String > > > password) > > > { > > > try > > > { > > > MessageDigest md = > > > MessageDigest.getInstance("SHA

RE: [OT] Use of Static Methods

2003-07-10 Thread Yee, Richard K,,DMDCWEST
t; > { > > return (null); > > } > > } > > > > The class name is 'Password', so to call this method we use > > something like > > 'Password.getEncryptedPassword(storedDigestKey, enteredPassword

(re-post) indexed properties in struts 1.0.2 (help!)

2003-07-10 Thread Khalid K.
Anyone out there can help on this topic?? > Hello all, > > Is there a way to use indexed properties in struts 1.0.2 ?? > > The decision to move to 1.1 is out of my hand, but I was wondering if there > is a way > to use 'nested' or 'indexed' properties with 1.0.2 ?? > > Thanks! > > Khalid > > > >

indexed properties in struts 1.0.2 (help!)

2003-07-09 Thread Khalid K.
Hello all, Is there a way to use indexed properties in struts 1.0.2 ?? The decision to move to 1.1 is out of my hand, but I was wondering if there is a way to use 'nested' or 'indexed' properties with 1.0.2 ?? Thanks! Khalid --

RE: [OT] Use of Static Methods

2003-07-09 Thread Yee, Richard K,,DMDCWEST
Perhaps everyone is correct here. Technically, as Brian showed, the language does not prevent you from overriding a method signature in a subclass, however, behaviorally, it will not completely behave like an overridden method. Like I pointed out in a previous email, you will not get polymorphic be

RE: [OT] Use of Static Methods

2003-07-09 Thread Yee, Richard K,,DMDCWEST
-1121-mrhappy_p.html -Richard -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 10:35 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Use of Static Methods I and a lot of other developers would disagree with the statement

RE: [OT] Use of Static Methods

2003-07-09 Thread Yee, Richard K,,DMDCWEST
I and a lot of other developers would disagree with the statement "Static methods are evil for many reasons including philosophical (they're not OO) and practical (you can't override their behavior)." 1) Whenever you write a method that only accesses static data of a class, you should declare the

Workflow engine status

2003-07-08 Thread Kevin K
I was looking at Jakarta for a workflow engine and I found this URL - http://jakarta.apache.org/struts/proposal-workflow.html. What I can't find is when this proposal was written and if this workflow engine is included in the latest release of Struts. Thanks for your help, Kevin _

Any one has build.xml for making jar of struts source files

2003-06-19 Thread Vijay K Hegde
Hi , I have downloaded the sourcefiles for struts frameework. I need to make the struts.jar out of it. Can anyone send me the build.xml file to be used by ANT. Thanks in advance, Regards Vijay - To unsubscribe, e-mail: [EMAIL

Help needed

2003-06-18 Thread Vijay K Hegde
/ws405/installedApps/CAA.ear/CAAEJB.jar!/resources/TGTSystemProperties.properties (No such file or directory) Can anyone help?? Vijay K. Hegde Infosys Technologies Limited, Hyderabad - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: switch statement

2003-06-06 Thread Yee, Richard K,,DMDCWEST
Why don't you send a parameter that can be converted into an int then? -Richard > -Original Message- > From: Kamholz, Keith (corp-staff) USX [SMTP:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 8:42 AM > To: 'Struts Users Mailing List' > Subject: RE: switch statement > > The

RE: switch statement

2003-06-06 Thread Yee, Richard K,,DMDCWEST
Keith, The switch statement doesn't work with all primitive types. It only works with ints. I don't know of any other language that has a switch statement that works with a string type. An if-else if-else block can easily implement the functionality of a switch statement. Regards, Richard > ---

Errors/Messages on Redirect

2003-03-28 Thread Brian K Bonner
Has anyone else run into this scenario before? I've searched the archives and couldn't find much on the topic of errors and redirect. During an action, I want may encounter an error condition and I want to REDIRECT the user back to the page where they came from and pass along the error. I nee

Re: Solved but ... Re: can't start struts1.1 RC1 example in Websphere 4.0.1 AE

2003-03-18 Thread Khalid K.
Is your Application spread across multiple webApps, or you have only 1 webApp running? I know in Websphere, you cannot share a session across multiple web apps...unless you have a special patch Khalid - Original Message - From: "david chan" <[EMAIL PROTECTED]> To: "Struts Users Mailing L

Re: can't start struts1.1 RC1 example in Websphere 4.0.1 AE

2003-03-18 Thread Khalid K.
I am running Struts using WebSphere 4.0.4 I had trouble using the "import" feature of WebsSphere to import the WAR file. Here is how you fix it: 1. Download the WAR file to a directory 2. Open Websphere 3. Create a empty EAR 4. Click on File --> Import --> WAR 5. Browse to where the WAR is locate

RE: BeanUtils.copyProperties between from and DAO issues

2003-03-15 Thread Khalid K.
If this is the case, I would think that org.apache.commons.beanutils.BeanUtils should be modified to do String[] to int[] conversion ??? Thati s my 2 cents :) Khalid -Original Message- From: Ken & Connie [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2003 1:03 PM To: Struts Users Ma

Re: Migrating 1.1b2 to 1.1rc1

2003-03-11 Thread Khalid K.
I checked the Java DOC, and it looks like org.apache.struts.util.RequestUtils.computeURL() is deprecated. Khalid - Original Message - From: "Greg Hess" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 10:33 AM Subject: Migrating 1.1b2 to 1.1rc1 > Hi All

Help! How to Configure Multiple Resources in Struts 1.0.2

2003-03-06 Thread Frohock, Bradley K (Brad), ALABS
Struts 1.0.2 I have seen several threads in the archives pertaining to multiple resources in Struts 1.1+, but no satisfactory replies for Struts 1.0. I want to create several ApplicationResources to be used in different JSPs, primarily for displaying differently. Many of the Struts Tags in

RE: Configuring Multiple Resources in Struts 1.0.2

2003-03-04 Thread Frohock, Bradley K (Brad), ALABS
Struts 1.0.2 I have seen several threads in the archives pertaining to multiple resources in Struts 1.1+, but no satisfactory replies for Struts 1.0. I want to create several ApplicationResources to be used in different JSPs, primarily for displaying differently. Many of the Struts Tags in 1

Configuring Multiple Resources in Struts 1.0.2

2003-03-04 Thread Frohock, Bradley K (Brad), ALABS
Struts 1.0.2 I have seen several threads in the archives pertaining to multiple resources in Struts 1.1+, but no satisfactory replies for Struts 1.0. I want to create several ApplicationResources to be used in different JSPs, primarily for displaying differently. Many of the Struts Tags in

reading data from application.properties (Struts 1.1 RC 1)

2003-03-03 Thread k
Hi, I am having problem reading data in application.properties. Here is the structure of my struts folder inside tomcat4.1.8 %CATALINA_BASE%/webapps/myproject | -> Some jsp files. -> META-INF -> WEB-INF | ->some struts files as well as web.xml ->lib ->s

Re: Session timeout problem

2003-02-25 Thread Khalid K.
In some containers, the session is timeout is managed by the container..you might want to look into that.. For example, we run Websphere, and it is set to time out after 30min, even though we were sitting the seesion to timeout after 60min, it was being overwritten by the Container... hope this he

HELP! Plz!! request.getRequestURI() in jsp vs. Action class

2003-02-25 Thread Khalid K.
t; If I am not missing anything, maybe you can (it is a good practice) go > _always_ through an Action (or ActionForward, etc) and never post > directly to a JSP... > > HTH, > Guido. > > Khalid K. wrote: > > >(Repost) > > > >Hello All, Please help with this p

HELP! Plz!! request.getRequestURI() in jsp vs. Action class HELP!!! :)

2003-02-24 Thread Khalid K.
(Repost) Hello All, Please help with this problem. I need request.getRequestURI() to return "actionA.do" This works fine if when I call the getRequestURI() method from an Action class, But When I call request.getRequestURI() from a JSP file...it returns the ActionA.jsp I could r

request.getRequestURI() in jsp vs. Action class HELP!!! :)

2003-02-24 Thread Khalid K.
Hello All, Please help with this problem. I need request.getRequestURI() to return "actionA.do" This works fine if when I call the getRequestURI() method from an Action class, But When I call request.getRequestURI() from a JSP file...it returns the ActionA.jsp I could replace .j

RE: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread Khalid K.
Had as similar problem... If you change the Resource_en.properties, You have to "touch" the corresponding jsp that uses that particular key, otherwise you get a "missing key" errorso 1. make changes to your property file 2. open xyz.jsp and make a small modification and save it (this forc

Form Design Problem

2003-01-27 Thread K Viswanathan
Hi , I have a requirement where user has to fill up some kind of questionaire form. Questions for a user depends on the "type" of a user. In essense we have a form containing questions which could be different based on the user type. Questions are basically mutiple choice questions and the user

Form Design Problem

2003-01-27 Thread K Viswanathan
Hi , I have a requirement where user has to fill up some kind of questionaire form. Questions for a user depends on the "type" of a user. In essense we have a form containing questions which could be different based on the user type. Questions are basically mutiple choice questions and the us

tag and <%= %> HELP!

2003-01-24 Thread Khalid K.
Regardless of the value of tag, the expression <%=details.getValue()%> gets evaluated. Does <%= %> take precedence over or any custom tag ?? example: <%=details.getValue() %> the scriplet between the tag get executed regardless of outcome of the logic tag. So, if details is NOT

Action set-property : how to read

2003-01-23 Thread Manomohan K Kalathil
Hi all, The struts-config.dtd tells us that we can set custom properties for every action with the use of the set-property element. I assume that we can have an action config as below I would like to know how I can read these properties within my action and use them

RE: Hi

2003-01-20 Thread Manomohan K Kalathil
Sure :-) Send in your credit card information Mano -Original Message- From: Uday [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 4:19 PM To: 'Struts Users Mailing List' Subject: RE: Hi Hi, Can you just send me the code if you have. Regards, uday -Original Message-

RE: Authentication

2003-01-20 Thread Manomohan K Kalathil
Hi Leonardo, Authentication is typically handled by the web container. Typically web applications authenticate a user of the website using one of the mechanisms detailed in the servlet spec ( Form Based, Digest ...) Access control defines the rules for allowing / denying a user access to a

image tag question

2003-01-15 Thread Khalid K.
Here is my dilemma: I have a JSP page that can have the following types of images depending on Locale AND one more variable. Possible choices: tag can refer to a: 1. Spanish version of the image 2. English version of the image 3. Spanish none standard image 4. English none standard image So f

RE: Declarative Exception Handling

2003-01-11 Thread Manomohan K Kalathil
Hi Suresh, The default exception handler within struts stores a reference to the exception object within the request under the key Action.EXCEPTION_KEY. You should be able to get the object reference using Exception cause = (Exception) request.getAttribute(Action.EXCEPTION_KEY) within you

RE: Struts Productivity Survey

2003-01-10 Thread Manomohan K Kalathil
Greg, Agree completely with what Jaaron has to say. Your best bet is to divide up the work. There could be people who are good at JSPs, taglibraries, HTML. Few others who have exposure to web development using servlets etc should be trained indepth on struts and be asked to develop all actions and

Re: Wanted a Good Struts Book

2003-01-08 Thread P K
How come nobody talks of a masterpiece called 'Struts Kick Start' BETA edition, It's got wonderful reviews on Amazon. mech wrote: Avoid "Mastering Jakarta Struts". It was on sale at Amazon, so I took it (at that time all newer (more) up-to-date books weren't available yet). Actually for a simple

Re: Wanted a Good Struts Book

2003-01-08 Thread P K
What I actually meant was 'Struts Fast Track' BETA edition. Wonderful reviews on Amazon. mech wrote: Avoid "Mastering Jakarta Struts". It was on sale at Amazon, so I took it (at that time all newer (more) up-to-date books weren't available yet). Actually for a simple application it's okay, but I

RE: (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved

2003-01-03 Thread Khalid K.
ng List Subject: RE: (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved I don't see any references to WEB-INF/pages in the jsp's - only in web.xml, it references that directory multiple times e.g. defaultJSP /WEB-INF/pages/daily.jsp thanks d -Origin

Re: Iterate Index Evaluation

2003-01-03 Thread Khalid K.
u can always write your own tag and get rid of that scriptlet :) Khalid - Original Message - From: "Cohan, Sean" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 12:58 PM Subject: RE: Iterate Index Evaluation > chuckle, chuckle...

Re: (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved

2003-01-03 Thread Khalid K.
it looks like it is looking at WEB-INF/pages, not in WEB-INF - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 12:38 PM Subject: RE: (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved > Are your tlds located in myapp/WE

Re: link broken

2003-01-03 Thread Khalid K.
tware Engineer/Open Source Evangelist > http://www.open-tools.org > > "C makes it easy to shoot yourself in the foot; C++ makes it harder, but > when you do, it blows away your whole leg." > - Bjarne Stroustrup > > > > -Original Message- > > From

link broken

2003-01-03 Thread Khalid K.
tried downloading Struts 1.1-b3, from the following page: http://jakarta.apache.org/site/binindex.html clicked on the following link: Struts 1.1 Beta 3 http://jakarta.apache.org/site/[preferred]/jakarta/struts/binaries/ got a page not foundnot sure where to report this... Khalid -- To u

Re: (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved

2003-01-03 Thread Khalid K.
the tld files are under the WEB-INF directory of your web app. - Original Message - From: "Daniel Grey" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 10:43 AM Subject: RE: (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be re

Re: Newbie struts-blank question.

2003-01-03 Thread Khalid K.
what version of Struts are you using? I believe the "perform" method is deprecated in 1.1-b* checkout the javadocs http://jakarta.apache.org/struts/ Khalid - Original Message - From: "Alok Pota" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 10:17 AM Subject:

Re: multi row / multi col input forms

2003-01-02 Thread Khalid K.
please read the post below from Craig(he answered a similar question..see question/answer below) On Thu, 2 Jan 2003, Toni Charlot wrote: > Date: Thu, 2 Jan 2003 10:10:32 -0500 > From: Toni Charlot <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL P

RE: beanutils.populate with formbeans and vectors

2002-12-20 Thread Yee, Richard K,,DMDCWEST
No, they need to be different. The getMyItem(int index) and setItems(int index, Object obj) could be named anything ie. getFoo(int index) etc. See http://jakarta.apache.org/struts/userGuide/building_controller.html#map_acti on_form_classes Regards, Richard > -Original Message- > From: M

RE: beanutils populate problem with formbeans and vectors

2002-12-18 Thread Yee, Richard K,,DMDCWEST
Michael, The problem is that the get method is being called when your Collection is empty. This is causing the ArrayIndexOutOfBounds exception that you are seeing. What I have done to prevent this problem is to code my getX(int index) and set(int index, Object obj) methods like this: pub

RE: validate

2002-12-16 Thread Yee, Richard K,,DMDCWEST
"character". "letter" is > "a-zA-Z", right? What is character? "space" or "tab" > is character. Right? Could you correct me if I am > wrong. Sorry for asking the simple question. > > Regards, > Jenny > > > --- "Y

Re: validate

2002-12-16 Thread Khalid K.
if text field accepts any character (which includes, newline/cr, blank, tab, etc) all you need to validate is if object returned is null example: in u request object, you stored a parameter x with value y, you can check... if (x == null) error, else move on... since your text field can take a

RE: validate

2002-12-16 Thread Yee, Richard K,,DMDCWEST
Jenny, If your input can contain ANY characters then what do you need to validate for? Why don't you just check for an empty string? Am I missing something here? -Richard > -Original Message- > From: jenny zhang [SMTP:[EMAIL PROTECTED]] > Sent: Monday, December 16, 2002 1:47 PM > To: S

More than one servlet mapping

2002-12-14 Thread Manomohan K Kalathil
Hi all, The struts documentation (http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config) says that "WARNING - Struts will not operate correctly if you define more than one element for the controller servlet." I would like to know the reason behind this. Is it tha

RE: html:errors location

2002-12-13 Thread Yee, Richard K,,DMDCWEST
Joao, Did you do this? Username: Password: -Original Message- > From: Joao Araujo [SMTP:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 10:45 AM > To: [EMAIL PROTECTED] > Subject: html:errors location > > Hi, > > According to the TIP " Don't settle for

RE: Getting MessageResources from a ActionForm

2002-12-12 Thread Yee, Richard K,,DMDCWEST
Jim, What version of Struts are you using? If it is 1.1b, then have you looked at the org.apache.struts.validator.Resources class? I think that will give you access to the MessageResource that you want. -Richard > -Original Message- > From: Jim Collins [SMTP:[EMAIL PROTECTED]] > Sent: T

Re: Struts UML Diagrams

2002-12-11 Thread Khalid K.
a quick google search with "Struts UML Diagram" yielded the following website..check it out.. http://rollerjm.free.fr/pro/Struts11.html Khalid - Original Message - From: "James Holmes" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2

struts-user@jakarta.apache.org

2002-12-11 Thread Khalid K.
What is the difference between: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>

RE: Struts - JSP does not store the user entered values when i click back (plz answer)

2002-12-06 Thread Khalid K.
Can Someone answer this..i have the same problem Khalid -Original Message- From: Almeida, Veeda [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 12:06 PM To: 'Struts Users Mailing List' Subject: Struts - JSP does not store the user entered values when i click back Goo

RE: Struts with javascript

2002-12-06 Thread Yee, Richard K,,DMDCWEST
Pramod, This should be done completely outside of Struts. What I've done in the past is to have two buttons that have onClick attributes set. Each button is labeled something like ' -> ' and ' <- ' The onClick actions cause JavaScript function(s) to be called. In the function you would iterate th

Re: Forwarding to dynamic action

2002-12-05 Thread Khalid K.
If you want to use mapping.findForwrad("actionName"), you have to put the following entry in your struts-config.xml file: Good Luck Khalid - Original Message - From: "Markus Pedratscher (WebBS)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05,

Re: Properties

2002-12-05 Thread Khalid K.
I was creating a sample struts project, and I was getting "similar" errors. I did realize that my jsp syntax for tags were incorrect... for example: my tag was missing the "/" at the end..etcjust go through your code and make sure the syntax for your jsp is correct...i hope this helps Khalid

usefulness of html:message tag

2002-12-05 Thread Khalid K.
Being new to the struts world, I have the following question: The tag uses ApplicationResources.properties file which is defined in struts-config.xml file. This works fine for small sites. But what if the site contains 100s if not 1000s lines of text which needs to be managed and internationa

Re: Help with Multiple Input!

2002-12-03 Thread Khalid K.
You can use a form tag to gather all that information. I dont understand why you need a "loop" Are you using Struts frame work ?? . Please note that this is just "psuedo code", and that I am not using Strtus Form. Once you post the form, these variables will be available in the reque

Re: Novice in desperate need of HELP

2002-12-03 Thread Khalid K.
Hello Joseph, The things you need: a container or as it is called an Application Server: (Tomcat, WebLogic, JBoss, Websphere...etc) a webserver (apache) a database (depends on ur poject..if u need one..if u are presisting ejbs etc) Latest release of Struts, and a good book in MVC-2 (Model Vi

Re: Specifying button-specific actions in a form

2002-10-06 Thread K Br
? Tx /Kobe On Sun, 6 Oct 2002 16:16:27 +0200 (CEST) Pavel Kolesnikov <[EMAIL PROTECTED]> wrote: >On 6 Oct 2002, K Br wrote: > >> I would like to make the JSP more readable by >> specifying distinct actions to distinct buttons: >>Add -> /performAdd.do

Specifying button-specific actions in a form

2002-10-06 Thread K Br
I have a form with three commands (add, delete and logout). It appears to me that I must forward them to a single action and conveying the specific operation using a property as in: //... I would like to make the JSP more readable by specifying distinct ac

RE: No Context Configured to Process this request

2002-10-06 Thread K Br
can you clarify? I thought you are passing the full path ("/popUp") as the parameter? THank you /Kobe On Sun, 6 Oct 2002 15:24:56 +0530 Divakar Satyanarayan <[EMAIL PROTECTED]> wrote: >Hi, > > I resolved this .. I had to pass the full path when I am passing action as >a paramter

Re: Using friendly names for application entry points

2002-10-05 Thread K Br
rvlet, but Jasper doesn't know what to >do with performLogin. > >Dave Derry > > >- Original Message - >From: "K Br" <[EMAIL PROTECTED]> > > >> The husted Struts site recommends that all application >> entry points be gi

Using friendly names for application entry points

2002-10-04 Thread K Br
The husted Struts site recommends that all application entry points be given friendly names using the global-forwards mapping table. Following this advice, I converted //... to //... by adding the global-forwards entry //...

RE: [STRUTS] Detecting multiple users with the same login

2002-09-23 Thread Manomohan K Kalathil
No. This will not work in a clustered environment. However, what Mark suggested is the simplest approach and should hold good in a normal ( not clustered) webapp. If you want to achieve this is a clustered environment, you will have to maintain a table, possibly in a Database, of user-ids and poss

RE: [CRAP] This guy from the bank raised a question ?

2002-09-23 Thread Manomohan K Kalathil
Filter mails from [EMAIL PROTECTED]!!! Sigh! My rules list is getting longer. It never ceases to amaze me the endless harangue this guy can produce. I think he once threaten to sue me. Mano -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, September

Re: Call for comments: Method dispatching and access control framework.

2002-09-04 Thread Philipp K . Janert
fail at runtime (ie functional testing), which is inconvenient. > > Philipp K. Janert, Ph.D. janert at ieee dot org > -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w: http://www.scioworks.com m: +(65) 9782

Re: Call for comments: Method dispatching and access control framework.

2002-09-04 Thread Philipp K . Janert
tag a method with its required roles and have the code find those roles > and do the checks - no more XML config -> whatever mapping files and no > more custom access control methods! > > James > > > -Original Message- > > From: Philipp K. Janert [mailto:[

Help with html:options

2002-09-04 Thread Kamal . K . Kang
hi all, I am getting the following exception in html:options tag. [ServletException in:/jsp/EditServerBody.jsp] No getter method available for property value for bean under name nngList' This is how I am using it Where nngList is of type Vector and it contains elements of type OptionValue

Call for comments: Method dispatching and access control framework.

2002-09-03 Thread Philipp K . Janert
ly. All other forwards are of course still accessible via findForward(). Rather than finding out during functional testing, it is now possible to find out whether you mistyped "succes" simply by looking into the servlet log... That's it. I am looking forward to your comments and sugges

Link Question

2002-08-30 Thread Kamal . K . Kang
Hi all, I am new to Struts and I am trying to pass some parameters to the Action class when a link is clicked. I have tried many different ways but nothing works for me. I need something like following. mailto:[EMAIL PROTECTED]> For additional commands, e-mail:

RE: Where is the Tiles Tutorial

2002-08-29 Thread Kamal . K . Kang
I read about tiles from Struts book on ServerSide, http://www.serverside.com/. It is chapter 14th. kamal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:09 AM To: [EMAIL PROTECTED] Subject: Where is the Tiles Tutorial In the Str

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Mahesh Kumar K G
Hi, "- Your user submits a form to an action that takes a long time, but gets impatient, presses STOP, and submits the form again. You now have two simultaneous requests to deal with." But is there any specific set of methods to deal with the Multiple requests simultaneously from a user ?

Problem in handling multipart requests

2002-07-12 Thread Mahesh Kumar K G
Is this a bug in Struts when forwarding from one Action class to another ?? Im using struts 1.0.1 version .. Can anyone pls give a resolution for this error ? javax.servlet.ServletException: Multipart data doesn't start with boundary At org.apache.struts.upload.DiskMultipartRequestHandler.handleR

Any Java Web UI Controls that integrate with Struts?

2002-06-07 Thread k thom
I'm looking design a really cool UI but I don't want that flat look and feel that comes with standard HTML. I know I could use flash images for buttons, etc. But is there a better way of going about this than hiring a graphics designer to develop buttons, tab structure, etc. I know that a company

Re: Please recommend a IDE

2002-06-05 Thread Samit K Das
Could try out intelli(www.intellij.com). Thanks Rick Reumann wrote: > On Wednesday, June 5, 2002, 8:20:51 AM, Chiming wrote: > > CH> Can you please recommend a IDE for working on Tomcat 4.0.3 + > CH> Struts 1.0.2 + Ant 1.4.1? > > I vote for JEdit http://www.jedit.org/ > > and also I'm

implementing form actions

2002-05-15 Thread K Br
what is the recommended action structure to implement the following form pattern? [data fields] [operation1] [operation2]...[operationN] I currently define a single action, forward all the [operation] buttons to the action and let the action distinguish between the various

Handling submit with multibox

2002-05-15 Thread K Br
i have a form that lists a number of items using logic:iterate and makes each item selectable using a check box (multibox). The associated Form object makes available an item array Book[] as a property that should

Puzzling error with logic:iterate

2002-05-09 Thread K Br
pl help. i have been wracking my small brain over this for a few hours and i have no clew. i am using logic:iterate copybook style; yet, it throws the runtime exception: javax.servlet.ServletException: Cannot find bean currBook in scope null the iterate statement is: Next book:

Re: *.do ---- Proof of Concepts

2002-04-19 Thread K J
right? So in my case, the requests have not been going through the ActionServlet? damn! --- Marcelo Vanzin <[EMAIL PROTECTED]> wrote: > K J wrote: > > So what you guys are saying is that it won't work > > without the action class? instead of *.do, can I > just > > p

RE: *.do ---- Proof of Concepts

2002-04-19 Thread K J
ly redirects to its > input when > > the perform() > > method is called, e.g.: > > > > return new ActionForward(mapping.getInput()); > > > > Then use it in all you action mappings in the > config file, > > changing the > > "input&quo

*.do ---- Proof of Concepts

2002-04-19 Thread K J
Say I have a web application which contains 1 JSP and I wanted to use Struts. I don't have any action classes, but I want to use the controler servelt and the taglib. Will the *.do work only when you have action classes? What would this entry look like if I only want the Controler servelt to forwa

RE: Struts vs. other Framworks.....

2002-04-10 Thread K J
copy. > > -Dan > > > -Original Message- > > From: K J [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, April 10, 2002 2:56 PM > > To: Struts Users Mailing List > > Subject: Struts vs. other Framworks. > > > > > > I hope this is a

Struts vs. other Framworks.....

2002-04-10 Thread K J
I hope this is a proper question for this group... We’re in the process of choosing a presentation-tier framework. We’re debating between Struts and WebWorks. I would like to get your opinions and thoughts on which one is better and why? This is a large company and the application is pretty UI-

Re: Problem with tag

2002-04-03 Thread $B%"%s%H%K!<(B $B%9%F%$%9(B
Found it!!! I have a "/" at the end of > I have some code in a jsp page > > > logic:equal tag returned true > > > > logic:notEqual tag returned true > > _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.co

Problem with tag

2002-04-03 Thread $B%"%s%H%K!<(B $B%9%F%$%9(B
I have some code in a jsp page logic:equal tag returned true logic:notEqual tag returned true When I access this page, I get the following logic:equal tag returned true logic:notEqual tag returned true Am I missing the point about the "logic:equal" and "logic:notEqual" tags, or is there

Re: Re[2]: ApplicationResources searchs

2002-04-03 Thread $B%"%s%H%K!<(B $B%9%F%$%9(B
Its a design question - where do you want to speed up things. I think a little extra time starting up the application is OK. When the application I have starts up it loads lots of reasonabally static information from a database into beans. It may take a little longer for the application to s

<    1   2   3   4   >