RE: Multiple Databases.

2004-06-06 Thread Thiharie Rajesh
It is best to use the application server connection pool. Do not use the Jakarta Struts connection pool. Rajesh -Original Message- If you are using tomcat, then I believe you can use dbcp. (I think that's what Riyad Kalla was talking about too..) We use dbcp but only for connecting to

RE: Reload Ressources on the fly

2004-06-06 Thread Sanoj, Antony (IE10)
if you use tomcat, use tomcat's manager application to reload your webapp. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 04, 2004 7:46 PM > To: [EMAIL PROTECTED] > Subject: Reload Ressources on the fly > > > Hi, > i am quite a newbie to st

Re: the difference between struts with JSTL tags and struts-el tags

2004-06-06 Thread vancega
Kay, Thanks for your reply. >Do you have a valid "taglib" directive in your JSP? Yes. > Do you have both the struts.jar and strutsel.jar in your WEB-INF/lib, Yes. both struts.jar and struts-el.jar >and there are no other instances of those jars in your classpath? my classpath: .;c:\j2sdk1.4.2_01\bi

Re: file upload problem(illegal argument)

2004-06-06 Thread atta-ur rehman
Hello there, Does your tag has attribute enctype="multipart/form-data" set? HTH, ATTA - Original Message - From: "swarna" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 06, 2004 2:23 PM Subject: file upload problem(illegal argument) > Hi, > I am trying to do

file upload problem(illegal argument)

2004-06-06 Thread swarna
Hi, I am trying to do file upload using struts1.1. I am getting illegal argument type exception(stack trace attached below). I am struggling to fix this since three days. I would really appreciate any kind of help. I am using web logic 8.1, eclipse and java for my development. I created

html:link to anchor in same fil (gettin action name in .jsp)

2004-06-06 Thread cn
Hi. I had a html pages, where there were links to anchors in the same file. Like this: ... Back to anchor 1 Now I've changed the page to a .jsp page, moved it to WEB-INF and I'm using a Struts action to call it. Consequently I have had to change the link, and the best I have come up with so far

RE: [OT] EJB/Struts Design Question

2004-06-06 Thread Robert Taylor
Navjot, This sounds like a good design and follows suggested best practices. >From a pure architectural perspective, I think your existing solution is best. However if you are concerned with performance, then you may want to look into the FastLaneReader pattern. http://java.sun.com/blueprints/p

Re: [Raw newbie] Struts/JSTL - A cople of urgent question (Message resources)

2004-06-06 Thread Joe Germuska
It may not be a Struts question, but if you're using a post-1.1 Struts build, you may find the DigestingPlugIn an easy way to put together lists for use in menus. The DigestingPlugIn simply uses Digester to process an XML file and put something in the application context; the simplest possible

Re: Front Controller?

2004-06-06 Thread Riyad Kalla
Model 2 / MVC / Front Controller are all the same thing. In Struts the "Front Controller" is the "ActionServlet", it receives/handles/dispatches every single request that comes into your web app. You write actions that are like units of functionality, then specify in a mapping file the relation

Re: [Raw newbie] Struts/JSTL - A cople of urgent question (Message resources)

2004-06-06 Thread Riyad Kalla
This doesn't necessarily sound like a Struts question, so I'll answer it in the general terms: 1) Create your ResourceBundle for that properties file containing all your measurement information, then from that get the enumeration from "getKeys" then cycle over the keys getting the values, doing

Re: Taglib: how do you call a method like java.util.List.size() from the property of a tag?

2004-06-06 Thread Riyad Kalla
Hey Joe that length function looks like just what I wantedI didn't want to do scriplets because of the possibility of a NPE if the session timed out and the list wasn't in the session, I want something that gracefully handles the missing item and I thought a custom taglib might be overkill.

Re: Taglib: how do you call a method like java.util.List.size() from the property of a tag?

2004-06-06 Thread Joe Germuska
At 5:15 PM -0700 6/5/04, Riyad Kalla wrote: I'm trying to do something like: but I'm obviously getting an exception on size because it doesn't follow JB naming conventions. How do I call this method? Do I NEED to use EL for this? One of the unfortunate shortcomings of the Collections APIs i

Front Controller?

2004-06-06 Thread Chaikin, Yaakov Y (US SSA)
Hi, Struts project is for MVC. Is there a project out there that implements Front Controller pattern? Thank you. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (ph) 301-838-6802 (fax) - To unsubscribe, e-mail: [EM

Re: Struts dyanmic master detail form

2004-06-06 Thread nikhil walvekar
Hi Shoaib, We have done such thing, for client side u need to have addNew row javascript. mapping those fields to form what you can do is you can have arrays declared in form bean, in your jsp when you write instead of this now here you specifiy indexed="true" it will generat