action-mapping redirect

2003-03-02 Thread Dinesh Samson J
Greetings,

I need to forward/redirect to an htm page on success.

In my action mapping I have mentioned

forward name=success path=/pages/Dummy.htm redirect=true/

my htm pages are in c:\testweb\pages
and jsp are under ..\tomcat\webapps\myexample

since the context is getting added the htm page does not get displayed.

Is there any work around to redirect to a htm page avoiding the context
being added?

regards,
 
Dinesh Samson J



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



Iplanet+tomcat+struts

2003-02-27 Thread Dinesh Samson J
Greetings
 
May be this is not a right place to post this message, but I couldn't
get proper documentation for it.
 
I need to configure iplanet web server 4.1 to run with tomcat 4.1.18
both on Solaris 8.
Can anyone tell me where I can get the document for configuring iplanet.

If you have done it, kindly send me the configuration to do so.
 
regards,
 
Dinesh Samson J
 


requiredif

2003-02-10 Thread Dinesh Samson J
Greetings,

My required if condition in validation.xml is not working.

The following is the code in my validation.xml file.

field property=lastName depends=requiredif
arg0 key=label.lastName/
var
var-namefield/var-name
var-valuefirstName/var-value
/var
var
var-namefield-test/var-name
var-valueNOTNULL/var-value
/var
/field

My condition is:
lastName should be present, if firstName is entered.

The validator throws up the message lastName is required, for both the
conditions;
whether the field firstName is empty or some text is inputted.

Is anything wrong in what I am doing?
Can anyone help me?


Thank in Advance,
 
Dinesh Samson J


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




pickup fonts from property file.

2003-02-08 Thread Dinesh Samson J
Greetings,

Can anybody suggest me how to pickup fonts from property files?


regards,
 
Dinesh Samson J


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




if-then-else condition in validation xml

2003-01-28 Thread Dinesh Samson J
Greetings,

Can we have something like an if-then-else block in validation.xml?

What I am looking for is that, 

a. if nothing is entered in field A, then do not validate field B and field C
b. if something is entered in field A, then check for (depends=required) for field B 
and field C

can this be done in validation.xml ?


Thanx in Advance
 
Dinesh Samson J



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




html:select setting my own font

2002-12-27 Thread Dinesh Samson J
Greetings,
 
I want to set my own font and size for the html:select tag. 
I tried setting my own font, but it gives me the default font only.
 
Can any one help me?
 
regards,
 
Dinesh Samson J
UAE Exchange Centre LLC
POBox 170, Hamdan Street
Abu Dhabi, United Arab Emirates
Mobile: +971-50-6682136
Phone: +971-2-6322166,6394342
Fax: +971-2-6340713
 



RE: html:select setting my own font

2002-12-27 Thread Dinesh Samson J
Greetings,

i tried using CSS also. Still the same.

My code is something like this,

td class=formInputStyle
html:select property=countryCode
html:options collection=ccobject property=
countryCode   labelProperty=countryName/
/html:select 
/td

In the CSS

Class=formInputStyle is used for other columns also. The same works for
other fields.



I tried the following also

td 
html:select property=countryCode
font face=... size=2
html:options collection=ccobject property=
countryCode   labelProperty=countryName/
/font
/html:select 
/td


I tried the following also

td 
font face=... size=2
html:select property=countryCode
html:options collection=ccobject property=
countryCode   labelProperty=countryName/
/html:select 
/font
/td


the result were the same. I checked using view source. The html code is
coming correct. 


regards,
 
Dinesh Samson J

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]] 
Sent: 27 December 2002 23:09
To: Struts Users Mailing List
Subject: Re: html:select setting my own font

Have you tried to use CSS to do it?  Set a class up as you wish your 
select to be displayed, and then set your select's styleClass= to the 
class you created.  I believe I recall someone saying this works - but I

haven't tried it.

Dinesh Samson J wrote:

Greetings,
 
I want to set my own font and size for the html:select tag. 
I tried setting my own font, but it gives me the default font only.
 
Can any one help me?
 
regards,
 
Dinesh Samson J
UAE Exchange Centre LLC
POBox 170, Hamdan Street
Abu Dhabi, United Arab Emirates
Mobile: +971-50-6682136
Phone: +971-2-6322166,6394342
Fax: +971-2-6340713
 

  


-- 
Eddie Bush





--
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 setting my own font

2002-12-27 Thread Dinesh Samson J

styleClass property worked for me..
Thank it worked.

regards,
 
Dinesh Samson J

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 27 December 2002 22:02
To: [EMAIL PROTECTED]
Subject: RE: html:select setting my own font

I use styleClass and styleId. They work on IE-pages but not on
NS/Mozilla-pages.

Regards,
 
 
Phillip Qin
 
This Guy Thinks He Knows Everything
Canadian Shareowner
121 Richmond Street W, 7th Floor
Toronto, ON M5H 2K1
(416) 595-9600 ext 291
 

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]] 
Sent: December 27, 2002 2:09 PM
To: Struts Users Mailing List
Subject: Re: html:select setting my own font

