Hi

2003-04-03 Thread C.Bhaskaran
Title: Message



Hi Pls unsubscribe 
me from the mailing list 
 I 
had mailed thrice for unsubscribing 
 
but still i am getting these mails
 I 
am fed up of deleting mails from my inbox.
Rgds
C.Bhaskaran

**Disclaimer

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***

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

RE: Help needed

2003-01-06 Thread C.Bhaskaran
Title: Message



put 
html:errors tag

  
  -Original Message-From: Suresh Addagalla 
  [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 
  4:30 PMTo: [EMAIL PROTECTED]Subject: Help 
  needed
  Hi,
  
  I 
  have a login page. If the login fails, I want to show the errors next to the 
  specific field (if username is wrong, the error is shown next to username 
  field, etc.) I am using programmatic exception handling.
  
   try 
  { 
  service.authenticate(userName, password) 
  ; } catch (InvalidLoginException 
  ile) 
  { 
   
  System.out.println("adding action errors in action class") 
  ; 
   
  ActionErrors errors = new 
  ActionErrors(); 
  errors.add( "userName", new ActionError("invalid.login") 
  ); 
  saveErrors( request, errors 
  ); 
   
  return mapping.findForward("Failure") 
  ; }
  
  How 
  should I access these errors in my JSP to show the errors?
  
  Thanks,
  Suresh
**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.







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


RE: javax.servlet.ServletException: Missing message for key index.title

2002-11-25 Thread C.Bhaskaran
Pls check your MessageResources.porperties file u had not given
Index.title=My Index Blah Blah ..



-Original Message-
From: ravi shankar [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, November 26, 2002 11:01 AM
To: Struts Users Mailing List
Subject: Re: javax.servlet.ServletException: Missing message for key
index.title


pls help me in fixing this problem.. i am stuck badly


rs
- Original Message -
From: kiuma [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 6:42 PM
Subject: Re: javax.servlet.ServletException: Missing message for key
index.title


 I suppose you haven't defined the index.title value in your 
 MessageResources.porperties.

 ravi shankar wrote:

 Hi friends,
 I've got the following error, which i got while opening a jsp file.
 
 javax.servlet.ServletException: Missing message for key index.title  
 at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImp
l.java:461)
  at
jsp._0002fjsp_0002fBookView_0002ejspBookView_jsp_3._jspService(_0002fjsp
_000
2fBookView_0002ejspBookView_jsp_3.java:150)
  at 
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServle
t.ja
va:130)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.ja
va:282)
  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
  at org.apache.tomcat.core.Handler.service(Handler.java:287)
 ...
 
 pls help me solving the problem, i've checked the classpaths and 
 files,
which seems to be in place.
 
 ravi
 
 



 --
 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]


**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.







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


RE: Using the nested iterate tag

2002-11-19 Thread C.Bhaskaran
Title: Message



