RE: Seperation of Include images from War file

2002-07-25 Thread Mannem, Taati

Vasudha,
You have to use this tag

html:rewrite

look for this tag..
Taati

 -Original Message-
 From: Vasudha Puladasu [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, July 25, 2001 3:02 PM
 To:   Struts Users Mailing List
 Cc:   Vasudha Puladasu
 Subject:  Seperation of Include   images from War file 
 
 Hi,
 My problem is ---
 I have a web application war file with all images , include files
 , jsp file  java file . When I deployed this war file , it is working
 fine without any problem.I want to pull out images  include files outside
 the war file.  try to access the images through  my jsps which are in war
 file ? How do I refer to this images . When I try to access , it complains
 always the context path is war name (ex: registration.war ,complains -
 context did not start with context path /registration ) . How can I
 overcome this problem?
 
 Thanks
 Vasudha

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: question on using the html:radio tag...

2002-07-25 Thread Mannem, Taati


Hi,

Set the value of the property corresponding to the radio group in the Form
Bean to the value of the radio you want selected by default.

Taati
 -Original Message-
 From: I-Sampige, Srinivas [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, July 25, 2002 4:38 PM
 To:   Strutsuser (E-mail)
 Subject:  question on using the html:radio tag...
 
 Hi 
  I am using the html:radio tag that comes with the struts distribution to
 render a radio button. What property do I need to set to make it appear
 checked by default? In html I would to that like this -
 
   input type=radio name=mode checked Update Mode/input
 
 
 thanks
 Srinivas
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: can't find webapp root?

2002-06-05 Thread Mannem, Taati

Thinh,
Ypou got to use 
html:rewrite page=url

which rewrites and sets ur webapp



Regards,
Taati
 -Original Message-
 From: Thinh Doan [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, June 05, 2002 12:20 PM
 To:   Struts-User
 Subject:  can't find webapp root?
 
 I open a child window for form inputs and upon successful submit, I'd like
 to close this child window and also point the parent window to a specific
 page. I got 404 error but don't know how to fix it. Please give some
 hints.
 
 TIA,
 
 Thinh
 
 
 Code in close_window.jsp
 %@ taglib uri='/WEB-INF/tlds/struts-template.tld' prefix='template' %
 %@ taglib uri='/WEB-INF/tlds/struts-html.tld' prefix='html' %
 %@ taglib uri=/WEB-INF/tlds/struts-logic.tld prefix=logic %
 html
 
 head
 titleClosing window/title
 html:base/
 
 script language=JavaScript
 !--
 window.opener.location.href=/jsp/home.jsp;
 window.close();
 // --
 /script
 /head
 body
 /body
 /html
 
 The url of the parent window showed //localhost:8080/jsp/home.jsp
 It should be //localhost:8080/mywebapp/jsp/home.jsp
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Install Struts on WebSphere 4 ?

2002-06-02 Thread Mannem, Taati

Nothing special... AFIK
I took the struts example.war and tested it with out the database part.Just
import the war and regenrate the plugin.. U will be all set to go.
Regards,
Taati
 -Original Message-
 From: eilison Lee [SMTP:[EMAIL PROTECTED]]
 Sent: Sunday, June 02, 2002 8:23 AM
 To:   [EMAIL PROTECTED]
 Subject:  How to Install  Struts on WebSphere 4 ?
 
 Dear friends:
 
 How to Install  Struts on WebSphere 4 ?
 Is there anything special?
 
 Thank you!
 eilison
 
 _
 MSN Photos is the easiest way to share and print your photos: 
 http://photos.msn.com/support/worldwide.aspx
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: WebSphere Studio Application Developer and Struts

2002-06-01 Thread Mannem, Taati

John,
We are using wsad with struts1.0.2 .Infact I tired running it on
wsad4.0(trial version) and didnt face any major problems yet.


Regards,
Taati


 From: John Menke [SMTP:[EMAIL PROTECTED]]
 Sent: Saturday, June 01, 2002 7:41 AM
 To:   struts-user
 Subject:  WebSphere Studio Application Developer and Struts
 
 Is anyone using Struts with Wespshere Studio?  I have downloaded the trial
 edition of Studio and it contains the websphere v4.0 Test environment.
 There are posts on the list saying you need Websphere 4.03... can I patch
 the Test environment?
 
 john
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: WebSphere Studio Application Developer and Struts

2002-06-01 Thread Mannem, Taati

John,
Its very simple to do it with WSAD as it has its own websphere
testenvironment which is infact a fullfledged application server.Just try it
.. you will love it..


Regards,
Taati
 -Original Message-
 From: John Menke [SMTP:[EMAIL PROTECTED]]
 Sent: Saturday, June 01, 2002 7:54 AM
 To:   Struts Users Mailing List
 Subject:  RE: WebSphere Studio Application Developer and Struts
 
 Thanks Taati,
 
 I see that Studio supports Tomcat 4.0 for testing.  I think I will try
 with
 this first.
 
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, June 01, 2002 7:43 AM
  To: Struts Users Mailing List
  Subject: RE: WebSphere Studio Application Developer and Struts
 
 
  John,
  We are using wsad with struts1.0.2 .Infact I tired running it on
  wsad4.0(trial version) and didnt face any major problems yet.
 
 
  Regards,
  Taati
 
 
   From: John Menke [SMTP:[EMAIL PROTECTED]]
   Sent: Saturday, June 01, 2002 7:41 AM
   To:   struts-user
   Subject:  WebSphere Studio Application Developer and Struts
  
   Is anyone using Struts with Wespshere Studio?  I have
  downloaded the trial
   edition of Studio and it contains the websphere v4.0 Test environment.
   There are posts on the list saying you need Websphere 4.03...
  can I patch
   the Test environment?
  
   john
  
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Need Help in Popup to Action handler class

2002-05-23 Thread Mannem, Taati

Well Sumita this is what you have got to do.
On click of the button
call this function this way onclick=propmbox()
function promptBox() {
text=prompt(USer Enter.,);

}

In the plce of text have a hidden field the way ted explained and assign the
cvalue to that hidden field

document.form.hiddenfiled.value=prompt(USer Enter,);

and submit the form. and there you are its all done.

HTH
Regards,
Taati
 -Original Message-
 From: Susmita Pati [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 23, 2002 5:29 PM
 To:   'Struts Users Mailing List'
 Subject:  Need Help in Popup to Action handler class
 
 Hi All
 
 I think I had posted this problem earlier. I am a newbee in struts. I need
 to open a popup window at the click of the button. Accept a value in the
 popup. Pass the value back to an action handler which is called by the
 same
 button.
 
 Would really appreciate the help
 
 
 thanks in advance
 susmita
 
 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 23, 2002 5:19 PM
 To: Struts Users Mailing List
 Subject: Re: html:select selected=selected ?
 
 
 It's a feature =:o)
 
 If you don't want one of the items selected, then there's no reason to
 use the option tags. 
 
 The idea is that it is suppose to select the current state. 
 
 It may be that you need to be sure payer.state is set to  at the
 beginning.
 
 -- Ted Husted, Husted dot Com, Fairport NY US
 -- Developing Java Web Applications with Struts
 -- Tel: +1 585 737-3463
 -- Web: http://husted.com/about/services
 
 
 
 Michael Marrotte wrote:
  
  I'm trying to generate:
  
  select name=state
option value=/option
option value=ALAL/option
option value=AKAK/option
option value=ASAS/option
option value=AZAZ/option
  ...
  So, I use the following syntax:
  
html:select property=state name=payer 
html:option value=/html:option
html:option value=ALAL/html:option
html:option value=AKAK/html:option
html:option value=ASAS/html:option
html:option value=AZAZ/html:option
  ...
  
  But, I don't get the desired result, instead I get (e.g. when
  payer.getState()==AK):
  
   select name=stateoption value=/option
option value=ALAL/option
option value=AKselected=selectedAK/option
option value=ASAS/option
option value=AZAZ/option
  
  Does anyone know why the HTML is generated this way?  Is there a way to
 get
  my desired results, from above?
  
  Any help is greatly appreciated.
  
  Thanks,
  
  --Michael Marrotte
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Struts Checkbox

2002-05-22 Thread Mannem, Taati

Sanjeev,
Here is the code
unction callme()
{
if(document.forms[0].checktest.checked)
{
document.forms[0].checktest.checked=false;
}
}
html:checkbox tabindex=38 property=checktest value=TRUE/
onclick=callme()
HTH
Regards,
Taati
 -Original Message-
 From: sanjeev_dutt [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, May 22, 2002 2:51 PM
 To:   Struts Users Mailing List
 Subject:  Struts Checkbox
 
 Hi All,
 
 I have a checkbox in my form :
 
 html:checkbox tabindex=38 property=chkAcctOldThan
 value=TRUE/nbsp;Show ALSO those accounts that are older than 10
 days./td
 
 Can I reset this ( I mean uncheck , if it was checked ) using a Java
 Script function ? If yes, how ?
 
 TIA,
 Sanjeev
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Struts Checkbox

2002-05-22 Thread Mannem, Taati

An addendum
script
function callme()
{
if(document.forms[0].checktest.checked)
{
document.forms[0].checktest.checked=false;
}
}

/script

Regards,
Taati
 -Original Message-
 From: Mannem, Taati [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, May 22, 2002 4:14 PM
 To:   Struts Users Mailing List
 Subject:  RE: Struts Checkbox
 
 Sanjeev,
 Here is the code
 html:checkbox tabindex=38 property=checktest value=TRUE/
 onclick=callme()
 HTH
 Regards,
 Taati
  -Original Message-
  From:   sanjeev_dutt [SMTP:[EMAIL PROTECTED]]
  Sent:   Wednesday, May 22, 2002 2:51 PM
  To: Struts Users Mailing List
  Subject:Struts Checkbox
  
  Hi All,
  
  I have a checkbox in my form :
  
  html:checkbox tabindex=38 property=chkAcctOldThan
  value=TRUE/nbsp;Show ALSO those accounts that are older than 10
  days./td
  
  Can I reset this ( I mean uncheck , if it was checked ) using a Java
  Script function ? If yes, how ?
  
  TIA,
  Sanjeev
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Calendar in XML/java script

2002-05-20 Thread Mannem, Taati

Uma,
I think html/javascript will do fine..if thats ok with you just
lemme know I will send one.. and one person had even posted one excellent
link..hmm have to go thru the achive for that

Regards,
Taati
 -Original Message-
 From: Uma Munugala [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 1:20 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  Calendar in XML/java script
 
 Hi All
I want a help.
Iam using Apache, tomcat 4.0.3 and struts on windows NT
In my project i need to display a calendar and user can select any date
 and i need to display that on my web page.
 Is there any software already existing for this in XML/Java script. If so
 please any body point to that.
 
 
 Any help is very much appreciated.
 
 
 
 Thanks
 Uma
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Calendar in XML/java script

2002-05-20 Thread Mannem, Taati

Here is one Uma.

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg18170.html
Go thru this
HTH

Regards,
Taati
 -Original Message-
 From: Uma Munugala [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 1:20 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  Calendar in XML/java script
 
 Hi All
I want a help.
Iam using Apache, tomcat 4.0.3 and struts on windows NT
In my project i need to display a calendar and user can select any date
 and i need to display that on my web page.
 Is there any software already existing for this in XML/Java script. If so
 please any body point to that.
 
 
 Any help is very much appreciated.
 
 
 
 Thanks
 Uma
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Calendar in XML/java script

2002-05-20 Thread Mannem, Taati

Well Uma,
Whatever Leo has sent is the best one.. You can use that and I am
using one like that.IF that doesn't help lemme know
HTH

Regards,
Taati
 -Original Message-
 From: Uma Munugala [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 1:28 PM
 To:   'Struts Users Mailing List'
 Subject:  RE: Calendar in XML/java script
 
 Hi Taati
 
 html/javascript works for me, can you please send me .
 
 
 
 Thanks
 Uma
 
 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 9:18 AM
 To: Struts Users Mailing List
 Subject: RE: Calendar in XML/java script
 
 
 Uma,
   I think html/javascript will do fine..if thats ok with you just
 lemme know I will send one.. and one person had even posted one excellent
 link..hmm have to go thru the achive for that
 
 Regards,
 Taati
  -Original Message-
  From:   Uma Munugala [SMTP:[EMAIL PROTECTED]]
  Sent:   Monday, May 20, 2002 1:20 PM
  To: '[EMAIL PROTECTED]'
  Subject:Calendar in XML/java script
  
  Hi All
 I want a help.
 Iam using Apache, tomcat 4.0.3 and struts on windows NT
 In my project i need to display a calendar and user can select any
 date
  and i need to display that on my web page.
  Is there any software already existing for this in XML/Java script. If
 so
  please any body point to that.
  
  
  Any help is very much appreciated.
  
  
  
  Thanks
  Uma
  
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Virtual Host/WebGroup Not Found:Strange Error

2002-05-20 Thread Mannem, Taati

Guys,
I ma facing a strange problem in WSAD4.0 using Struts. I say strange
because when I run the jsp directly I get the page displayed properly but
when I come to this page forwarded from other page it says Virtual
Host/WebGroup Not Found: and all the stylesheet formatting which shd be
done is not done. Actually each of the javascript files,stylesheets are put
in separate directroies whichare different from where the jsps are placed.
This thing baffles me guys.
Any body has encountered this problem??

Regards,
Taati


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Virtual Host/WebGroup Not Found:Strange Error

2002-05-20 Thread Mannem, Taati

Guys,
That was a WSAD problem I guess. I restarted the machie and
restarted the WSAD and bingo its working fine..I really am not able to
figure out the problem. Any help here guys?

Regards,
Taati
 -Original Message-
 From: Mannem, Taati [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 12:47 PM
 To:   [EMAIL PROTECTED]
 Subject:  Virtual Host/WebGroup Not Found:Strange Error
 
 Guys,
   I ma facing a strange problem in WSAD4.0 using Struts. I say strange
 because when I run the jsp directly I get the page displayed properly but
 when I come to this page forwarded from other page it says Virtual
 Host/WebGroup Not Found: and all the stylesheet formatting which shd be
 done is not done. Actually each of the javascript files,stylesheets are
 put
 in separate directroies whichare different from where the jsps are placed.
 This thing baffles me guys.
 Any body has encountered this problem??
 
 Regards,
 Taati
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: stuts-config.xml file

2002-05-20 Thread Mannem, Taati

bet on Swahili ;)

Regards,
Taati
 -Original Message-
 From: Leonardo Maciel [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 4:51 PM
 To:   Struts Users Mailing List
 Subject:  RE: stuts-config.xml file
 
 I thought it was Polish notation
 
 -Original Message-
 From: Joseph Barefoot [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 4:52 PM
 To: Struts Users Mailing List
 Subject: RE: stuts-config.xml file
 
 
 Like I said, no negative criticism or finger-pointing from my quarter,
 just
 an observation.  Thanks for telling me this--it actually bolsters my
 point.
 They probably settled on these terms because they were familiar to people
 who were hip to the current nomenclature at the time.
 
 Ah, screw it, let's just use Hungarian notation for
 everything--everybody's
 familiar with it, right?!
 (just kidding)
 
  -Original Message-
  From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 20, 2002 1:11 PM
  To: 'Struts Users Mailing List'
  Subject: RE: stuts-config.xml file
 
 
  The Struts team didn't invent these terms - they adapted them from
 (then)
  current nomenclature.  For example, see David Geary's Advanced
 JavaServer
  Pages, Chapter 6 (Sun/Prentice-Hall, 2001).
 
  Mark
 
  -Original Message-
  From: Joseph Barefoot [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 20, 2002 3:04 PM
 
  I agree 100% with Muki's observations.  Some of the Struts tag-libs also
  suffer from similar non-intuitive naming schemes.  Identifiers should be
  meaningful and descriptive, period, no matter what file format or local
  context they are found in.
 
  This is not a negative criticism, so everyone sheath their fangs
  please; it
  is a common problem of our industry that intimate familiarity can create
  results that lack clarity for those without that degree of familiarity.
  Unfortunately, we don't have enough time to become experts at
 everything,
  else this would not be an issue.
 
  ...but at least with Struts, it's well-documented. :)  Were it not for
 the
  comprehensive JavaDocs, I would've been in serious trouble.
 
 
 
 
   -Original Message-
   From: Soomar, Muki (R.) [mailto:[EMAIL PROTECTED]]
   Sent: Monday, May 20, 2002 11:43 AM
   To: 'Struts Users Mailing List'
   Subject: RE: stuts-config.xml file
  
  
   Leonardo,
   Make sense for the cross-reference in the form-bean element. I am
 not
   too hung up on anything - really, just that I had to scratch my
   head a few times
   on some of the element names and their attribute names, which
 completely
   defeats the purpose of XML config files. XML has to be readable
   ..and understandable,
   as should any code be - right ? ;)
  
   Muki
  
   -Original Message-
   From: Leonardo Maciel [mailto:[EMAIL PROTECTED]]
   Sent: Monday, May 20, 2002 2:33 PM
   To: Struts Users Mailing List
   Subject: RE: stuts-config.xml file
  
  
  
   The javadocs has a brief explanation of the properties defined on
   struts-config.xml
   See Class ActionMapping at:
   http://jakarta.apache.org/struts/doc-1.0.2/api/index.html
  
  
   For me, the only not too intuitive tag is name.
   But since it is a reference to the form name declared on the
   form-bean section it sounds good enough. Definitely not form-class
  
  
   -Original Message-
   From: James Holmes [mailto:[EMAIL PROTECTED]]
   Sent: Monday, May 20, 2002 2:28 PM
   To: Struts Users Mailing List
   Subject: Re: stuts-config.xml file
  
  
   Muki--
  
   The names in the config files/DTDs can seem very
   counter intuitive.  Managing the files by hand in
   general is cumbersome and that's why I developed the
   Struts Console software.
  
   http://www.jamesholmes.com/struts/
  
   I'm adding some functionality in the near future that
   will give explanations for each element and their
   attributes thus making it easier for newbies to get up
   to speed.
  
   -james
   [EMAIL PROTECTED]
  
  
   --- Soomar, Muki (R.) [EMAIL PROTECTED] wrote:
I am still new to struts and going through the
documentation.
Here are some general questions for the gurus who
understand the
DTDs for struts-config.xml file and its usage.
   
action element
1. Why is the attribute type for the action
element named so. Wouldnt
the attribute name action-class be more intuitive
here ?
   
2(a). Attribute name for the same action element
refers to the
form. Again form-class would have been more
intuitive.
   
2(b) Attribute attribute also refers to the form
class for the example application.
I am confused between the usage of the two. (Still
need to do a bit more digging,
but intuitive attribute names would have helped in
the first reading very much !)
   
3. Attribute input is intuitive, but input-uri
or input-url would have been
more intuitive
   
4. Sub-element forward has attribute name that
refers to the type of
result based on which 

Reg Application Resourcebundle

2002-05-20 Thread Mannem, Taati

Guys,
There was a post some days back regarding accessing of resource
bundle and changing the values dynamically.A code example was also there. I
am not able to find it.Can somebody tell me where can I find that?I would
like to change the values in the resource bundle dynamically at runtime.
Thanks in advance!
Regards,
Taati


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Mannem, Taati

Guys,
I did not need to do anything but I could run struts example 1.0.2
version in the WSAD4.0 on NT. As Ruta was sayin WSAD comes with its own
websphere server intsance.
Regards,
Taati
 -Original Message-
 From: Ruta Thakkar [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 17, 2002 10:45 AM
 To:   Struts Users Mailing List
 Subject:  RE: Getting Struts Example work with WebSphere 4.0
 
 
 Hi,
 
 I have got Struts working on Websphere Application Studio Developer 4.02
 without any modifications to the struts code.This comes with a wepshere
 server instance.
 
 The only thing i had to do was to put xerces.jar compliant with jaxp1.1
 in
 web-inf/lib folder of the web project.
 
 Cheers
 
 Ruta
 
 
 
 
 
 
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: REg Select(Repost)

2002-05-17 Thread Mannem, Taati


Dave.
Thanks a lor!. If I set the value of form2 actionclass1 I am not
able to retrieve the value in form2.jsp
and it does not work. Can you send me some code example.

Cheers,
Taati
 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 17, 2002 2:42 PM
 To:   Struts Users Mailing List
 Subject:  RE: REg Select(Repost)
 
 
 
 Setting the value of the type variable in the underlying form bean should
 work.
 Does for me.
 
 cheers,
 
 Dave
 
 
 
 
 
 Mannem, Taati [EMAIL PROTECTED] on 05/16/2002
 04:51:42 PM
 
 Please respond to Struts Users Mailing List
   [EMAIL PROTECTED]
 
 To:   Struts Users Mailing List
   [EMAIL PROTECTED]
 cc:(bcc: David Hay/Lex/Lexmark)
 Subject:  RE: REg Select(Repost)
 
 
 
 Sorry Guys,
  I missed some points.. The actual scenario is like this
 There is a form which has to be displayed with the options ..(value and
 the
 label) Now the databases sends me tthe value.How do i display the value
 chosen.Foexample I render the
  html:select property=type
html:option value=0Year/html:option
html:options collection=typeList property=value
  labelProperty=label/
  /html:select
 
 select list box using this tag and as explained by MArk ad jim.. after
 this
 supposing I have to show the cosen value as 2003 how do I do that. I tried
 by setting the type by set type but but is not working
 Here typelist is a collection which dislays the year which is again an
 arraylist sent to me by the database.It alsos ends me the option value.How
 do i set it so that it is shown correctly in the page.
 I am lost!
 
 Regards,
 Taati
  -Original Message-
  From:   Mannem, Taati [SMTP:[EMAIL PROTECTED]]
  Sent:   Thursday, May 16, 2002 4:09 PM
  To: [EMAIL PROTECTED]
  Subject: REg Select
 
  Guys,
 I know this has bee asked but I amnot able to figure it out
  This is the scenario I have
  A form submit and it opens a form which has a list box with soime data
  and when I choose the data and submit the form the previous form is
 opened
  .. when this form is submiited again I need to se the chosen option but
 I
  amnot able to se..
  I sued collect and used the tag in this way
 
 
  html:select property=type
html:option value=0Year/html:option
html:options collection=typeList property=value
  labelProperty=label/
  /html:select
 
  How do i make sure that the data chosen in the form comes to this form..
  and
  the correctopton is chosen..
  Regards,
  Taati
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: REg Select(Repost)

2002-05-17 Thread Mannem, Taati

Dave,
Oops that was actually a typo.. when I said yourform I meant
form2actionform.
Tried that but it is not orking...
I was discussing this with joe also..

Regards,
Taati
 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 17, 2002 3:17 PM
 To:   Struts Users Mailing List
 Subject:  RE: REg Select(Repost)
 
 
 No, you have to replace yourform to YOUR form!!! ie form2actionform (I
 think
 in your case - whichever is associated with the select box)!
 
 Try that and see if it gives you anything.
 
 Cheers,
 
 David
 
 
 
 
 
 Mannem, Taati [EMAIL PROTECTED] on 05/17/2002
 03:05:28 PM
 
 Please respond to Struts Users Mailing List
   [EMAIL PROTECTED]
 
 To:   Struts Users Mailing List
   [EMAIL PROTECTED]
 cc:(bcc: David Hay/Lex/Lexmark)
 Subject:  RE: REg Select(Repost)
 
 
 
 Dave,
  It brings null.. when it loads...
 Hope yo have got  the csnario right..
 
 form1 = form1.jsp,form1action,form1actionform
 form2=form2.jsp,form2action,form2actionform
 
 onsubmissiong of form1 form1action instantiates and sets the
 form2actionform.setType=whateverIwant
 
 and then form2.jsp gets loaded but the value s still null.
 The form scope is session in the config.xml and one more thing I get an
 error saying yourform not defined in the scope null...
 but if I set it imn the session in form1action it doesnt give any error
 but
 it doesnt work either
 
 Regards,
 Taati
  -Original Message-
  From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
  Sent:   Friday, May 17, 2002 3:00 PM
  To: Struts Users Mailing List
  Subject: RE: REg Select(Repost)
 
 
 
  Does your select box work?  ie when you submit it, is the value of the
  type var
  set correctly?  It should work in exactly the reverse order - if you
 have
  called
  setType(x) on the same form in the action before you get to the jsp,
 there
  should be no problem.  Can you try a bean:write name=your Form
  property=type/ someone on your page and see what it produces when you
  bring
  up the jsp?
 
  Cheers,
 
  Dave
 
 
 
 
 
  Mannem, Taati [EMAIL PROTECTED] on
 05/17/2002
  02:55:26 PM
 
  Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
 
  To:   Struts Users Mailing List
[EMAIL PROTECTED]
  cc:(bcc: David Hay/Lex/Lexmark)
  Subject:  RE: REg Select(Repost)
 
 
 
 
  Dave.
   Thanks a lor!. If I set the value of form2 actionclass1 I am not
  able to retrieve the value in form2.jsp
  and it does not work. Can you send me some code example.
 
  Cheers,
  Taati
   -Original Message-
   From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
   Sent:   Friday, May 17, 2002 2:42 PM
   To: Struts Users Mailing List
   Subject: RE: REg Select(Repost)
  
  
  
   Setting the value of the type variable in the underlying form bean
  should
   work.
   Does for me.
  
   cheers,
  
   Dave
  
  
  
  
  
   Mannem, Taati [EMAIL PROTECTED] on
  05/16/2002
   04:51:42 PM
  
   Please respond to Struts Users Mailing List
 [EMAIL PROTECTED]
  
   To:   Struts Users Mailing List
 [EMAIL PROTECTED]
   cc:(bcc: David Hay/Lex/Lexmark)
   Subject:  RE: REg Select(Repost)
  
  
  
   Sorry Guys,
I missed some points.. The actual scenario is like this
   There is a form which has to be displayed with the options ..(value
 and
   the
   label) Now the databases sends me tthe value.How do i display the
 value
   chosen.Foexample I render the
html:select property=type
  html:option value=0Year/html:option
  html:options collection=typeList property=value
labelProperty=label/
/html:select
  
   select list box using this tag and as explained by MArk ad jim.. after
   this
   supposing I have to show the cosen value as 2003 how do I do that. I
  tried
   by setting the type by set type but but is not working
   Here typelist is a collection which dislays the year which is again an
   arraylist sent to me by the database.It alsos ends me the option
  value.How
   do i set it so that it is shown correctly in the page.
   I am lost!
  
   Regards,
   Taati
-Original Message-
From:   Mannem, Taati [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, May 16, 2002 4:09 PM
To: [EMAIL PROTECTED]
Subject: REg Select
   
Guys,
   I know this has bee asked but I amnot able to figure it out
This is the scenario I have
A form submit and it opens a form which has a list box with soime
 data
and when I choose the data and submit the form the previous form is
   opened
.. when this form is submiited again I need to se the chosen option
  but
   I
amnot able to se..
I sued collect and used the tag in this way
   
   
html:select property=type
  html:option value=0Year/html:option
  html:options collection=typeList property=value
labelProperty=label/
/html:select
   
How do i make sure that the data chosen in the form comes

RE: REg Select(Repost)

2002-05-17 Thread Mannem, Taati

Dave..
I checked the config.xml..Thanks a lot for your help.. Somehow  the way u r
suggesting is not working and i am making it work this way..
it is associated in the config.xml
Anyway I have found tried using collections and html:options as explained
in the example and then set the type by declaring a bean of scope page and
then setting the value from the form1action.and assigning in this way
html:select value=bean:write property=... and so  on and it is working..
I have gt a doubt here..If u see from the struts example the collections is
an array list how do I use them if i ant to use
logic:iterate
say for example

java.util.ArrayList list = new java.util.ArrayList();
list.add(new LabelValueBean(2, 3));
 list.add(new LabelValueBean(1, 2));
request.setAttribute(Types,list);

this is the code and the I have to iterate thru the list list ow do i
iterate 
logic:iterate collection:somebean name as define in bean:define
how do I iterate thru the list
should I necessarily put this in a form and get the list by getter and then
iterate..
Regards,
Taati
 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 17, 2002 4:03 PM
 To:   Struts Users Mailing List
 Subject:  RE: REg Select(Repost)
 
 
 
 So you're getting theerror saying form2actionform not defined in the
 scope
 null?
 
 If so, that's obviously your problem.  Check your struts-config to check
 it is
 associated with the action that forwards to form2.jsp.
 
 Dave
 
 
 
 Mannem, Taati [EMAIL PROTECTED] on 05/17/2002
 03:23:39 PM
 
 Please respond to Struts Users Mailing List
   [EMAIL PROTECTED]
 
 To:   Struts Users Mailing List
   [EMAIL PROTECTED]
 cc:(bcc: David Hay/Lex/Lexmark)
 Subject:  RE: REg Select(Repost)
 
 
 
 Dave,
  Oops that was actually a typo.. when I said yourform I meant
 form2actionform.
 Tried that but it is not orking...
 I was discussing this with joe also..
 
 Regards,
 Taati
  -Original Message-
  From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
  Sent:   Friday, May 17, 2002 3:17 PM
  To: Struts Users Mailing List
  Subject: RE: REg Select(Repost)
 
 
  No, you have to replace yourform to YOUR form!!! ie form2actionform (I
  think
  in your case - whichever is associated with the select box)!
 
  Try that and see if it gives you anything.
 
  Cheers,
 
  David
 
 
 
 
 
  Mannem, Taati [EMAIL PROTECTED] on
 05/17/2002
  03:05:28 PM
 
  Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
 
  To:   Struts Users Mailing List
[EMAIL PROTECTED]
  cc:(bcc: David Hay/Lex/Lexmark)
  Subject:  RE: REg Select(Repost)
 
 
 
  Dave,
   It brings null.. when it loads...
  Hope yo have got  the csnario right..
 
  form1 = form1.jsp,form1action,form1actionform
  form2=form2.jsp,form2action,form2actionform
 
  onsubmissiong of form1 form1action instantiates and sets the
  form2actionform.setType=whateverIwant
 
  and then form2.jsp gets loaded but the value s still null.
  The form scope is session in the config.xml and one more thing I get an
  error saying yourform not defined in the scope null...
  but if I set it imn the session in form1action it doesnt give any error
  but
  it doesnt work either
 
  Regards,
  Taati
   -Original Message-
   From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
   Sent:   Friday, May 17, 2002 3:00 PM
   To: Struts Users Mailing List
   Subject: RE: REg Select(Repost)
  
  
  
   Does your select box work?  ie when you submit it, is the value of the
   type var
   set correctly?  It should work in exactly the reverse order - if you
  have
   called
   setType(x) on the same form in the action before you get to the jsp,
  there
   should be no problem.  Can you try a bean:write name=your Form
   property=type/ someone on your page and see what it produces when
 you
   bring
   up the jsp?
  
   Cheers,
  
   Dave
  
  
  
  
  
   Mannem, Taati [EMAIL PROTECTED] on
  05/17/2002
   02:55:26 PM
  
   Please respond to Struts Users Mailing List
 [EMAIL PROTECTED]
  
   To:   Struts Users Mailing List
 [EMAIL PROTECTED]
   cc:(bcc: David Hay/Lex/Lexmark)
   Subject:  RE: REg Select(Repost)
  
  
  
  
   Dave.
Thanks a lor!. If I set the value of form2 actionclass1 I am not
   able to retrieve the value in form2.jsp
   and it does not work. Can you send me some code example.
  
   Cheers,
   Taati
-Original Message-
From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent:   Friday, May 17, 2002 2:42 PM
To: Struts Users Mailing List
Subject: RE: REg Select(Repost)
   
   
   
Setting the value of the type variable in the underlying form bean
   should
work.
Does for me.
   
cheers,
   
Dave
   
   
   
   
   
Mannem, Taati [EMAIL PROTECTED] on
   05/16/2002
04:51:42 PM
   
Please respond to Struts Users Mailing List
  [EMAIL PROTECTED]
   
To:   Struts Users

Iterator Simple

2002-05-17 Thread Mannem, Taati

Guys,
When I iterate thru logic:iterator how do I know that I am in the
last element?
I have tried using some other way like getting the index and comparing but
it doesnt seem to work..
The reason why I want to do this

if I am in the last element I need to print something and if I am not then I
dont have to print.
Thanks in advance.

Regards,
Taati


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: testing..........

2002-05-16 Thread Mannem, Taati


test failure ;)
test again 
!the test is a failure..reconfigure the web.xml

:)


Regards,
Taati
 -Original Message-
 From: Rajesh Kalluri [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 10:04 AM
 To:   Struts Users Mailing List
 Subject:  testing..
 
 
 test
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




REg Select

2002-05-16 Thread Mannem, Taati

Guys,
I know this has bee asked but I amnot able to figure it out
This is the scenario I have
A form submit and it opens a form which has a list box with soime data
and when I choose the data and submit the form the previous form is opened
.. when this form is submiited again I need to se the chosen option but I
amnot able to se..
I sued collect and used the tag in this way


html:select property=type
  html:option value=0Year/html:option
  html:options collection=typeList property=value
labelProperty=label/
/html:select

How do i make sure that the data chosen in the form comes to this form.. and
the correctopton is chosen..
Regards,
Taati


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: REg Select(Repost)

2002-05-16 Thread Mannem, Taati

Sorry Guys,
I missed some points.. The actual scenario is like this
There is a form which has to be displayed with the options ..(value and the
label) Now the databases sends me tthe value.How do i display the value
chosen.Foexample I render the 
html:select property=type
  html:option value=0Year/html:option
  html:options collection=typeList property=value
labelProperty=label/
/html:select

select list box using this tag and as explained by MArk ad jim.. after this
supposing I have to show the cosen value as 2003 how do I do that. I tried
by setting the type by set type but but is not working
Here typelist is a collection which dislays the year which is again an
arraylist sent to me by the database.It alsos ends me the option value.How
do i set it so that it is shown correctly in the page.
I am lost!

Regards,
Taati
 -Original Message-
 From: Mannem, Taati [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 4:09 PM
 To:   [EMAIL PROTECTED]
 Subject:  REg Select
 
 Guys,
   I know this has bee asked but I amnot able to figure it out
 This is the scenario I have
 A form submit and it opens a form which has a list box with soime data
 and when I choose the data and submit the form the previous form is opened
 .. when this form is submiited again I need to se the chosen option but I
 amnot able to se..
 I sued collect and used the tag in this way
 
 
 html:select property=type
   html:option value=0Year/html:option
   html:options collection=typeList property=value
 labelProperty=label/
 /html:select
 
 How do i make sure that the data chosen in the form comes to this form..
 and
 the correctopton is chosen..
 Regards,
 Taati
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Read this for sure !!!

2002-05-15 Thread Mannem, Taati

LOL!

Regards,
Taati
 -Original Message-
 From: SUPRIYA MISRA [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, May 15, 2002 12:24 PM
 To:   [EMAIL PROTECTED]
 Subject:  Read this for sure !!!
 
 Read this link . May be it affects Flash !!! The technical details are 
 awesome.
 
 http://securityresponse.symantec.com/avcenter/venc/data/aol.exe.hoax.html
 
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Using IDE -JBuilder5 or WSAD

2002-05-15 Thread Mannem, Taati

I was told that the next version of WSAD will have struts console integrated
with it..That would be around jun/jul

Regards,
Taati
 -Original Message-
 From: James Holmes [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, May 15, 2002 5:00 PM
 To:   Struts Users Mailing List
 Subject:  Re: Using IDE -JBuilder5 or WSAD
 
 Currently the Struts Console plugs into JBuilder but
 not into Eclipse/WSAD.  The Struts Console makes
 working on Struts projects much easier in terms of the
 config file.
 
 http://www.jamesholmes.com/struts/
 
 Hopefully in the future there will be a Struts Console
 plugin for Eclipse/WSAD, but it's not ready yet.
 
 -james
 [EMAIL PROTECTED]
 
 
 
 --- Soomar, Muki (R.) [EMAIL PROTECTED] wrote:
  Does anyone have a methodology for doing development
  work using IDEs like JBuilder5 or WSAD. I will be
  curious to know. I have been pulling my hair out
  trying to use both of them but finding it very
  difficult. 
  
  Regards,
  
  Muki Soomar
  
  
  --
  To unsubscribe, e-mail:  
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 LAUNCH - Your Yahoo! Music Experience
 http://launch.yahoo.com
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: javascript and struts1.0.2

2002-05-14 Thread Mannem, Taati

Joseph,
Thanks alot for your help...

Regards,
Taati


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




javascript and struts1.0.2

2002-05-13 Thread Mannem, Taati

Struts guys,
A help and review required urgently.I am using struts1.0.2 and I
have to show the errors(validations ,ActionErrors) in the form of javascript
alerts. I found  that struts 1.0.2 does not support javascript. I handled
this by writing the alerts in the applicationresources.properties and that
way I was within the framework and did not have to do much of extensive
coding. Is this approach correct or is there some other better way?
TIA
Regards,
Taati


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: javascript and struts1.0.2

2002-05-13 Thread Mannem, Taati

Thanks a lot
But common validator is a part of struts1.1b right?It is stillin the beta
version.How can I use that when it is nto stable yet?

Regards,
Taati
 -Original Message-
 From: Juan Alvarado \(Struts List\) [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:11 PM
 To:   Struts Users Mailing List
 Subject:  RE: javascript and struts1.0.2
 
 Look into the validation framework!!!
 
 http://home.earthlink.net/~dwinterfeldt/index.html
 
 Good luck
 
 **
 Juan Alvarado
 Internet Developer -- Manduca Management
 (786)552-0504
 [EMAIL PROTECTED]
 AOL Instant Messenger: [EMAIL PROTECTED]
 
 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:13 PM
 To: [EMAIL PROTECTED]
 Subject: javascript and struts1.0.2
 
 
 Struts guys,
   A help and review required urgently.I am using struts1.0.2 and I
 have to show the errors(validations ,ActionErrors) in the form of
 javascript
 alerts. I found  that struts 1.0.2 does not support javascript. I handled
 this by writing the alerts in the applicationresources.properties and that
 way I was within the framework and did not have to do much of extensive
 coding. Is this approach correct or is there some other better way?
 TIA
 Regards,
 Taati
 
 
 --

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: bean:write returning null

2002-05-13 Thread Mannem, Taati

Yes Thinh I think thats the way to go

Regards,
Taati
 -Original Message-
 From: Thinh Doan [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 4:44 PM
 To:   Struts Users Mailing List
 Subject:  RE: bean:write returning null
 
 Can you use logic:present ?
 
 Thinh
 
 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 3:30 PM
 To: Struts (E-mail)
 Subject: bean:write returning null
 
 
 How are you guys testing for this in JSP?
  
 Mark
 De recta non tolerandum sunt.
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: approache to populate combo-box on the fly

2002-05-13 Thread Mannem, Taati

Emerson,
I know of a way but I do not think this is the only way. When u come
to this window get the data of  the two listboxes into a javascript array
and on change of the one list box u can populate the other list box but
remember  this is good only when u have limite dno of data as having too
much on the client is again not a good idea/design.

Regards,
Taati
 -Original Message-
 From: Emerson Cargnin - MSA [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 5:45 PM
 To:   'Struts Users Mailing List'
 Subject:  approache to populate combo-box on the fly
 
 Hi all
 
 We are using the following approache to populate a combo-box depending on
 the value of a changed combo-box :
 
 We have a iframe on the page, and on the onChange event of some combo-box,
 it loads an struts LoadSelectAction (generic for all cases like this) that
 populates other combo depending of some parameters.
 
 Is it a good practice? have anyone used other way to populate a combo
 without sending the entire page to server and flicking  the page?
 
 Emerson
 
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: javascript and struts1.0.2

2002-05-13 Thread Mannem, Taati

Juan,

I do not think so.Struts 1.0.2 is in alpha version and struts 1.1b is in
beta version.Atleats thats what the docs tell me

Regards,
Taati
 -Original Message-
 From: Juan Alvarado \(Struts List\) [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:43 PM
 To:   Struts Users Mailing List
 Subject:  RE: javascript and struts1.0.2
 
 Mark forgive me, but did you say struts 1.02 is also in beta Does that
 mean that struts 1.1 is in alpha version then???
 
 **
 Juan Alvarado
 Internet Developer -- Manduca Management
 (786)552-0504
 [EMAIL PROTECTED]
 AOL Instant Messenger: [EMAIL PROTECTED]
 
 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:39 PM
 To: 'Struts Users Mailing List'
 Subject: RE: javascript and struts1.0.2
 
 
 1.0.2 is beta, also.  1.1b is where Struts is going.  If you plan to
 upgrade
 from 1.0.2 it's better to do it now than wait.  Further, we have found
 1.1b
 to be remarkably stable.
 
 Mark
 
 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:21 PM
 
 Thanks a lot
 But common validator is a part of struts1.1b right?It is stillin the beta
 version.How can I use that when it is nto stable yet?
 
 Regards,
 Taati
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: javascript and struts1.0.2

2002-05-13 Thread Mannem, Taati

Mark,
This mail was sent before you sent us the update.So please neglect
this mail

Regards,
Taati
 -Original Message-
 
 
 From: Mannem, Taati [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:51 PM
 To:   Struts Users Mailing List
 Subject:  RE: javascript and struts1.0.2
 
 Juan,
 
 I do not think so.Struts 1.0.2 is in alpha version and struts 1.1b is in
 beta version.Atleats thats what the docs tell me
 
 Regards,
 Taati
  -Original Message-
  From:   Juan Alvarado \(Struts List\)
 [SMTP:[EMAIL PROTECTED]]
  Sent:   Monday, May 13, 2002 3:43 PM
  To: Struts Users Mailing List
  Subject:RE: javascript and struts1.0.2
  
  Mark forgive me, but did you say struts 1.02 is also in beta Does
 that
  mean that struts 1.1 is in alpha version then???
  
  **
  Juan Alvarado
  Internet Developer -- Manduca Management
  (786)552-0504
  [EMAIL PROTECTED]
  AOL Instant Messenger: [EMAIL PROTECTED]
  
  -Original Message-
  From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 13, 2002 3:39 PM
  To: 'Struts Users Mailing List'
  Subject: RE: javascript and struts1.0.2
  
  
  1.0.2 is beta, also.  1.1b is where Struts is going.  If you plan to
  upgrade
  from 1.0.2 it's better to do it now than wait.  Further, we have found
  1.1b
  to be remarkably stable.
  
  Mark
  
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 13, 2002 3:21 PM
  
  Thanks a lot
  But common validator is a part of struts1.1b right?It is stillin the
 beta
  version.How can I use that when it is nto stable yet?
  
  Regards,
  Taati
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: javascript and struts1.0.2

2002-05-13 Thread Mannem, Taati

Joseph, 
I am talking to Juan also and I think he is also suggesting the same
way.The first problem I faced was I was using struts 1.0.2 and I didnt know
how to do javascript handling part.So I used  that way to incorporate
javascript alerts into my page and they sure seem to work fine.DO you have
anyspecific example of which will give me the functionality you were talking
abt .
Thanks in advance.

Regards,
Taati
 -Original Message-
 From: Joseph Barefoot [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 4:52 PM
 To:   Struts Users Mailing List
 Subject:  RE: javascript and struts1.0.2
 
 If it works, I'd say it's 'correct' enough. :)
 
 I'm not sure how you're doing this, but why not just write a custom tag or
 do a logic:present to check for an ActionErrors object to see if there
 are
 errors.  If the tag evaluates to true, output your Javascript onload()
 function, using bean:message tags to get the actual error message
 text(s)
 and insert them into the window.alert().  This way you only store the
 error
 message itself in the resource file, while the Javascript stays in your
 JSP
 page.  I've used Struts tags to modify the output of Javascript similarly,
 and it works fine.
 
 Is this how you're currently doing it, and if not, is there a problem with
 doing it this way?
 
 
 peace,
 Joe Barefoot
 
 
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 13, 2002 12:13 PM
  To: [EMAIL PROTECTED]
  Subject: javascript and struts1.0.2
 
 
  Struts guys,
  A help and review required urgently.I am using struts1.0.2 and I
  have to show the errors(validations ,ActionErrors) in the form of
  javascript
  alerts. I found  that struts 1.0.2 does not support javascript. I
 handled
  this by writing the alerts in the applicationresources.properties and
 that
  way I was within the framework and did not have to do much of extensive
  coding. Is this approach correct or is there some other better way?
  TIA
  Regards,
  Taati
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: javascript and struts1.0.2

2002-05-13 Thread Mannem, Taati

Thanks a lot!

Regards,
Taati
 -Original Message-
 From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 5:39 PM
 To:   'Struts Users Mailing List'
 Subject:  RE: javascript and struts1.0.2
 
 It's a matter of symantecs.  An alpha release is differentiated from a
 beta release only by the scope of distribution and, sometimes, the level
 of support.  This is very basic stuff.
 
 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:51 PM
 
 Juan,
 
 I do not think so.Struts 1.0.2 is in alpha version and struts 1.1b is in
 beta version.Atleats thats what the docs tell me
 
 Regards,
 Taati
  -Original Message-
  From:   Juan Alvarado \(Struts List\)
 [SMTP:[EMAIL PROTECTED]]
  Sent:   Monday, May 13, 2002 3:43 PM
  To: Struts Users Mailing List
  Subject:RE: javascript and struts1.0.2
  
  Mark forgive me, but did you say struts 1.02 is also in beta Does
 that
  mean that struts 1.1 is in alpha version then???
  
  **
  Juan Alvarado
  Internet Developer -- Manduca Management
  (786)552-0504
  [EMAIL PROTECTED]
  AOL Instant Messenger: [EMAIL PROTECTED]
  
  -Original Message-
  From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 13, 2002 3:39 PM
  To: 'Struts Users Mailing List'
  Subject: RE: javascript and struts1.0.2
  
  
  1.0.2 is beta, also.  1.1b is where Struts is going.  If you plan to
  upgrade
  from 1.0.2 it's better to do it now than wait.  Further, we have found
  1.1b
  to be remarkably stable.
  
  Mark
  
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 13, 2002 3:21 PM
  
  Thanks a lot
  But common validator is a part of struts1.1b right?It is stillin the
 beta
  version.How can I use that when it is nto stable yet?
  
  Regards,
  Taati
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: javascript and struts1.0.2

2002-05-13 Thread Mannem, Taati

Mark and Juan,
I sure am moving to 1.1 after this discussion.

Regards,
Taati
 -Original Message-
 From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 5:41 PM
 To:   'Struts Users Mailing List'
 Subject:  RE: javascript and struts1.0.2
 
 Be glad to, though his problem appears to be tied to 1.0.2.  My advice was
 to upgrade to 1.1b because he's going to have to eventually, anyway.  Why
 learn a work-around when the latest release will solve his problem?  That
 would be regressive and not worth his time.
 
 -Original Message-
 From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 5:32 PM
 
 Mark G. you wanna give this guy a hand?
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Struts 1.1b and Struts1.0.2

2002-05-13 Thread Mannem, Taati

Guys,

I think the subject of this thread shd be what is the subject of
this mail for help of others and not as was before.Hope you all agree with
me on this. Craig thanks a lot for clearing the confusion. One more thing
the thread started with the usage of javascript with struts1.0.2.Any
suggestions there?
Thanks in advance!

Regards,
Taati

 -Original Message-
 From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 6:20 PM
 To:   Struts Users Mailing List
 Subject:  RE: javascript and struts1.0.2
 
 
 
 On Mon, 13 May 2002, Galbreath, Mark wrote:
 
  Date: Mon, 13 May 2002 17:56:56 -0400
  From: Galbreath, Mark [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
  To: 'Struts Users Mailing List' [EMAIL PROTECTED]
  Subject: RE: javascript and struts1.0.2
 
  Craig,
 
  1.0.2 may be the standard production release, but it was obsolete the
  moment 1.1b-1 was released.  I wouldn't encourage anyone to build
  applications with it.
 
 As should be obvious to everyone, Mark is speaking for himself here.
 Don't listen to this advice ;-).
 
 If you are adventerous, or your application isn't going to need a stable,
 production quality, Struts implementation right this second, feel free to
 build against 1.1-b1 (assuming you can talk any involved pointy-haired
 bosses to accept code with a beta label).
 
 If you must have a stable, production quality, Struts imlementation right
 this second, you'd be nuts to use the new version -- stick with the tried
 and true version.
 
   As far a the definition of beta being the feature
  list is frozen, that simply is not true in most cases, though you may
 have
  decided it in this case.  Beta software, by definition, is distributed
 to
  a select group in order to elicit feedback not only on bugs, but on
 features
  that should be added and/or removed.
 
 
 You might want to take a look at how Apache projects actually operate
 (which is pretty typical of most open source oriented projects as well).
 In particular, betas are not restricted-distribution things -- they are
 labelled beta to properly set expectations about quality and feature
 completeness.
 
 Commercial software organziations may well follow different policies ...
 but them is not us.  :-)
 
  Of course, that's just my opinion; I could be wrong.
  (apologies to Dennis Miller)
 
 If you care what the authors of the code (i.e. Struts committers) think,
 then you are definitely applying your own definitions to our words, not
 using them for what *we* say that they mean.
 
 Struts 1.0.2 is the one and only current production release of Struts.
 
 Struts 1.1-b1 is a beta release of what will be the next version.  It's
 there to encourage testing and shake out bugs, so that we can make it the
 next production release when it is ready.
 
 Note that, even after 1.1 goes final, 1.0.2 will not be obsolete --
 there are thousands of applications in the world running on it.  Not
 everyone can upgrade at the drop of a hat, no matter how many cool
 features are in the new version.  And, if there happen to be enough
 serious bugs that need a fix, it's not impossible to conceive of a 1.0.3
 or 1.0.4 release to protect the investments of anyone who cannot (for
 whatever reason) move immediately to 1.1.
 
  Mark
 
 
 Craig
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: LogoutAction

2002-05-13 Thread Mannem, Taati

Can you please be more clear? What do you mean by does not actually log the
user out?whats happening there?


Regards,
Taati
 -Original Message-
 From: Villegas, Courtney [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 6:53 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  LogoutAction
 
 I am having troubles with the logout action that I have written.  It
 directs
 me to the correct page, but does not actually log the user out and close
 the
 session.  I have attached my action and the info from my struts-config
 file.
 I am calling session.invalidate() incorrectly?
 
 Thanks
 Courtney
 
 !--* Logoff Action
 *--
 actionpath=/logoff
type=org.trimet.security.actions.LogoffAction
scope=request
   forward name=success  path=/jsp/ctest.jsp/
 /action
 
 package org.trimet.security.actions;
 
 import java.io.IOException;
 import java.lang.reflect.InvocationTargetException;
 import java.util.Locale;
 import java.util.Vector;
 import javax.servlet.RequestDispatcher;
 import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpSession;
 import javax.servlet.http.HttpServletResponse;
 import org.apache.struts.action.Action;
 import org.apache.struts.action.ActionForm;
 import org.apache.struts.action.ActionForward;
 import org.apache.struts.action.ActionMapping;
 import org.apache.struts.action.ActionServlet;
 import org.apache.struts.util.MessageResources;
 import org.apache.commons.beanutils.PropertyUtils;
 
 import org.trimet.security.states.Constants;
 import org.trimet.security.states.User;
 
 /**
  * Implementation of strongAction/strong that logs user out of current
 session 
  *
  * @author Courtney S. Villegas
  * @version $Revision: 1.0 $ $Date: 2002/05/13 03:03:00 $
  */
 
 public final class LogoffAction extends Action {
 
 
 // - Public
 Methods
 
 
 /**
  * Process the specified HTTP request, and create the corresponding
 HTTP
  * response (or forward to another web component that will create it).
  * Return an codeActionForward/code instance describing where and
 how
  * control should be forwarded, or codenull/code if the response
 has
  * already been completed.
  *
  * @param mapping The ActionMapping used to select this instance
  * @param actionForm The optional ActionForm bean for this request (if
 any)
  * @param request The HTTP request we are processing
  * @param response The HTTP response we are creating
  *
  * @exception IOException if an input/output error occurs
  * @exception ServletException if a servlet exception occurs
  */
 public ActionForward perform(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
   throws IOException, ServletException {
 
   // Extract attributes we will need
   Locale locale = getLocale(request);
   MessageResources messages = getResources();
   HttpSession session = request.getSession();
   String action = request.getParameter(Load);
   if (action == null)
   action = Load;
 if (servlet.getDebug() = 1)
 servlet.log(LogoffAction:  Processing  + action +
  action);
 
   // Is there a currently logged on user?
   User user = (User) session.getAttribute(Constants.USER_KEY);
   if (user == null) {
   if (servlet.getDebug() = 1)
   servlet.log( User is not logged on in session 
   + session.getId());
   return (servlet.findForward(logon));
   }
 
 
   // Forward control to the GISAppDev page
 if (servlet.getDebug() = 1)
 servlet.log( Forwarding to 'GIS App Dev' page);
 user=null;
 session.invalidate();
   return (mapping.findForward(success));
 
 }
 
 
 }
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: LogoutAction

2002-05-13 Thread Mannem, Taati

Do one thing buddy!
Just do a servlet.log(somestring) after every if(servlet.debug...) and
tell me where it is going?

Regards,
Taati
 -Original Message-
 From: Villegas, Courtney [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 7:11 PM
 To:   'Struts Users Mailing List'
 Subject:  RE: LogoutAction
 
 ALl of my jsp pages check to see whether a user is logged on.  After
 calling
 the logout action, I am still able to navigate to my other jsp pages.
 This
 does not happen every time.  I am really tearing my hair out trying to
 debug, because the results are not consistent.
 
 Courtney
 
 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 4:09 PM
 To: Struts Users Mailing List
 Subject: RE: LogoutAction
 
 
 Can you please be more clear? What do you mean by does not actually log
 the
 user out?whats happening there?
 
 
 Regards,
 Taati
  -Original Message-
  From:   Villegas, Courtney [SMTP:[EMAIL PROTECTED]]
  Sent:   Monday, May 13, 2002 6:53 PM
  To: '[EMAIL PROTECTED]'
  Subject:LogoutAction
  
  I am having troubles with the logout action that I have written.  It
  directs
  me to the correct page, but does not actually log the user out and close
  the
  session.  I have attached my action and the info from my struts-config
  file.
  I am calling session.invalidate() incorrectly?
  
  Thanks
  Courtney
  
  !--* Logoff Action
  *--
  actionpath=/logoff
 type=org.trimet.security.actions.LogoffAction
 scope=request
forward name=success  path=/jsp/ctest.jsp/
  /action
  
  package org.trimet.security.actions;
  
  import java.io.IOException;
  import java.lang.reflect.InvocationTargetException;
  import java.util.Locale;
  import java.util.Vector;
  import javax.servlet.RequestDispatcher;
  import javax.servlet.ServletException;
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpSession;
  import javax.servlet.http.HttpServletResponse;
  import org.apache.struts.action.Action;
  import org.apache.struts.action.ActionForm;
  import org.apache.struts.action.ActionForward;
  import org.apache.struts.action.ActionMapping;
  import org.apache.struts.action.ActionServlet;
  import org.apache.struts.util.MessageResources;
  import org.apache.commons.beanutils.PropertyUtils;
  
  import org.trimet.security.states.Constants;
  import org.trimet.security.states.User;
  
  /**
   * Implementation of strongAction/strong that logs user out of
 current
  session 
   *
   * @author Courtney S. Villegas
   * @version $Revision: 1.0 $ $Date: 2002/05/13 03:03:00 $
   */
  
  public final class LogoffAction extends Action {
  
  
  // - Public
  Methods
  
  
  /**
   * Process the specified HTTP request, and create the corresponding
  HTTP
   * response (or forward to another web component that will create
 it).
   * Return an codeActionForward/code instance describing where
 and
  how
   * control should be forwarded, or codenull/code if the response
  has
   * already been completed.
   *
   * @param mapping The ActionMapping used to select this instance
   * @param actionForm The optional ActionForm bean for this request
 (if
  any)
   * @param request The HTTP request we are processing
   * @param response The HTTP response we are creating
   *
   * @exception IOException if an input/output error occurs
   * @exception ServletException if a servlet exception occurs
   */
  public ActionForward perform(ActionMapping mapping,
   ActionForm form,
   HttpServletRequest request,
   HttpServletResponse response)
  throws IOException, ServletException {
  
  // Extract attributes we will need
  Locale locale = getLocale(request);
  MessageResources messages = getResources();
  HttpSession session = request.getSession();
  String action = request.getParameter(Load);
  if (action == null)
  action = Load;
  if (servlet.getDebug() = 1)
  servlet.log(LogoffAction:  Processing  + action +
   action);
  
  // Is there a currently logged on user?
  User user = (User) session.getAttribute(Constants.USER_KEY);
  if (user == null) {
  if (servlet.getDebug() = 1)
  servlet.log( User is not logged on in session 
  + session.getId());
  return (servlet.findForward(logon));
  }
  
  
  // Forward control to the GISAppDev page
  if (servlet.getDebug() = 1)
  servlet.log( Forwarding to 'GIS App Dev' page);
  user=null;
  session.invalidate();
  return

Reg the Action Errors and Action class

2002-05-10 Thread Mannem, Taati

Guys!
I know its friday but can not stop myself from asking a question or a doubt!

Errors as you know can be many types but broadly classified as Front End
Validation Errors and BackEnD validation errors..
Now the front end validation(the form validation) is being handled by the
form validate and I am handling the errors which the backend is sending me
by instantiating the Actionerrors in the action class and forwarding it to
the appropriate page.Is my approach correct and if yes what are the things
that I should take care off?
If my approach is wrong where am I goofing up?

TIA
Regards,
Taati


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: bean:write returning null

2002-05-10 Thread Mannem, Taati


By using Present tag I believe,,,
Leo and Jim helped me with this y'day
Am I correct Jim and Leo
Regards,
Taati
 -Original Message-
 From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 4:30 PM
 To:   Struts (E-mail)
 Subject:  bean:write returning null
 
 How are you guys testing for this in JSP?
  
 Mark
 De recta non tolerandum sunt.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: bean:write returning null

2002-05-10 Thread Mannem, Taati

Great!
I am becoming a worthy(??) disciple  if not a guru!
Keep Going Guys!

Regards,
Taati
 -Original Message-
 From: James Mitchell [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 4:42 PM
 To:   Struts Users Mailing List
 Subject:  RE: bean:write returning null
 
 Yes you are
 http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg30390.html
 
 
 
 JM 
 
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Friday, May 10, 2002 4:34 PM
  To: Struts Users Mailing List
  Subject: RE: bean:write returning null
  
  
  
  By using Present tag I believe,,,
  Leo and Jim helped me with this y'day
  Am I correct Jim and Leo
  Regards,
  Taati
   -Original Message-
   From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]]
   Sent: Friday, May 10, 2002 4:30 PM
   To:   Struts (E-mail)
   Subject:  bean:write returning null
   
   How are you guys testing for this in JSP?

   Mark
   De recta non tolerandum sunt.
  
  --
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
  
  
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: bean:write returning null

2002-05-10 Thread Mannem, Taati

Not at all..
Just a newbie! in struts

Regards,
Taati
 -Original Message-
 From: James Mitchell [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 4:49 PM
 To:   Struts Users Mailing List
 Subject:  RE: bean:write returning null
 
 You're not a lawyer too are you?
 
 JM
 
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Friday, May 10, 2002 4:40 PM
  To: Struts Users Mailing List
  Subject: RE: bean:write returning null
 
 
  Great!
  I am becoming a worthy(??) disciple  if not a guru!
  Keep Going Guys!
 
  Regards,
  Taati
   -Original Message-
   From: James Mitchell [SMTP:[EMAIL PROTECTED]]
   Sent: Friday, May 10, 2002 4:42 PM
   To:   Struts Users Mailing List
   Subject:  RE: bean:write returning null
  
   Yes you are
  
 
 http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg30390.html
  
  
  
   JM
  
-Original Message-
From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 4:34 PM
To: Struts Users Mailing List
Subject: RE: bean:write returning null
   
   
   
By using Present tag I believe,,,
Leo and Jim helped me with this y'day
Am I correct Jim and Leo
Regards,
Taati
 -Original Message-
 From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 4:30 PM
 To:   Struts (E-mail)
 Subject:  bean:write returning null

 How are you guys testing for this in JSP?

 Mark
 De recta non tolerandum sunt.
   
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
   
   
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Comparing Null using Logic:Equal

2002-05-09 Thread Mannem, Taati

Guys,
Thanks for the help on the previous post. Can anyone tell me how do
I compare a value null using logic equal or someother tag.
This is the requirement..
If the value returned by a getter method is null in iterator tag then I have
got to display something else something else..

Thanks a lot in advance!
Cheerio,
Taati


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Comparing Null using Logic:Equal

2002-05-09 Thread Mannem, Taati

Leo and Jim,
Thanks a lot it works but not exactly the way my requirement
demands.
I will explain to you the scenario.Take the struts-examples for instance.
When we click on the edit registration we get a table with the heading
host,autoconnect,etc.. Now if the subscriptions bean is null it will not
display the column, that is the results array in the bean user is returned
null for the first time and hence the table rows are not printed. When I use
the logic:present tag it works only if I go to subscription and dont enter
anything and come back. Actually my requirement is to show some other data
when the user clicks on the reigistration and there is no data to be shown
in the table.Hope i am clear?

Regards,
Taati
 -Original Message-
 From: James Mitchell [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 09, 2002 1:31 PM
 To:   Struts Users Mailing List
 Subject:  RE: Comparing Null using Logic:Equal
 
 See logic:present
 
 JM 
 
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 09, 2002 1:25 PM
  To: Struts Users Mailing List
  Subject: Comparing Null using Logic:Equal
  
  
  Guys,
  Thanks for the help on the previous post. Can anyone tell me how do
  I compare a value null using logic equal or someother tag.
  This is the requirement..
  If the value returned by a getter method is null in iterator tag 
  then I have
  got to display something else something else..
  
  Thanks a lot in advance!
  Cheerio,
  Taati
  
  
  --
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
  
  
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Comparing Null using Logic:Equal

2002-05-09 Thread Mannem, Taati

Leo,
You were clear but still it doesn't work.
I will paste the code here. This is from the registration.jsp of the
struts-example

logic:iterate id=subscription name=user property=subscriptions
logic:notPresent name=subscription property=subscriptions
trtdPlease do whatever Taati wants
/td
/tr

logic:notPresent
logic:present name=subscription property=subscriptions
  tr
td align=left
  bean:write name=subscription property=host filter=true/
/td
td align=left
  bean:write name=subscription property=username filter=true/
/td
td align=center
  bean:write name=subscription property=type filter=true/
/td
...
...
...
..

logic:present

but the result is I wont do whatever Taati wants!;)
It is just the same..
May I know where I am goofing up!

Regards,
Taati
 -Original Message-
 From: Leonardo Maciel [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 09, 2002 1:38 PM
 To:   'Struts Users Mailing List'
 Subject:  RE: Comparing Null using Logic:Equal
 
 so use both
 
 logic:present ... 
  display column
 /logic:present
 logic:notPresent ... 
  display some other data
 /logic:notPresent
 
 hope I am clear!!
 
 
 
 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 09, 2002 1:37 PM
 To: Struts Users Mailing List
 Subject: RE: Comparing Null using Logic:Equal
 
 
 Leo and Jim,
   Thanks a lot it works but not exactly the way my requirement
 demands.
 I will explain to you the scenario.Take the struts-examples for instance.
 When we click on the edit registration we get a table with the heading
 host,autoconnect,etc.. Now if the subscriptions bean is null it will not
 display the column, that is the results array in the bean user is returned
 null for the first time and hence the table rows are not printed. When I
 use
 the logic:present tag it works only if I go to subscription and dont enter
 anything and come back. Actually my requirement is to show some other data
 when the user clicks on the reigistration and there is no data to be shown
 in the table.Hope i am clear?
 
 Regards,
 Taati
  -Original Message-
  From:   James Mitchell [SMTP:[EMAIL PROTECTED]]
  Sent:   Thursday, May 09, 2002 1:31 PM
  To: Struts Users Mailing List
  Subject:RE: Comparing Null using Logic:Equal
  
  See logic:present
  
  JM 
  
   -Original Message-
   From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, May 09, 2002 1:25 PM
   To: Struts Users Mailing List
   Subject: Comparing Null using Logic:Equal
   
   
   Guys,
 Thanks for the help on the previous post. Can anyone tell me how do
   I compare a value null using logic equal or someother tag.
   This is the requirement..
   If the value returned by a getter method is null in iterator tag 
   then I have
   got to display something else something else..
   
   Thanks a lot in advance!
   Cheerio,
   Taati
   
   
   --
   To unsubscribe, e-mail:   
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail: 
   mailto:[EMAIL PROTECTED]
   
   
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Comparing Null using Logic:Equal

2002-05-09 Thread Mannem, Taati

Leo,
Sorry abt that I had closed it properly but forgot to type it
properly here.. 

Regards,
Taati
 -Original Message-
 From: Leonardo Maciel [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 09, 2002 1:51 PM
 To:   Struts Users Mailing List
 Subject:  RE: Comparing Null using Logic:Equal
 
 
 The closing tag requires / 
 ...
 /logic:notPresent
 ...
 /logic:present
 
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Comparing Null using Logic:Equal

2002-05-09 Thread Mannem, Taati

Jim,

I closed it properly in teh code but missed whenI was typing here!
Regards,
Taati
 -Original Message-
 From: James Mitchell [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 09, 2002 2:00 PM
 To:   Struts Users Mailing List
 Subject:  RE: Comparing Null using Logic:Equal
 
 You forgot to close your tag...see below
 
 JM
 
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 09, 2002 1:50 PM
  To: Struts Users Mailing List
  Cc: [EMAIL PROTECTED]
  Subject: RE: Comparing Null using Logic:Equal
 
 
  Leo,
  You were clear but still it doesn't work.
  I will paste the code here. This is from the registration.jsp of the
  struts-example
 
  logic:iterate id=subscription name=user property=subscriptions
  logic:notPresent name=subscription property=subscriptions
  trtdPlease do whatever Taati wants
  /td
  /tr
 
  logic:notPresent   --here
  logic:present name=subscription property=subscriptions
tr
  td align=left
bean:write name=subscription property=host filter=true/
  /td
  td align=left
bean:write name=subscription property=username
 filter=true/
  /td
  td align=center
bean:write name=subscription property=type filter=true/
  /td
  ...
  ...
  ...
  ..
 
  logic:present
 
  but the result is I wont do whatever Taati wants!;)
  It is just the same..
  May I know where I am goofing up!
 
  Regards,
  Taati
   -Original Message-
   From: Leonardo Maciel [SMTP:[EMAIL PROTECTED]]
   Sent: Thursday, May 09, 2002 1:38 PM
   To:   'Struts Users Mailing List'
   Subject:  RE: Comparing Null using Logic:Equal
  
   so use both
  
   logic:present ... 
display column
   /logic:present
   logic:notPresent ... 
display some other data
   /logic:notPresent
  
   hope I am clear!!
  
  
  
   -Original Message-
   From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, May 09, 2002 1:37 PM
   To: Struts Users Mailing List
   Subject: RE: Comparing Null using Logic:Equal
  
  
   Leo and Jim,
 Thanks a lot it works but not exactly the way my requirement
   demands.
   I will explain to you the scenario.Take the struts-examples for
  instance.
   When we click on the edit registration we get a table with the heading
   host,autoconnect,etc.. Now if the subscriptions bean is null it will
 not
   display the column, that is the results array in the bean user
  is returned
   null for the first time and hence the table rows are not printed. When
 I
   use
   the logic:present tag it works only if I go to subscription and
  dont enter
   anything and come back. Actually my requirement is to show some
  other data
   when the user clicks on the reigistration and there is no data
  to be shown
   in the table.Hope i am clear?
  
   Regards,
   Taati
-Original Message-
From:   James Mitchell [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, May 09, 2002 1:31 PM
To: Struts Users Mailing List
Subject:RE: Comparing Null using Logic:Equal
   
See logic:present
   
JM
   
 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 09, 2002 1:25 PM
 To: Struts Users Mailing List
 Subject: Comparing Null using Logic:Equal


 Guys,
   Thanks for the help on the previous post. Can
  anyone tell me how do
 I compare a value null using logic equal or someother tag.
 This is the requirement..
 If the value returned by a getter method is null in iterator tag
 then I have
 got to display something else something else..

 Thanks a lot in advance!
 Cheerio,
 Taati


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


   
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Comparing Null using Logic:Equal

2002-05-09 Thread Mannem, Taati

Leo,
You were right but still no luck it still says
'I wont do whetver Taati wants'..[sigh]
It is just skipping the notPresent tag and not printing anything
Regards,
Taati
 From: Leonardo Maciel [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 09, 2002 2:01 PM
 To:   'Mannem, Taati'; Struts Users Mailing List
 Cc:   Leonardo Maciel
 Subject:  RE: Comparing Null using Logic:Equal
 
 You said  if the subscriptions bean is null 
 I am assuming subscriptions is property of user. 
 You should iterate only when logic:present name=user
 property=subscriptions
 That's how I would do:
 
 logic:notPresent name=user property=subscriptions
 trtdPlease do whatever Taati wants
 /td
 /tr
 ...
 /logic:notPresent
 
 logic:present name=user property=subscriptions
 logic:iterate id=subscription name=user property=subscriptions  
 tr
 td align=left
   bean:write name=subscription property=host filter=true/
 /td
 td align=left
   bean:write name=subscription property=username filter=true/
 /td
 td align=center
   bean:write name=subscription property=type filter=true/
 /td
 ...
 ...
 ...
 ..
 /logic:iterate
 
 /logic:present
 
 
 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 09, 2002 1:50 PM
 To: Struts Users Mailing List
 Cc: [EMAIL PROTECTED]
 Subject: RE: Comparing Null using Logic:Equal
 
 
 Leo,
   You were clear but still it doesn't work.
 I will paste the code here. This is from the registration.jsp of the
 struts-example
 
 logic:iterate id=subscription name=user property=subscriptions
 logic:notPresent name=subscription property=subscriptions
 trtdPlease do whatever Taati wants
 /td
 /tr
 
 logic:notPresent
 logic:present name=subscription property=subscriptions
   tr
 td align=left
   bean:write name=subscription property=host filter=true/
 /td
 td align=left
   bean:write name=subscription property=username filter=true/
 /td
 td align=center
   bean:write name=subscription property=type filter=true/
 /td
 ...
 ...
 ...
 ..
 
 logic:present
 
 but the result is I wont do whatever Taati wants!;)
 It is just the same..
 May I know where I am goofing up!
 
 Regards,
 Taati
  -Original Message-
  From:   Leonardo Maciel [SMTP:[EMAIL PROTECTED]]
  Sent:   Thursday, May 09, 2002 1:38 PM
  To: 'Struts Users Mailing List'
  Subject:RE: Comparing Null using Logic:Equal
  
  so use both
  
  logic:present ... 
   display column
  /logic:present
  logic:notPresent ... 
   display some other data
  /logic:notPresent
  
  hope I am clear!!
  
  
  
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 09, 2002 1:37 PM
  To: Struts Users Mailing List
  Subject: RE: Comparing Null using Logic:Equal
  
  
  Leo and Jim,
  Thanks a lot it works but not exactly the way my requirement
  demands.
  I will explain to you the scenario.Take the struts-examples for
 instance.
  When we click on the edit registration we get a table with the heading
  host,autoconnect,etc.. Now if the subscriptions bean is null it will not
  display the column, that is the results array in the bean user is
 returned
  null for the first time and hence the table rows are not printed. When I
  use
  the logic:present tag it works only if I go to subscription and dont
 enter
  anything and come back. Actually my requirement is to show some other
 data
  when the user clicks on the reigistration and there is no data to be
 shown
  in the table.Hope i am clear?
  
  Regards,
  Taati
   -Original Message-
   From: James Mitchell [SMTP:[EMAIL PROTECTED]]
   Sent: Thursday, May 09, 2002 1:31 PM
   To:   Struts Users Mailing List
   Subject:  RE: Comparing Null using Logic:Equal
   
   See logic:present
   
   JM 
   
-Original Message-
From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 1:25 PM
To: Struts Users Mailing List
Subject: Comparing Null using Logic:Equal


Guys,
Thanks for the help on the previous post. Can anyone tell me
 how do
I compare a value null using logic equal or someother tag.
This is the requirement..
If the value returned by a getter method is null in iterator tag 
then I have
got to display something else something else..

Thanks a lot in advance!
Cheerio,
Taati


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


   
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]

--
To unsubscribe, e

RE: [ANNOUNCE]petstore1.3 running under struts1.0

2002-05-03 Thread Mannem, Taati

Yang,
I will test this is WSAD.please send me the war file.

Regards,
Taati
 -Original Message-
 From: Yang Li [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 03, 2002 12:31 PM
 To:   Struts Users Mailing List
 Subject:  [ANNOUNCE]petstore1.3 running under struts1.0
 
 Hi: 
 
 I have rewritten the View and Controller part(of MVC)
 of the petstore 1.3 web layer. Now the petstore can
 run with struts 1.0. 
 
 The View part, I switched from sun smart tags to
 struts
 tags, struts style template. But I kept smart tags in
 few places where smart tags are better choices. 
 
 For Controller part, I switched the MainServlet, and
 TemplateServlet to subclasses of struts ActionServlet
 and used struts configuration format. and built bridge
 classes to adapt struts actions to petstore actions.
 
 The Model(with help of some adaptor classes) part and
 layers under M(EJB etc.) are kept unchanged.
 
 I think struts is much richer set of tags and a
 maturer web layer framework with better i18l
 support.(smart tag has great features but is not
 enough for a big project). If petstore has struts as a
 web layer, it will be a good foundation to develop new
 production-strength project upon.
 
 I have tested the new package on my machine thorougly,
 but I hope someone can help me test it on other
 environment. after that. anyone would like to host the
 patch download? If you are interested, Please tell
 email address so I can send you a copy. I can send you
 the whole petstore directory under
 apps/src/petstore(about 751k after zip), so you can
 simply rebuild and deploy to a running j2eesdk server.
 
 Yang
 
 
 
 __ 
 Games, Movies, Music  Sports! http://entertainment.yahoo.ca
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: html:select help!

2002-05-01 Thread Mannem, Taati

Muthu,
its possible by the style sheet  but as Jim pointed out it might
affect ur look and feel of the listbox.
Create a styleclass and give the following property 

font-weight: bold

and refer top t his style class using this syntax in ur html:select tag
html:select styleclass=urstyleclassname .
Try this and it will work..Lemme know
Good Luck

Regards,
Taati
 -Original Message-
 From: Muthukumar [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, May 01, 2002 5:45 AM
 To:   [EMAIL PROTECTED]
 Subject:  html:select help!
 
 Hi
  
 How to make one or more option of select object bold.
  
  
  
 Thanks and Regards
 Muthukumar .S
 Mysore.
File: ATT1065227.txt  

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: html:select help!

2002-05-01 Thread Mannem, Taati

An addendum
The code that Is en was for the whole select ..We do not have the style
class fo options.. 

Regards,
Taati

 -Original Message-
 From: Mannem, Taati 
 Sent: Wednesday, May 01, 2002 11:34 AM
 To:   'Struts Users Mailing List'
 Subject:  RE: html:select help!
 
 Muthu,
   its possible by the style sheet  but as Jim pointed out it might
 affect ur look and feel of the listbox.
 Create a styleclass and give the following property 
 
 font-weight: bold
 
 and refer top t his style class using this syntax in ur html:select tag
 html:select styleclass=urstyleclassname .
 Try this and it will work..Lemme know
 Good Luck
 
 Regards,
 Taati
   -Original Message-
   From:   Muthukumar [SMTP:[EMAIL PROTECTED]]
   Sent:   Wednesday, May 01, 2002 5:45 AM
   To: [EMAIL PROTECTED]
   Subject:html:select help!
 
   Hi

   How to make one or more option of select object bold.



   Thanks and Regards
   Muthukumar .S
   Mysore.
  File: ATT1065227.txt  

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]