Re: Executing Struts-layout

2004-03-18 Thread Khalid K.
] For additional commands, e-mail: [EMAIL PROTECTED] -- Khalid K. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: help ,action path

2004-03-09 Thread Khalid K.
Do you have the tag libraries defined on top of the page Example: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % ??? Khalid modified the jsp file to the below still doesnt work html:form method=post action=/openReport or

Re: data transfer from Action class to jsp page

2004-02-25 Thread Khalid K.
, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Khalid K

Re: html:logic tag doesn't recognize Struts dataBean property's value

2004-02-23 Thread Khalid K.
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Khalid K. - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Khalid K.
Why can't you just use DispatchAction ?? Then, you can have methods like: Create() Update() Delete() And set the correct token during the submit ?? Khalid -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 7:07 PM To: 'Struts Users

Re: How much of java script is preferred in Struts based application?

2004-02-19 Thread Khalid K.
. -- -- -- Khalid K. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AUTO {ICICICARE#) BLOCK THIS GUY!!

2004-01-29 Thread Khalid K.
attachments please check them for viruses and defects. -- Khalid K. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

no process to read data written to a pipe ??

2004-01-29 Thread Khalid K.
If anyone has seen this error, your input is appreciated, I can't seem to find any references to this on the web. Looks like the error is thrown during the rendering of jsp: billingInfo.jsp. Since this happens in production, I am not sure what is the outcome etc. stack trace: [1/28/04

HttpSession size - is this code correct?

2004-01-21 Thread Khalid K.
Hi, I am trying to dertemine the size of the session object, I've looked around and have written the following, please let me if this is correct. Enumeration e = session.getAttributeNames(); ByteArrayOutputStream bos = new ByteArrayOutputStream(); ObjectOutputStream s =

MessageResources and html help!

2004-01-19 Thread Khalid K.
Hello All, I use MessageResources to pull text from property files, but it doesn't interpret the html tags. I do need to pull the text in the Action class. bean:message recognizes and parses html tags but MessageResources.getMessage just prints it out. Any help is appreciated. example:

RE: MessageResources and html help! (solved)

2004-01-19 Thread Khalid K.
using c:out, make sure you add the attribute escapeXml and set it to false. I believe bean:write has a similar attribute, called filter. -Ben From: Khalid K. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject

Re: error

2004-01-06 Thread Khalid K.
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.544 / Virus Database: 338 - Release Date: 25/11/2003 -- Khalid K. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Question about back button on forward.

2003-12-17 Thread Khalid K.
(US Postal Service Regular Mail Address) State Capitol ESP, PO Box 2062 Albany, NY 12220-0062 (Parcel Post/Overnight and Interagency Mail Address) Empire State Plaza Swan St., Core 4, 1st Floor Albany, NY 12223 -- Khalid K

RE: Form with a Form

2003-12-08 Thread Khalid K.
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Khalid K. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Need to retain the data of the previous page

2003-12-02 Thread Khalid K.
-Original Message- From: Khalid K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 11:54 AM To: 'Struts Users Mailing List' Subject: RE: Need to retain the data of the previous page You have to persist your data. If you declare your form in request scope, then once user

RE: Need to retain the data of the previous page

2003-12-01 Thread Khalid K.
You have to persist your data. If you declare your form in request scope, then once user clicks on submit on page A, you have to save the data to a Value Object stored in session. Khalid -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003

bean:include problem - urgent..help!!

2003-11-25 Thread Khalid K.
platform: AIX/Websphere Struts V: 1.0.2 Problem: bean:include id=x name=/pages/page1.jsp/ bean:write name=x filter=false/ 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

Re: bean:include https problem - urgent..help!!

2003-11-25 Thread Khalid K.
connection. -daniel Daniel A. Torrey daniel at datorrey dot net Quoting Khalid K. [EMAIL PROTECTED]: platform: AIX/Websphere Struts V: 1.0.2 Problem: bean:include id=x name=/pages/page1.jsp/ bean:write name=x filter=false/ the above code works fine

RE: bean:include problem - urgent..help!!

2003-11-25 Thread Khalid K.
if you have JSSE available (or you're running JDK 1.4 or later, which includes JSSE). http://java.sun.com/products/jsse/ Daniel A. Torrey daniel at datorrey dot net Craig Quoting Khalid K. [EMAIL PROTECTED]: platform: AIX/Websphere Struts V: 1.0.2 Problem: bean:include

Re: Large scale Internationalization using struts

2003-11-21 Thread Khalid K.
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Khalid K. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: running Struts with no network connection

2003-11-18 Thread Khalid K.
] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 [INFO] JkMain - -Jk running ID=0 time=1/111 config=/Users/afshar/local/ jakarta-tomcat-4.1.24/conf/jk2.properties -- -- Khalid K

RE: Struts Dilemma

2003-11-06 Thread Khalid K.
I do the following: // in the bean Public boolean isActive() { if (blah) return true; return false; } // if I know that this method will be used in jsp, I also write the following: Public boolean getIsActive() { if (isActive()) return true;

RE: Struts Dilemma

2003-11-06 Thread Khalid K.
method in your bean. If you have isActive, you can use the line: logic:equal name=myBean property=active value=true According to the bean spec any boolean attributes should use isFoo instead of getFoo. BAL From: Khalid K. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED

Re: Passing an input from jsp using bean:write tag

2003-09-18 Thread Khalid K.
did you upgrade from Struts 1.02 to Struts 1.1 in Struts 1.1 properties of a form can be indexed and it uses [], so it might get confused in parsing... Just a thought...not sure if this will be of any help Khalid - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: [EMAIL

Select Box and validation (plz help :)) (repost)

2003-08-08 Thread Khalid K.
- Original Message - From: Khalid K. [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, August 04, 2003 4:26 PM Subject: Select Box and validation (plz help :)) (repost) Any suggestion? please??? :) I am submitting a form using onchange javascript even