Hi 
Vidya,
You 
can use nested iterate tag to achive this functionality.
Rgds
C.Bhaskaran

  
  -Original Message-From: Vidya P.S. 
  [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 4:41 
  PMTo: [EMAIL PROTECTED]Subject: Using the 
  nested iterate tag
  Hi,
  In a JSP, I need 
  to iterate through a collection of beans, say BeanA, which is stored in the 
  session.
  BeanAcontains the attributes- ID (a String)and an 
  arrayList.The array list contained in BeanA contains a collection of beans of 
  type, say, BeanB. BeanB has an attribute, Name (which is a 
  String).
  How do I iterate 
  through the collection of Bean A and for eachID of bean A - 
  iterate through the array list contained in it and display the value of "Name" 
  attribute of bean B ? 
  
  Thanks
  Vidya
  
**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.







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


Charset Problem

2002-10-13 Thread C.Bhaskaran
Title: Message



Hi 
,
 I 
am using greek and latin charsets
 I 
am not getting the correct data in the request object using action 
class
 Pls help
rgds
C.Bhaskaran


**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.








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


Help required on Greek and Latin charsets

2002-10-10 Thread C.Bhaskaran
Title: Message



How do we set Greek 
and Latin character set and display themo nt the txt 
box

**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.








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


RE: How to return changes made on a JSP iteration of object properties to the Action Class

2002-09-26 Thread C.Bhaskaran

Hi ,
First when you set the arrayList to the form bean and use struts
iterate tag
then you can display the result.
When you want to reconstruct the ArrayList back you need to
write 
String[] , int[] or long[] data memebers and getters and setters
methods in you form bean.
Struts does not call setArrayList () method on the form bean
when you submit the page.
Form these you need to reconstruct the ArraryList it is better
to do in the Action Class.
Rgds
C.Bhaskaran


-Original Message-
From: mail [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 26, 2002 12:07 PM
To: [EMAIL PROTECTED]
Subject: How to return changes made on a JSP iteration of object
properties to the Action Class


Hello,
I am creating an ArrayList of GridDetermination objects in session
scope. I sent this to a JSP which displays the arraylist properties. I
then can make changes to a property and hit submit, but when the action
gets the arraylist back (via the session.getAttribute) the changes are
not there. The ArrayList is the same as when I sent it. Is there a step
in the JSP that I am missing, like a setProperty, etc..., that will
store the changes into the ArrayList in the session scope?

Can anyone tell me how I can send an ArrayList of objects, iterate
through it to create a table on the web page, allow changes to each
property, then return that change to the Action class where I can
perform operations based upon the change?

Thanks in advance!

example of my JSP iterate:

logic:iterate id=gridDeterminations
name=%= Constants.GRID_DETERMINATIONS_ARRAY_LIST % scope=session
type=com.coramhc.common.GridDeterminations
tdbean:write name=gridDeterminations property=messageCode
filter=true/ /td tdbean:write name=gridDeterminations
property=messageDesc filter=true/ /td tdbean:write
name=gridDeterminations property=messageSeverity filter=true/
/td td html:select property=processResp size=1 html:option
value=/html:option html:option value=CMPLDCMPLD/html:option
html:option value=OISOIS/html:option html:option
value=RDARDA/html:option html:option value=BMABMA/html:option
html:option value=PMAPMA/html:option html:option
value=DENDEN/html:option /html:select /td td html:radio
property=overrideInd value=A/Approve html:radio
property=overrideInd value=D/Deny /td td /td /font /tr
/logic:iterate


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



**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.








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


RE: Relative Path Error-- Pls help!

2002-09-09 Thread C.Bhaskaran

Use html:base/ tag before using any relative paths
Rgds
C.Bhaskaran

-Original Message-
From: Sutiwan Kariya [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 09, 2002 3:26 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Relative Path Error-- Pls help!


I am using struts runs on IBM WebSphere 4.0
my web site 's name (context root) is  'td'
I got an image location error when use
img src = /images/general_active_tab.gif 
or
html:image src = /images/address_passive_tab.gif   border= 0/

But, if I tried
img src = /td/images/general_active_tab.gif 
or
html:image src = /td/images/address_passive_tab.gif   border= 0/

The image was displayed correctly
Why??
I feel like the / doesn't relate to the context root. but it relate to
the root of context root.

This symptom didn't occur with the image tag only BUT It occur when I
tried to use  html:button property=add onclick=window.location =
'/institutionGeneralInfo.do?action=create'

It got an error also.
but, If I tried
 html:button property=add onclick=window.location
= '/td/institutionGeneralInfo.do?action=create'
It's OK!


Please help me...
Sutiwan W.






This E-mail and any files transmitted with it are confidential and
intended for the sole use of the individual or entity to whom they are
addressed. If you have received this 
E-mail in error please notify the system manager.  This E-mail message
has been swept for the presence of computer viruses.



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



**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.








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


RE: Struts and Many Buttons on Single page

2002-08-29 Thread C.Bhaskaran

In your action class use 

Depending on the name of button or id 
If(request.getParameter(add) != null)
{
actionMapping.findForword(add);
}
Else if (request.getParameter(delete) != null)
{
actionMapping.findForword(delete);
}

In struts config.xml file 
In global forword section

For add say /examples/add.do (Go to the add action class)
For delete say /examples/delete.do (Go to the delete action class)


Rgds
C.Bhaskaran
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 29, 2002 8:02 PM
To: Struts Users Mailing List
Subject: Struts and Many Buttons on Single page



Hi,

I am developing a struts applicatian, I have a jsp page where i have 5
buttons, say Add, Change,Delete, Display.

When i click these buttons they must call different jsp with different
parameters, how can i do it???

Ashish


A$HI$H


-
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes



**Disclaimer

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***



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