Re: Eclipse Sysdeo Tomcat Plugin Problem

2003-11-13 Thread Navneet Karnani
I would suggest looking at Netbeans for Tomcat based development. It has 
good integration with Netbeans.

- Navneet

David Graham said the following on 08/11/2003 12:40 AM:
Make sure you haven't added any of your projects to Tomcat's classpath via
the plugin.  That will always cause problems.
David

--- "Madrid, Jeffrey" <[EMAIL PROTECTED]> wrote:

Hello,

I'm having a problem running Tomcat from Eclipse using the Sysdeo Tomcat
plugin when I have a Struts webapp deployed. I've isolated the problem
to some kind of conflict with the commons-digester.jar. When I remove it
from the webapp's lib directory, the plugin works great but of course
the Struts  web app does not. I'm currently using Eclipse 2.1.1 and
Struts 1.1 RC 2. I'm having the problem with both tomcatPlugin V21 and
V22beta2 versions. I have been trying to solve the problem for two days
now so I would really be grateful for any help you can provide. Thank
you in advance.
Jeff

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


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


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


Displaytag does not work with Tiles

2003-10-02 Thread Navneet Karnani
Hello,

I was trying to get the display:* tags to help me build a sortable table 
but I noticed that since I was using a tiles based setup, the generated 
link from the sort link on the table header did not match the action 
that needed to be invoked.

Is this a known problem ? Is there a known/published workaround ?

- Navneet Karnani
Umber Business Solutions Pvt. Ltd.
http://www.umber.biz


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


Re: Connection Pooling...

2003-09-30 Thread Navneet Karnani
I think the connection manager that struts ships with has primitive 
connection pooling built into it. Just read the docs.

- Navneet

Joseph William said the following on 30/09/2003 4:17 AM:

Hello...
 
I am developing a small application using Struts and am trying to connect with MYSQL... I got it connected and even retrieved values by specifying the datasource in the struts-config file...
 
Now, I am trying to put a common class for connection Pooling... I need to get the values like the max, min connections that I had specified in the config file so that I don't hard code values in my connection pooling utility... 
 
How do I access those values??? Is these any method I need to use coz this connection pool class is a separate utility and does not extend Action...
 
Please let me know...
 
Thanks.
-Joseph

-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search


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


Re: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread Navneet Karnani
So, did you find it ? If yes, let me know too. I was looking out for 
something similar.

- Navneet

Matt Raible said the following on 25/09/2003 4:15 AM:

I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I
want an in-page calendar.
Matt

-Original Message-
From: David G Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 4:37 PM
To: Struts Users Mailing List
Subject: RE: Know of any good Calendar Tag Libraries? (Sorry, that was
Aug 21)
What about Matt Kruse's (very) beta taglib mentioned August 21st?
http://www.mattkruse.com/javascript/javascripttoolbox.zip
I wonder if it's any further along.

-David