Have you tried to use CSS to do it?  Set a class up as you wish your 
select to be displayed, and then set your select's styleClass= to the 
class you created.  I believe I recall someone saying this works - but I

haven't tried it.

Dinesh Samson J wrote:

Greetings,
 
I want to set my own font and size for the html:select tag. 
I tried setting my own font, but it gives me the default font only.
 
Can any one help me?
 
regards,
 
Dinesh Samson J
UAE Exchange Centre LLC
POBox 170, Hamdan Street
Abu Dhabi, United Arab Emirates
Mobile: +971-50-6682136
Phone: +971-2-6322166,6394342
Fax: +971-2-6340713
 

  


-- 
Eddie Bush





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




html:select error reloading the jsp

2002-12-12 Thread Dinesh Samson J
Greetings,
 
I am retrieving a set of data for a field, from the database and loading
my form with these values as listbox.
This works fine.
I key-in other details in the same form and click submit.
In my forward mapping, for failure I refer the JSP.
 
When I loads the same JSP , I get an Jasper error 
Cannot find bean under name bkobject
 
 
html:select property=beneNo
html:options collection=bkobject property= beneNo
labelProperty=beneName/
/html:select
 
I need to load the same page for any failures with the original data.
 
Is there anything property to set?
 
 
Thanks in advance
 
regards,
 
Dinesh Samson J


 



RE: struts 1.1-b2 struts-blank bug????

2002-12-01 Thread Dinesh Samson J
Hi

The entry for welcome.title in your ApplicationResources.properties file
is missing.

regards,
 
Dinesh Samson J
IT Support
([EMAIL PROTECTED])
UAE Exchange Centre LLC
POBox 170, Hamdan Street
Abu Dhabi, United Arab Emirates
Mobile: +971-50-6682136
Phone: +971-2-6322166,6394342
Fax: +971-2-6340713

-Original Message-
From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]] 
Sent: 02 December 2002 09:59
To: [EMAIL PROTECTED]
Subject: struts 1.1-b2 struts-blank bug

anyone getting the below error from the blank file?

struts-blank/index.jsp


type Exception report

message

description The server encountered an internal error () that prevented 
it from fulfilling this request.

exception

org.apache.jasper.JasperException: Missing message for key welcome.title
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:248)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:684)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:432)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:356)
at
org.apache.struts.actions.ForwardAction.execute(ForwardAction.java:158)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:446)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
266)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:129
-- 
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


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




ProcessBean

2002-11-23 Thread Dinesh Samson J
Hi all,
 
Has anyone tried using ProcessBean?
Can someone provide an example using ProcessBean.
 
regards,
 
Dinesh Samson J
UAE Exchange Centre LLC
POBox 170, Hamdan Street
Abu Dhabi, United Arab Emirates
Mobile: +971-50-6682136
Phone: +971-2-6322166,6394342
Fax: +971-2-6340713
 



RE: struggling with indexed/repeating input fields

2002-11-19 Thread Dinesh Samson J
Greetings Kevin,

For me the iterate tag is working. But I have a problem.

My requirement is,

I will show a list, from which I will be selecting a particular detail
and click on edit in the same row. This will take some of the values in
that row and pass it on to the next jsp/action.

I am unable to get it working.

My iterate tag is working with indexed property and the html generated
also has items[i].name
But I am unable to get the value of the item in the selected row. 

Can you tell me how to get them! 

Thanx in advance

regards,
 
Dinesh Samson J



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




RE : struggling with indexed/repeating input fields

2002-11-19 Thread Dinesh Samson J

Ya, you got the problem.

I will not be submitting the form. Instead I will call another form or
jsp along with the values of the selected row as parameters.

I do not know how to get just the selected row's data.


regards,
 
Dinesh Samson J

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
Sent: 19 November 2002 20:37
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: struggling with indexed/repeating input fields

can you please explain the problem preperly?

If u are showing the list using html:text and pressing submitting button
then 
there is no reason why the values will not be passed over.But as u are
on the 
same form , all the rows will be submitted instead of just the one from
where 
the button is pressed.
So is this u r probvloem that u just want the data from selected row but

getting all the data?ansd dont know how to get just the selected rows
data?

-Original Message-
From: dinesh.samson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 5:16 PM
To: struts-user
Subject: RE: struggling with indexed/repeating input fields


Greetings Kevin,

For me the iterate tag is working. But I have a problem.

My requirement is,

I will show a list, from which I will be selecting a particular detail
and click on edit in the same row. This will take some of the values in
that row and pass it on to the next jsp/action.

I am unable to get it working.

My iterate tag is working with indexed property and the html generated
also has items[i].name
But I am unable to get the value of the item in the selected row. 

Can you tell me how to get them! 

Thanx in advance

regards,
 
Dinesh Samson J



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