Re: Hi

2003-02-06 Thread Nicolas De Loof
You could create a servlet (or an action) that uses user Locale object to put the localized image in HttpResponse (a binary stream). Doing so you would have to define a mapping in web.xml (/images/localized/*.gif - LocalizedImageServlet) as I don't think browser will accept image without good

The loading of resource files at struts start-up.

2003-02-06 Thread Simon Kelly
Hi all, Just a quick easy question. Will struts automatically load all files suffixed with .properties from the resources directory into the local context at start-up? Or do we have to wirte a declaration for each of the files we want struts to acknowlege? Cheers Simon Institut fuer

Re: bean:write problem

2003-02-06 Thread ashokd
The below example is worked by using Hastable and logic:iterate combination. I think it is usefull for you Let me know.. % java.util.Hashtable bunchList = new java.util.Hashtable(); com.km.struts.tutorial.TestBean test1 = new com.km.struts.tutorial.TestBean(); bunchList.put(0,test1);

Images

2003-02-06 Thread Risika RANDRIANASOLO
Hello, How do we reference images in the resources files and how to use them in the jsp pages with Struts ? Thanks Risika Randrianasolo -- Ce message est confidentiel. Son contenu ne represente en aucun cas un engagement de

org.apache.commons.scaffold.text.ConvertUtil.addParam now and then

2003-02-06 Thread Jörg Maurer
I experienced that buidling AF and adding Parameters via ConvertUtils.addParam(af.getPath(),method, choose) from Husted´s Commons Toolbox adds URL rewriting to params, so that - amp; . On forwarding even via redirect, amp; was never resolved correctly (? cause of html:base used in jsp ?). I

[Validator] i18n support ? Help!

2003-02-06 Thread Fred Lamuette
Why Validator doesn't support i18n for testing numbers (float,double) whereas it does it for date types? I'm wondering whether i have to 1 /subclass org.apache.struts.validator.FieldChecks and overwrite method validateFloat and validateDouble or 2/ add to GenericTypeValidator (package commons

What should and should not be in an Action class.

2003-02-06 Thread Simon Kelly
Hi All, I'm just trying to work out where I need to put all of my database access code within the struts architecture. If I'm reading Craigs comments on the Action class correctly and have got the MVC set up right, all the action class should do is gather any necessary information, add it to the

locale-sensitive tag: how can I show an image-path out of a property-file

2003-02-06 Thread Mouratidis, Georg
Hi, I have a property-file including urls of my images. I have a tag inside a JSP as follows: html:img src='../../../images/buttons/New.gif' border='0'/ And now I want to replace images/buttons inside the HTML with the appropriate value out of my property-file because I'm not allowed to place

Data source and dying connections - No more data to read from socket

2003-02-06 Thread Mehdi . Nejad
Greets all, We have developed a struts application which makes use of the struts data-source. This is working fine, but when it is left overnight, the connections are dying. When I re-start the Tomcat, connections are re-opened and everything is fine, until the next period of idleness. Note,

Tiles: passing attributes to definitions

2003-02-06 Thread Igor Lyubimov
Hallo, All! I'm trying to use struts with tiles framework. The idea of tiles definitions seems to be very good. But I can't find how is it possible to pass the attributes to the definitions, which I use as attribute. Here is an example with the explanation of my problem: Suppose, I need to

ActionForm violates loader constraints

2003-02-06 Thread Eduardo Fabricio Elias
When I deploy 2 war files in the tomcat, one of this return the folow message. In 2 wars files, the struts.jar is located in WEB-INF\lib. The insteresting, is then strus exemples run without problems. What can I make wrong in my applications? java.lang.LinkageError: Class

RE: What should and should not be in an Action class.

2003-02-06 Thread shirishchandra . sakhare
U will have some thing like following .. The action classes are handlers...So when u need to get some data to the screen,U will call the action class and the action class will then call a Busines Layer class to perform the database access logic and return the result.And action will then put

Re: What should and should not be in an Action class.

2003-02-06 Thread Simon Kelly
Sweet. That's just what I was planning to do. Thanks for the verification. I have only one question about it though. When the Action class is called by more than one user, is it instansiated more than once by struts or will struts use the same instance? Cheers, and Thanks again, Simon

RE: Re: What should and should not be in an Action class.

2003-02-06 Thread shirishchandra . sakhare
go through the struts documentation carefully..It will help u clarify lot of doubts..:-)) It specifically says Action classes are multithreaded..Means same action instance is used for all the requests..so thats why u have to be careful not to have any attributes in the action...So long as they

Upload/Download

2003-02-06 Thread Expedito Reinaldo da Silva Júnior
Do anyone know a good upload/download java component?? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Upload/Download

2003-02-06 Thread ROSSEL Olivier
Do anyone know a good upload/download java component?? Webdav? This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error

Re: RE : Struts Tools

2003-02-06 Thread Robert Claeson
[EMAIL PROTECTED] wrote: WSAD 5.0 with tiles-definitions and struts 1.1 dont work with exemples of configuration give by apache I actually haven't tried those examples. I just follow the API guides. I use Tiles and definitions. It works for me for what I've done with it so far (developed an

Application Startup

2003-02-06 Thread Tarek M. Nabil
Hi everyone, I'm using Struts 1.0.2. I need to do some stuff on application startup. I consulted the documentation, and noticed that there's support for such a thing in Struts 1.1. No mention of it in 1.0.2, though. Is there a way I can do some action on application startup in Struts 1.0.2.

Re: how do people work in project with one server for development

2003-02-06 Thread Duane Morin
On Thu, 6 Feb 2003, Ashish Kulkarni wrote: But now we are moving to websphere, and it is not possible to have each one one copy to play with on his machine Honestly? Now is a good time to point out to your bosses the benefits of Tomcat for exactly this reason -- cost. Remind them that they

RE: how do people work in project with one server for development

2003-02-06 Thread Pani, Gourav
If you want to look at another cheap, easily configurable and extremely efficient application server solution, you might want to consider Resin from Caucho (http://www.caucho.com). We have been using it for over a year now and it is incredibly useful to use in a multi-user environment.

RE: RequestProcessor with test conditions

2003-02-06 Thread David Graham
That's because tiles is integrated with struts now. I think struts-user is the appropriate place for tiles questions. David From: Mark Galbreath [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE:

What version of JDK is required?

2003-02-06 Thread Chiming Huang
Hi, Can Struts v1.0.2 be used with Sun JDK 1.3.1? We are trying to use the Digester class but the compiler is complaining about org.xml.sax.SAXException could not be imported. Thanks. Chiming - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up

Re: [OT] how do people work in project with one server for development

2003-02-06 Thread Micael
Hi, James, okay, I will tell I do the whole thing with programs that allow me to write and to execute scripts on a target machine over the web. There isn't anything you cannot do with product development that way. You can really do any kind of distributed programming you want through port 80

RE: What version of JDK is required?

2003-02-06 Thread Chiming Huang
Thank you for the reply. For some reason, we need to switch from JDK1.4 back to JDK 1.3. From Eclipse, I changed the the JRE_LIB to point to JDK 1.3. the Eclipse says The project was not built since its classpath is incomplete. Can not fidn the class file for org.xml.sax.HandleBase. Fix

Re: Re: RE: noob question - iteration of a table

2003-02-06 Thread Jason Vinson
Is this inside a form element that has the ActionForm spgLooper associated with it? such as: html:form property=spgLooper action=/jsp/spgLooper.do if so, then yes. Is spgLooper called spgLooper in your form declarations of your struts-config.xml? under the form-bean declarations: !--

RE: [OT] how do people work in project with one server for development

2003-02-06 Thread Jacob Hookom
I use windows' mstsc to access other computers, it's the best (and of course native) solution there is out there for remote computing. ATTT labs has another slim line product that does the same as PCAnyWhere but there's a java applet client for it, of course there's also one available for

Re: Edit/View tag?

2003-02-06 Thread Justin F. Knotzke
On Thu, Feb 06, 2003 at 02:57:36PM -0500, Sri Sankaran wrote: Why not just do html:text name=userForm property=subject style=whatever/ This will display the current contents of the subject field in the Form? I just seem to get a blank each time. The contents of the form before

Re: [OT] how do people work in project with one server for development

2003-02-06 Thread James Mitchell
Oh yeah, I saw you a few months back at the AJUG meeting that Chuck presented. I wanted to say hey, but you disappeared before I could catch you. I could hardly believe what Mark Fleury did halfway through the Beer4All presentationLOL. Yes, I'm running Win2k Advanced Server at home, but

Re: [OT] how do people work in project with one server for development

2003-02-06 Thread James Mitchell
Not sure if you are referring to VNC??? I use that all day longhome and here. Being surrounded by idiots takes a toll on my stress level.I feel more like I'm tech support than a developerJames, why can't I copy this Excel sheet into PowerPoint?.James, what is ODBC and how can

Re: Have you looked at open-source Liferay Enterprise Portal lately?

2003-02-06 Thread Mete Kural
I just checked, the latest CVS snapshot of Liferay also has an Online Shop and Wiki portlets also. These are going to come out with the 1.8 release. There are already pre-built portlets for Mail, RSS feeds, message boards, and many more. So you don't have to build all these components from

html:link

2003-02-06 Thread Diego Bursztyn
Hi, I'm trying to add an html:link tag to point to action/delUser action and pass the username attribute within an iteration over an ArrayList of Users (bean). I did some research but could not find the syntax. Any help would be greatly appreciated logic:iterate id=user name=usersList

Re: html:link

2003-02-06 Thread Ken Anderson
I think you want to use the param attributes of the link tag. It would probabaly look something like this: html:link href=action paramId=uname paramProperty=username / I might be a little off but I think the above should generate something like this. a href=action.do?uname=user123 If this

RE: Conditional forms

2003-02-06 Thread Miller, Jason
would it work to just leave the form tag in there at all times and simply be conditional regarding the fields? The empty form shouldn't cause any problems that I can see. -Original Message- From: Justin Ashworth [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 4:19 PM To:

RE: Has anyone tried to use struts with Epicentric

2003-02-06 Thread Mete Kural
Hmm.. I didn't know that WebSphere was inspired from JetSpeed.. I had been thinking for the longest time about whether to abandon Struts for portal development and start using JetSpeed. This was due to the fact that I didn't know any portal server that is based on Struts. I like Struts, but yet