-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 6:23 PM
To: '[EMAIL PROTECTED]'
Subject: Know of any good Calendar Tag Libraries?
Anyone know of a good Calendar Tag Library - that renders calendars like the
ones you see on blogs (not a pop-up)? I found this one
(http://tinyurl.com/ok95) from Coldbeans, but it's $50 - whereas free is
always better. We just need it to render a calendar on a page and gray out
certain days (with CSS) to say that day is not available.
Thanks,

Matt

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


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


Re: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread Navneet Karnani
So, did you find it ? If yes, let me know too. I was looking out for 
something similar.

- Navneet

Matt Raible said the following on 25/09/2003 4:15 AM:

I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I
want an in-page calendar.
Matt

-Original Message-
From: David G Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 4:37 PM
To: Struts Users Mailing List
Subject: RE: Know of any good Calendar Tag Libraries? (Sorry, that was
Aug 21)
What about Matt Kruse's (very) beta taglib mentioned August 21st?
http://www.mattkruse.com/javascript/javascripttoolbox.zip
I wonder if it's any further along.

-David

-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 6:23 PM
To: '[EMAIL PROTECTED]'
Subject: Know of any good Calendar Tag Libraries?
Anyone know of a good Calendar Tag Library - that renders calendars like the
ones you see on blogs (not a pop-up)? I found this one
(http://tinyurl.com/ok95) from Coldbeans, but it's $50 - whereas free is
always better. We just need it to render a calendar on a page and gray out
certain days (with CSS) to say that day is not available.
Thanks,

Matt

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


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


Re: Multi config files and global forward

2003-09-24 Thread Navneet Karnani
Do you intend to make these different modules ? If not, then this is the 
wrong way to split files. You must use the xml way of splitting the 
files, or give the config files in the same param-value tag seperated by 
comma.

- Navneet
Umber Business Solutions Pvt Ltd
http://www.umber.biz
Franck Lefebure said the following on 25/09/2003 1:09 AM:
Hello,

My web.xml looks like :


action
org.apache.struts.action.ActionServlet

config
/WEB-INF/struts-config.xml


config/news
/WEB-INF/conf/struts-config-news.xml

...
In /WEB-INF/struts-config.xml , I have the following action :

 

  
  



  
I want in /WEB-INF/conf/struts-config-news.xml to define  global-forward
towards the /doError.do in the main file :
Something like :

  

  
But, It doesn't work. If I add redirect="true" : 
Then it's ok But I would like to keep my request scope
An idea ?
Thanks
Franck
--
Franck Lefebure
equipe web http://www.orangecaraibe.com
mailto:[EMAIL PROTECTED]


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


Re: Multi config files and global forward

2003-09-24 Thread Navneet Karnani
Do you intend to make these different modules ? If not, then this is the 
wrong way to split files. You must use the xml way of splitting the 
files, or give the config files in the same param-value tag seperated by 
comma.

- Navneet
Umber Business Solutions Pvt Ltd
http://www.umber.biz
Franck Lefebure said the following on 25/09/2003 1:09 AM:
Hello,

My web.xml looks like :


action
org.apache.struts.action.ActionServlet

config
/WEB-INF/struts-config.xml


config/news
/WEB-INF/conf/struts-config-news.xml

...
In /WEB-INF/struts-config.xml , I have the following action :

 

  
  



  
I want in /WEB-INF/conf/struts-config-news.xml to define  global-forward
towards the /doError.do in the main file :
Something like :

  

  
But, It doesn't work. If I add redirect="true" : 
Then it's ok But I would like to keep my request scope
An idea ?
Thanks
Franck
--
Franck Lefebure
equipe web http://www.orangecaraibe.com
mailto:[EMAIL PROTECTED]


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


Re: Map Backed Form

2003-09-18 Thread Navneet Karnani
I suggest that you look at the code once more. There is a possibility 
that the error is not due to the problem that you see but something 
else. And i'm nearly sure that the problem is not as complex as it seems.

If you want, I can look at the sources and test a fix at my side.

Let me know.

- Navneet Karnani
Umber Business Solutions Pvt. Ltd.
Ray Madigan said the following on 19/09/2003 3:15 AM:

I tried this - same result? h

-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 2:18 PM
To: Struts Users Mailing List
Subject: Re: Map Backed Form
I read this somewhere (perhaps Struts in Action) and I use map-backed
properties... the methods should have String keys, but Object values eg
public Object getElementMap ( String key ) {
public void setElementMap ( String key, Object value )
Ray Madigan wrote:


I am having some difficulty with my Map Backed Form implementation.

I have in my Form:

private Properties elementMap = null;

public String getElementMap ( String key ) {
   return ( String ) elementMap.getProperty ( key );
}
public void setElementMap ( String key, String value ) {
   elementMap.put ( key, value );
}
public void reset ( ActionMapping mapping, HttpServletRequest request ) {
   ...
   elementMap = new Properties ( );
}
I have in my JSP:


If I enumerate the request parameters in the reset method of the form
the paramaters and values look like:
name->elementMap(PerPage)
value->4
I get the exception
java.lang.IllegalAccessError: try to access class
org.apache.commons.beanutils.MappedPropertyDescriptor$1 from class
org.apache.commons.beanutils.MappedPropertyDescriptor
From past experience I get this exception when struts is looking for a
setter
in my form and can't find it.  I think that struts is looking for a method
'setElementMap(perPage)' and has not figured out it is a mapped property
for some reason.  And I can't write a method with name.
Any help would be appreciated.

Thanks

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



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


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


Re: Multipage JDBC result

2003-09-18 Thread Navneet Karnani
What database are you using ?

We use the MySQL database and have effectively used the limit clause to 
work with a limited set of records.

we just store the query condition in the forms and work with that in 
every page.

- Navneet

[EMAIL PROTECTED] said the following on 18/09/2003 1:56 AM:
It seems that it pulled the whole JDBC resultset into the memory at one 
time(correct me if I am wrong at this point)
since my data sets will be very huge, I don't think it is a good idea to 
pull down all the data to the session for paging.
Any better solution /examples?
very appreciated!!

Julie





"Andrew Kuzmin" <[EMAIL PROTECTED]>
09/16/03 09:12 AM
Please respond to "Struts Users Mailing List"
 
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc: 
Subject:Re: Multipage JDBC result

Hi,

see this link 
   http://jakarta.apache.org/struts/faqs/newbie.html#pager

--
Andrew Kuzmin
http://www.java201.com
- Original Message - 
From: "Jonathan Hawkins" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 16, 2003 3:39 PM
Subject: Multipage JDBC result



Howdy,
Any tips as to where I can find code examples of how to break down a 
large JDBC result
into say 25 rows per page?

Jon Hawkins

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


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




= = = = = = = = = == = = = = = == = = = = = = = == = = = = = == = = = = 
This transmittal and any attachments may contain confidential, privileged or sensitive information and is solely for the use of the intended recipient. If you are not intended recipient, you are hereby notified that you have received this transmittal and any such attachments in error and any review, dissemination, distribution or copying thereof is strictly prohibited. If you have received this transmittal and any attachments in error please notify the sender and immediately destroy the message and all its attachments. Any opinions herein expressed may be those of the author and not necessarily of Mizuho Corporate Bank, Ltd (the "Bank"). The Bank accepts no responsibility for the accuracy or completeness of any information herein contained.
= = = = = = = = = == = = = = = == = = = = = = = == = = = = = == = = = = 




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