(help!!! plz!!) Select Box and validation (repost)

2003-08-06 Thread Khalid K.
Any suggestion? please??? :) I am submitting a form using onchange javascript even handler w/ html:select/html:select tag. This works fine until I turn on VALIDATION, If validation is set to true, and there are any validation errors, when the page is displayed w/ the validation errors, the

Select Box and validation (plz help :))

2003-08-04 Thread Khalid K.
I am submitting a form using onchange javascript even handler w/ html:select/html:select tag. This works fine until I turn on VALIDATION, If validation is set to true, and there are any validation errors, when the page is displayed w/ the validation errors, the value of the SELECT box has

Select Box and validation (plz help :)) (repost)

2003-08-04 Thread Khalid K.
Any suggestion? please??? :) I am submitting a form using onchange javascript even handler w/ html:select/html:select tag. This works fine until I turn on VALIDATION, If validation is set to true, and there are any validation errors, when the page is displayed w/ the validation errors, the

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 using

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: validate() method - and form in session scope Hello all

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

(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: 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 List

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

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, I am

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

2003-02-25 Thread Khalid K.
_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 problem. I need request.getRequestURI() to return actionA.do This works fine if when I call the getRequestURI() method from

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

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

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

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 forces

logic tag and %= % HELP!

2003-01-24 Thread Khalid K.
Regardless of the value of logic:present tag, the expression %=details.getValue()% gets evaluated. Does %= % take precedence over logic:present or any custom tag ?? example: logic:present name=details scope=request %=details.getValue() % /logic:present the scriplet between the tag

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: imag 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

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: Newbie

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 resolved

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

Re: link broken

2003-01-03 Thread Khalid K.
yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. - Bjarne Stroustrup -Original Message- From: Khalid K. [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 1:53 PM To: Struts Users Mailing List Subject: link broken tried

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

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.
://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved Check your jsp, is there any place in the jsp that explicitly looking for tld in WEB-INF/pages? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Khalid K

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

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

!DOCTYPE question

2002-12-11 Thread Khalid K.
What is the difference between: !DOCTYPE struts-config PUBLICand !DOCTYPE struts-config SYSTEM I have the following declaration: (struts console complains that this is not a valid DTD declaration, but I am able to use this w/o any problems...) !DOCTYPE struts-config SYSTEM

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, 2002 1:46

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

usefulness of html:message tag

2002-12-05 Thread Khalid K.
Being new to the struts world, I have the following question: The html:message 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

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 html:message ... 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

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: action-mappings actionpath=/actionName type=packgename.actionNameAction

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

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 ?? form name=myform action=your action class method=post input type=checkbox name=monday input type=select name=startTime . /form Please note that this is just