RE: Opening/reading a file from a Struts application...

2003-07-29 Thread Vijay Balakrishnan
Check this class Resource.java created by Jason Hunter of servlets.com fame to locate a file on the classpath first and then class loader getResource(). Vijay -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 11:36 AM To: Struts Users

[OT] Servlets tied to J2EE in new spec

2003-07-28 Thread Vijay Balakrishnan
Hi, I just attended a conference this weekend.A speaker mentioned that with the Servlet 2.4 spec, Servlets are being tied to the J2EE environment.I would like to know in what way ? Also,does this mean that we can't use Tomcat anymore ?? Thanks, Vijay

RE: [OT] Servlets tied to J2EE in new spec

2003-07-28 Thread Vijay Balakrishnan
to J2EE in new spec Date: Mon, 28 Jul 2003 11:15:01 -0600 You can still use Tomcat. Servlets have always been part of the J2EE spec. You can still use Tomcat. I have deployed Servlet 2.4/JSP 2.0 apps in Tomcat 5.0.4 successfully. HTH, Matt -Original Message- From: Vijay Balakrishnan

RE: Radio active? :-)

2003-07-22 Thread Vijay Balakrishnan
Is it %=currentOp.guyName();% or %=myBean.guyName(); % in your example below ?? -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 2:53 PM To: Struts Users Mailing List Subject: Re: Radio active? :-) you need someething like this nested:iterate

Ant task to merge Struts config files

2003-07-21 Thread Vijay Balakrishnan
Hi, Is there an Ant task to merge the Struts config files for various sub-modules into 1 struts-config.xml file. Thanks, Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: A column consisting of html:select widgets

2003-07-21 Thread Vijay Balakrishnan
Have you tried using a separate ViewAction for the display and a SubmitAction for the submittal.The ViewAction could populate the data from the DB and set multiple selected values depending on the values in the DB. Vijay -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED]

[OT]RE: Iterating the resultset contents in the view (jsp)

2003-07-15 Thread Vijay Balakrishnan
Hi, Is there a way to return this resultset from a SQL Query as an xml file using a beanutils class or Digester ? Thanks, Vijay -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 7:25 PM To: Struts Users Mailing List Subject: Re:

RE: [OT]RE: Iterating the resultset contents in the view (jsp)

2003-07-15 Thread Vijay Balakrishnan
Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 11:55 AM To: Struts Users Mailing List Subject: Re: [OT]RE: Iterating the resultset contents in the view (jsp) --- Vijay Balakrishnan [EMAIL PROTECTED] wrote: Hi, Is there a way to return this resultset from

[OT] RE: Webapp Security?

2003-07-03 Thread Vijay Balakrishnan
HI, On a similar vein, I am running into a problem with web security and thought I will bounce it off all the gurus here in this forum. I am trying to do FORM based authentication and am using login.jsp with an action of j_security_check with SunOne App Server. The j_security_check seems to be

RE: value=bean:write../ question

2003-01-08 Thread Vijay Balakrishnan
a tag as a value of an attribute in a tag -- you need to use a Runtime Expression (or expression language if you are using JSTL) as in the following: html:hidden property=sectionName value=%=ac.getSection().getName()%/ -Original Message- From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED

value=bean:write../ question

2003-01-07 Thread Vijay Balakrishnan
Hi, This code works: tiles:put name=topleftbean:write name=ac property=section.name/./tiles:put But this code doesn't work: html:hidden property=sectionName value=bean:write name=ac property=section.name/ / Can someone explain what I need to do ? Thanks, Vijay -- To unsubscribe, e-mail:

RE: html:errors ActionErrors.GLOBAL_ERROR

2002-12-17 Thread Vijay Balakrishnan
the ActionErrors? Sri -Original Message- From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:48 PM To: '[EMAIL PROTECTED]' Subject: html:errors ActionErrors.GLOBAL_ERROR Hi, I am doing the following in the first Action: ActionErrors errors = new

html:errors ActionErrors.GLOBAL_ERROR

2002-12-16 Thread Vijay Balakrishnan
Hi, I am doing the following in the first Action: ActionErrors errors = new ActionErrors(); errors.add(ActionErrors.GLOBAL_ERROR,new ActionError(individual.backbutton.error)); return forward; I am forwarding to another Action which in turn forwards to another

RE: test jsp pages developed by tag developers to test the tags

2002-12-04 Thread Vijay Balakrishnan
:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 8:07 PM To: [EMAIL PROTECTED] Subject: Re: test jsp pages developed by tag developers to test the tags Vijay == Vijay Balakrishnan [EMAIL PROTECTED] writes: Vijay Hi, Vijay Could somebody point me to the right place to look at the unit

get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vijay Balakrishnan
HI, I am trying to get the key values for a hashmap row from a collection of hashmaps.I want to access the specific key value from the hashmap eg: I want to access the key value nameId from the hashMapQuestionRow directly.How can i do that ? I am doing it this way right now.Is there an easier

RE: get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vijay Balakrishnan
for the requested nameId row. Vinh -Original Message- From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 3:33 PM To: '[EMAIL PROTECTED]' Subject: get key value for a hashmap row-similar to result in jstl HI, I am trying to get the key values for a hashmap row

implement else part of the logical with logic:notEqual

2002-12-03 Thread Vijay Balakrishnan
Hi, I am trying to implement the else part of the logical relation. Can somebody help me with this ? %-- logic:equal name=sectionName value=M logic:notEqual name=questionFieldAnswer value=Y td colspan=3input type='text'

test jsp pages developed by tag developers to test the tags

2002-12-03 Thread Vijay Balakrishnan
Hi, Could somebody point me to the right place to look at the unit test examples used by the developers to test the tags(HTML Logic) they have created.I accidentally came across one sometime back when doing a google search but can't seem to get the pages back again. Thanx, Vijay -- To

data not repopulated after validation using ActionForm for dynamic form fields

2002-11-15 Thread Vijay Balakrishnan
HI, I am trying to validate a fully dynamic form populated from the database.The validation works fine with an ActionForm with the following properties: private String[] fieldIdMemberIds; private String questionName; private HashMap hashMap = new HashMap(); The problem is repopulating

dynamic form field creation from Database with DynaFormBean

2002-11-14 Thread Vijay Balakrishnan
HI, I have the following DynaFormBean defined in tiles-def.xml: form-bean name=answerDetailsForm dynamic=true type=org.apache.struts.action.DynaActionForm form-property name=fieldIdMemberIds type=java.lang.String[] /

dynamic form field creation from Database with DynaFormBean

2002-11-14 Thread Vijay Balakrishnan
HI, I am not sure if this reached the list the first time round. I have the following DynaFormBean defined in tiles-def.xml: form-bean name=answerDetailsForm dynamic=true type=org.apache.struts.action.DynaActionForm form-property

RE: all this traffic/Unsubscribe

2002-09-25 Thread Vijay Balakrishnan
Ha!! I did try unsubscribing and it didn't work.I have been trying to find the 1 person who can help me with this.I have send blank email messages to the [EMAIL PROTECTED] ,[EMAIL PROTECTED] and [EMAIL PROTECTED] on Eddie Bush's suggestion. From: Galbreath, Mark [EMAIL PROTECTED] Reply-To: