Re: Why doesn't ActionForm's constructor have access to HttpServletRequest?

2004-02-03 Thread Michael McGrady
I think you really want something other than an ActionForm if you want to do this. Why anyone would use an ActionForm to do this makes no sense to me. If you want the request object, then it is in the Action. That is where it should be. At 06:59 PM 2/2/2004, Martin Cooper wrote: I can't read

Re: Problems when not using html:form

2004-02-03 Thread Mark Lowe
You can just rewrite the path with html:rewrite or c:url, or get the context in jstl/scriptlet and add that to the path (like suggested). "> or "> otherwise you can just use an action form. Cheers Mark On 2 Feb 2004, at 18:23, Slattery, Tim - BLS wrote: Yes, but the server would have to fin

Re: Why doesn't ActionForm's constructor have access to HttpServletRequest?

2004-02-03 Thread Adam Hardy
Have I missed something here? What is wrong with using the reset method instead of the constructor? That gives you the mapping and the request as parameters. On 02/03/2004 08:17 AM Michael McGrady wrote: I think you really want something other than an ActionForm if you want to do this. Why any

Re: Guidelines and steps for architecting a struts application

2004-02-03 Thread Adam Hardy
On 02/02/2004 11:20 PM Al Rathon wrote: Hi: I am developing a simple application (basically does CRUD operations on various entities in the application). I want to use the Tiles, Validator also. I would like to know what steps I need to follow to design the architecture. Check out 'MVC' architectur

Re: Why doesn't ActionForm's constructor have access to HttpServletRequest?

2004-02-03 Thread Michael McGrady
At the moment, I'm in a quandry. I see no way to usefully use nested form beans to encapsulate administrable users in my web app without somehow getting a hold of a list of objects representing those administrable users from the session context of the user who's administering them (the list's c

R: R: R: request attributes and failed validation

2004-02-03 Thread Leonardo Francalanci
> It's is not there the first time. Only when it's been sent there > by way of a failed validation via the input="/showForm.do" attribute. But you did not specify the form for the "showForm" action, did you? Because if you specify it, the controller creates one for you before the call to execute

extenstions on actions within a webapp

2004-02-03 Thread Bradley Beddoes
Hi All. I wish to have some global forwards invoked as .do others as .do2 (so as to differentiate what filters get hit with the differing requests), Is this possible within struts? (Please see struts.conf below) At the moment I have been trialing it and have searched the web without much luck o

Problem handling error forwards

2004-02-03 Thread Lukas Österreicher
Hello For some time now I have had a problem when dealing with errors and the resulting different forwards: When action3 generates an error (for instance in the form validator) and forwards to action2 to deal with it (display it) but this action2 deals with errors and forwards to action1 then th

Re: Problem handling error forwards

2004-02-03 Thread Dirk Markert
Hello Lukas, *** LÖ> Hello LÖ> For some time now I have had a problem when dealing with LÖ> errors and the resulting different forwards: LÖ> When action3 generates an error (for instance in the form validator) and forwards LÖ> to acti

action global forward extension

2004-02-03 Thread Bradley Beddoes
Hi All. I wish to have some global forwards invoked as .do others as .do2 (so as to differentiate what filters get hit with the differing requests), Is this possible within struts? (Please see struts.conf below) At the moment I have been trialling it and have searched the web without much luck

RE: Regarding Client side Validations

2004-02-03 Thread Ramachandran
Hi, That is i know, now i am performing like that, but when the cancel is working means after enterting all the values only it is working, but for me even with out entering any values it has to work. What i have to do for that one. -Original Message- From: [EMAIL PROTECTED] [

Re: Problem handling error forwards

2004-02-03 Thread Lukas Österreicher
Am 03.02.2004 10:48:10, schrieb Dirk Markert <[EMAIL PROTECTED]>: >It's not the action recognizing the error but your addtrackForm. >Validate is called on forwarding to your action2. Ah, right. I was half aware of this but now that I thought of this I found a solution: at the end of each form va

Basic question on /lib/*.jar files

2004-02-03 Thread alvin antony
Hello there, I am on a search for a good practice on storing lib-jar files in an J2ee development env. Though I know that is not the right place,i used to store it in the cvs along with the application unter /WEB-INF/lib . Where do you store the jar files, that are re

How to deploy a war file in Apache?

2004-02-03 Thread ssrinivasrao
Can anyone guide me in how to deploy a .war file in Apache? Thanks, S.Srikanth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Basic question on /lib/*.jar files

2004-02-03 Thread Claire Wall
we store them in the common/lib folder. Then all applications running on that web server have access to the jars and negates the need for them to go into the separate WEB-INF/lib folders for each application. cw :) - Original Message - From: "alvin antony" <[EMAIL PROTECTED]> To: "Struts

RE: How to deploy a war file in Apache?

2004-02-03 Thread PREETAM Balijepalli
place it in tomcat-webapps and start youre server.its done -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 4:50 PM To: [EMAIL PROTECTED] Subject: How to deploy a war file in Apache? Can anyone guide me in how to deploy a .war file in

Re: Response not XHTML-comliant when using

2004-02-03 Thread Andreas Amstutz
Ok folks, thanks for the input on this topic. The quick and dirty solution for my problem was to download the struts source. Changing the xhtml class member's default value from 'false' to 'true' and buid it. Ohh, I really should have done that much earlier! Andreas --

File Upload using Struts

2004-02-03 Thread Gandhi, Snehal Kishore (Cognizant)
Hi all,     i'm a new bee of struts...     i want to use the Struts based upload option. 1. What should be the data type in my ActionForm? 2. How will i get the FileObject in my action class? and How can i pass the file to the Server? 4. if any sample upload code using struts would be re

LookupDispatchAction

2004-02-03 Thread Guilherme Barile
Hi I have the following DispatchAction working here public MyDispatchAction extends DispatchAction { public unspecified(...) { read_data_from_database(); populate_form(); return(mapping.findForward("renderForm"); } } renderFo

RE: File Upload using Struts

2004-02-03 Thread Manjunath Bhat
The struts1.1 distribution contains a file jakarta-struts-1.1\webapps\struts-upload.war. This will answer all your queries. -Original Message- From: Gandhi, Snehal Kishore (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 5:21 PM To: [EMAIL PROTECTED] Subject: Fil

Modifiable GUI elements inside a collection

2004-02-03 Thread Markus . Malmqvist
Hi, I have a curious problem. I have a LinkedList which contains records with a checkbox and some fixed text fields. The value of this checkbox does not seem to transfer from the browser GUI into server bean. The bean contains the whole list of elements. All the non-modifiable text fields dis

Re: LookupDispatchAction

2004-02-03 Thread Jason Lea
Well, LookUpDispatchAction doesn't call the unspecified action when it is no parameter is supplied. One way would be to override the method that does the lookup and when no action parameter is supplied, call the unspecified() parameter. Another way is to make your initial call to the action prov

Re: [OT] looking for a method that will be called on application startup

2004-02-03 Thread Otávio Augusto
do you mean a single implementation of a servlet, with methods which fit each developer needs, and declaring this servlet in the appropriate place in the web.xml file? doesn't this servlet need anything special? I ask that because I've never made a ContextListener, and I also need a "first time

Struts and Chinese

2004-02-03 Thread Vinicius Carvalho
Has anyone here used the struts to work with Chinese language? Do I need any special library to deal with DoubleByte Chars?? Thanks Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RE: [OT] looking for a method that will be called on application startup

2004-02-03 Thread Robert Taylor
The ServletContextListener does exactly what you want. When the web application starts the ServletContextListener.contextInitialized() is invoked passing you ServletContextEvent which contains the ServletContext. These are guaranteed to be invoked before the web application can process any requests

Re: Struts and Chinese

2004-02-03 Thread Greg Reddin
I've done it before. Unforetunately, I can't remember everything that had to be done. If my memory serves me correctly, I didn't have to change anything within the application or Struts. I only had to add a Servlet filter to set the character encoding of the request before Struts ever sees i

static variables in actions

2004-02-03 Thread Menke, John
if I have a collection of state names and I don't want to have to retrieve it over and over again can i do something like this in my action? static Collection _collection; if (collection == null ){ _collection = getCollectionFromDB(); } form.setCollection = _collection -

RE: static variables in actions

2004-02-03 Thread Robert Taylor
John, why not retrieve these from the DB at application start up time and place them in the ServletContext where they are accessible for the life time of the application and easily rendered by JSTL or Struts tags. robert > -Original Message- > From: Menke, John [mailto:[EMAIL PROTECTED] >

Re: Struts and Chinese

2004-02-03 Thread Jim Theodoridis
Struts works fine with UTF More information will have at: www.anassina.com/struts/i18n/i18n.html but i u work on a database check if the driver an the database support UTF I work fine with Greek charakter on UTF - Original Message - From: "Greg Reddin" <[EMAIL PROTECTED]> To: "Struts Us

RE: static variables in actions

2004-02-03 Thread Nicolás de Amorrortu
You can also try the Providers Framework that we have posted to the sourceforge (http://providers.sourceforge.net). It was developed to solve the problem that you described. With this framework you define your collections on a XML file, and then you can use it through select tag (of struts) using d

RE: Populating a DynaActionForm with a complex object graph

2004-02-03 Thread Doug Dixon
OK, I've starting off down the Map-backed, manual indexing route, and it's grim... It forces me to have model logic in three places - the JSP (to create the keys into the map) and the two action classes (prepopulate, then handle submit). Is there a more elegant way of doing this stuff? (Or are the

Using Validator To Avoid Database Trip

2004-02-03 Thread Duggal, Sanjay
Hi All, I have an "Edit Existing Record" screen. When the user clicks the Save button on this screen, I'm supposed to store the changed data in the database. However there may be a situation where the user leaves the data unchanged & still presses the Save button. In this case, I want to avoid the

accessing application.properties from JSP

2004-02-03 Thread Marco Mistroni
Hi all, Does anyone know how to access application.resources from a JSP? With best regards Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: accessing application.properties from JSP

2004-02-03 Thread James Mitchell
The same way it is done in the struts-example. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 (cell) AIM: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List

RE: Using Validator To Avoid Database Trip

2004-02-03 Thread Slattery, Tim - BLS
> I have an "Edit Existing Record" screen. When the user clicks > the Save button on this screen, I'm supposed to store the > changed data in the database. However there may be a > situation where the user leaves the data unchanged & still > presses the Save button. In this case, I want to avoi

Performing validation using Validator

2004-02-03 Thread Ramachandran
Hi all, How can i perform validation using validator.xml. For example i want to check the unique name in Add Employee jsp, how can i use the validator.xml If any one knows, please mail your queries regarding this. Thanx, Ram

Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Colin Foulkes
Hi, I'm fairly new to the struts but have been able to get a small struts app working fine under the internal Tomcat(4.0.6) in Netbeans. Everything here works fine. When I try to run the app under a standalone Tomcat (4.1.29) I get two problems with my application. 1. I have created an authent

An Action doesn't work as expected

2004-02-03 Thread f f
Hi gurus, I'm just learning to develop web application with Struts. All Action works well, except SubmitCustomerAction. I've tried to find the problem but I can't find it so far. Here is some relevant information on jsp page : on struts-config.xml :

RE: An Action doesn't work as expected

2004-02-03 Thread Ramachandran
In your Action mapping tag, u have to give the input="/xx.jsp" to redirect the error to your application. then only it will work. -Original Message- From: f f [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 9:21 PM To: [EMAIL PROTECTED] Subject: An Action d

RE: An Action doesn't work as expected

2004-02-03 Thread Matthew J. Vincent
You don't have the input attribute in your action mapping. ... ... HTH. Matt -Original Message- From: f f [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 10:51 AM To: [EMAIL PROTECTED] Subject: An Action doesn't work as expected Hi gurus, I'm just learning to devel

Re: An Action doesn't work as expected

2004-02-03 Thread Srinivas Kusunam
Hi Fredrich, give the input page in action so that on form validation it forwards to this page. some thing like this:: -- hope this helps. Sree. >>> [EMAIL PROTECTED] 02/03/04 09:51AM >>> Hi gurus, I'm just learning to develop web application with S

Action doesn't work as expected

2004-02-03 Thread f f
Hi gurus, I'm just learning to develop web application with Struts. All Action works well, except SubmitCustomerAction. I've tried to find the problem but I can't find it so far. Here is some relevant information on jsp page : on struts-config.xml :

RE: An Action doesn't work as expected

2004-02-03 Thread Ramachandran
Hi, Who says, u give likr this. Then it will surely work. Bcos it finds any errors while processing action, it will navigate to this input file. -Original Message- From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 9:25 PM To: Struts Users Mailing

Re: [OT] looking for a method that will be called on application startup

2004-02-03 Thread Arne Brutschy
Thanks guys! That was exactly what I was looking for - and it works like magic. Great, thanks again! Arne Robert Taylor wrote: The ServletContextListener does exactly what you want. When the web application starts the ServletContextListener.contextInitialized() is invoked passing you ServletCon

RE: Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Colin Foulkes
Ah... I think I see the problem I need to fully qualify my action names (and script paths) with the name of the application (Prototype1) e.g. This was apparently being magically handled by the html:form tag in the login.jsp page. Is there a tag I could use to accomplish this same magic in

validate at least one field

2004-02-03 Thread Alvaro Martinez
I would like to validate a form that contains several fields where at least one of them should be filled (don't mind what of them) How can I implement this with validator.xml? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Shaul Siboni
Hi, Using JSTL you can: Login HTH --Shaul Colin Foulkes wrote: Ah... I think I see the problem I need to fully qualify my action names (and script paths) with the name of the application (Prototype1) e.g. This was apparently being magically handled by the html:form tag in the l

Struts and Pajes

2004-02-03 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi to y’all, I’m trying to integrate Pajes (www.apache.org), a Servlet Presentation Framework, with Struts. The idea is to use Struts’ MVC separation (Action, ActionForms, ActionServlet, etc…) WITHOUT using Struts’ presentation tools (i.e. no JSP, ergo no JSP Tags), just plain XHTML template

Plzzz help problem with session invalidate method ...

2004-02-03 Thread Vinay Kumar Munikuntla
Hi I don;t know if this is the right place to ask this quesion .. ? After I invalidate a session using request.getSession().invalidate() I forward the Login screen to the user. When the user logs into the application I see that he has the same Session Id as before the session was invalidated. B

RE: accessing application.properties from JSP

2004-02-03 Thread Marco Mistroni
Hi, Actually my problem is that I have to make so that a javascript message can be internationalized, so I must get it from application.properties. But it looks like writing a inside a javascript method Does not work. Any workarounds? I assume that message resources are stored in se

RE: Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Yee, Richard K,,DMDCWEST
Colin, Check out the html:base tag. -Richard -Original Message- From: Colin Foulkes [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 8:16 AM To: Struts Users Mailing List Subject: RE: Newbie: Problems After Deploying to Tomcat Ah... I think I see the problem I need to

Re: Response not XHTML-comliant when using

2004-02-03 Thread Adam Hardy
On 02/03/2004 12:35 PM Andreas Amstutz wrote: Ok folks, thanks for the input on this topic. The quick and dirty solution for my problem was to download the struts source. Changing the xhtml class member's default value from 'false' to 'true' and buid it. Ohh, I really should have done that much

jsp:param & nested tag & null

2004-02-03 Thread ZCurtis
struts v1.1 jsp v1.2 When I pass a jsp:param to a dynamic include and try to read the parameter in a nested:equal I get a 'null' error message. When I change the tag to a logic:equal it seems to work. I'm just trying to understand why this is happening? * Main.jsp * ...other code...

Re: Populating a DynaActionForm with a complex object graph

2004-02-03 Thread Adam Hardy
Hi Doug, your title threw me off the scent a little but I think what you are looking for is nested beans. HTH Adam On 02/03/2004 03:58 PM Doug Dixon wrote: OK, I've starting off down the Map-backed, manual indexing route, and it's grim... It forces me to have model logic in three places - the JSP

Pajes + Struts (REPOSTED and FORMATTED)

2004-02-03 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi to y’all, I’m trying to integrate Pajes (www.pajes.org), a Servlet Presentation Framework, with Struts. The idea is to use Struts’ MVC separation (Action, ActionForms, ActionServlet, etc…) WITHOUT using Struts’ presentation tools (i.e. no JSP, ergo no JSP Tags), just plain XHTML templates

RE: Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Colin Foulkes
Thanks Richard, but if I read the few samples I see correctly, the base would have to be altered when I move the app from the development location to the external Tomcat server. Now that's not necessarily a big problem, but the html:form action attribute seems to do this automatically. I was wo

Re: LookupDispatchAction

2004-02-03 Thread Guilherme Barile
Hi I just found out that unspecified() is called, but the parameter you specified on struts-config must exist, so if you access something like http://mysite/MyAction.do?action= it will call unspecified(), because that action does not exist. Interesting uh ? On Tue, 2004-02-03 at 23:38, Jas

Re: Basic question on /lib/*.jar files

2004-02-03 Thread Eric SCHULTZ
Good afternoon... >> From: Claire Wall >> Date: Tue, 03 Feb 2004 04:25:29 -0800 >> >> we store them in the common/lib folder. Then all applications running >> on that web server have access to the jars and negates the need for >> them to go into the separate WEB-INF/lib folders for each applica

Re: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-03 Thread Hubert Rabago
I definitely haven't used Pajes, but if the servlet is on the same web app, perhaps your servlet can access the form in the request attribute. More comments below --- "Villalba Arias, Fredy [BILBOMATICA]" <[EMAIL PROTECTED]> wrote: > HOWEVER, I have not solved yet the data access method part. I MU

RE: Plzzz help problem with session invalidate method ...

2004-02-03 Thread Gopalakrishnan, Jayesh
Check the HttpServletRequest API, there's a getSession(boolean) method that'll get u a new session Or an existing session based on true or false parameter. Make sure you use the right one in the login process. hth -jayash -Original Message- From: Vinay Kumar Munikuntla [mailto:[EMAIL

Re: action global forward extension

2004-02-03 Thread Craig R. McClanahan
Quoting Bradley Beddoes <[EMAIL PROTECTED]>: > Hi All. > > I wish to have some global forwards invoked as .do others as .do2 (so as > to differentiate what filters get hit with the differing requests), Is > this possible within struts? (Please see struts.conf below) > Struts supports only one

img tag with action as src

2004-02-03 Thread Greg Blomquist
I apologize in advance if this question has already been answered somewhere. Looks like basebeans is down so I can't search the struts-user archives. I'm trying to do the following: The only problem is that it doesn't like the relative path. I have to code the absolute path: http://localhost:00

RE: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-03 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi Hubert, thanx for answering! Read below. >Not sure this would be possible. The actual ActionForm in use depends on >the >session, and sometimes even the particular request. I doubt there's a way >to >get to the form object actually in use by just specifying the action class. >If it's the *cl

Re: img tag with action as src

2004-02-03 Thread Manfred Wolff
Greg use the Tag. Then Struts appends the base uri like http://localhost:/MyApp/ to your relative path. Your image might be then Manfred Greg Blomquist wrote: I apologize in advance if this question has already been answered somewhere. Looks like basebeans is down so I can't search the

RE: accessing application.properties from JSP

2004-02-03 Thread Saul Q Yuan
Using inside a javascript should work, cause is processed first on the server. It works for me. It may help if you post your code here. Saul -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 12:02 PM To: 'Struts Users Mailing List' Subj

Re: accessing application.properties from JSP

2004-02-03 Thread James Mitchell
Serverside jsp processing knows nothing about embedded JavaScript or anything else. works anywhere on your page (if you remember to put the taglib declaration) -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 (cell) AIM: jmitchtx MSN: [EMAIL PRO

RE: Using Validator To Avoid Database Trip

2004-02-03 Thread Dhaliwal, Pritpal (HQP)
Things like Hibernate (ORM layer) might do some of these tricks for you. I think it only updates what has been changed and if you use caching, you are optimizing many other things.. Pritpal Dhaliwal -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: How to deploy a war file in Apache?

2004-02-03 Thread Martin Cooper
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can anyone guide me in how to deploy a .war file in Apache? If you're referring to the Apache HTTPD web server, the answer is that you can't do that, because it's not a Java servlet container. You need to configure HTTPD to forward the

Re: img tag with action as src

2004-02-03 Thread Greg Blomquist
Thanks for the speedy reply. However, that doesn't seem to solve the problem I'm having. I'm receiving the same error as before after adding the tag to the section of my page. Do I need to fill in any attributes to the base tag? Also, the problem I'm having might be related to the fact that I

Re: Struts and Pajes

2004-02-03 Thread Michael McGrady
Struts is not the "presentation tools" so you are fine. You can use any presentation, or even none. I do a lot of tunneling things with struts, including serving images with Action classes. Your question is not clear to me? You seem to be conflating mapping (control) and view (presentation)

Re: img tag with action as src

2004-02-03 Thread Ben Anderson
if doens't work for you, then adding an tag isn't going to help you. You just need to add your application context in there. Check out: http://jakarta.apache.org/struts/userGuide/struts-html.html#img Also here's another archive site: http://marc.theaimsgroup.com -Ben From: Manfred Wolff <[EMAIL

[OT] Ted Husted

2004-02-03 Thread Michael McGrady
Hi, Ted, 'Hope this is appropriate. I have not received the copy of JUnit you were sending me on the drawing. Don't want to appear ungrateful, but it has been a while. Thanks. Michael McGrady - To unsubscribe, e-mail: [EM

Re: img tag with action as src

2004-02-03 Thread Ben Anderson
Could that play a part in this? nope From: "Greg Blomquist" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: img tag with action as src Date: Tue, 3 Feb 2004 13:38:38 -0500 Thanks for the speedy reply. However, that doesn't seem to s

Re: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-03 Thread Joe Germuska
> (2) Whatís the minimal information that one needs to retrieve an Actionís > corresponding ActionForm object? ModuleConfig modConf = ModuleUtils.getInstance().getModuleConfig(request); FormBeanConfig fbc = modConf.findFormBeanConfig(mapping.getName()); (since 2004/01/24): ActionForm form = Reque

Re: img tag with action as src

2004-02-03 Thread Greg Blomquist
That's it!I knew that struts taglib had a way to do what I wanted, I just couldn't remember what it was... Thanks Ben! "Ben Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > if doens't work for you, > then adding an tag isn't going to help you. > You just need to add y

RE: Using Catus versus using StrutsTestcase

2004-02-03 Thread Yee, Richard K,,DMDCWEST
Al, StrutsTestCase, as the name implies, has specific classes and methods for testing struts applications. It is good for testing actionForwards, validation errors, and ActionForm submissions with struts. It only does out of container testing however. Cactus is used for in-container testing of serv

RE: img tag with action as src

2004-02-03 Thread vasudevrao gupta
Hi, Try using -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Greg Blomquist Sent: 03 February 2004 23:44 To: [EMAIL PROTECTED] Subject: img tag with action as src I apologize in advance if this question has already been answered somewhere. Looks like basebeans is

Re: img tag with action as src

2004-02-03 Thread Michael McGrady
At 10:13 AM 2/3/2004, Greg Blomquist wrote: I apologize in advance if this question has already been answered somewhere. Looks like basebeans is down so I can't search the struts-user archives. I'm trying to do the following: The only problem is that it doesn't like the relative path. Your que

Hello

2004-02-03 Thread matt
[Filename: message.zip, Content-Type: application/octet-stream] The file that was attached to this message has been removed by the mail gateway filter because it is not permitted by the security policy or may contain a virus. -

RE: Conventions for indexed properties

2004-02-03 Thread Yee, Richard K,,DMDCWEST
Sunil, The LazyList class in the commmons-collections.jar file does this already for you. Rgds, Richard java.lang.Object | +--org.apache.commons.collections.collection.AbstractCollectionDecorator | +--org.apache.commons.collections.list.AbstractListDecorator |

Re: ChartDirector with Struts

2004-02-03 Thread Nathan Maves
We are using JFreeChart with struts. On Feb 2, 2004, at 11:32 AM, Andy Engle wrote: Hi all, Just curious if anyone has used ChartDirector (from http://www.advsofteng.com) in any Struts application? Andy - To unsubscribe, e-mail

RE: action global forward extension

2004-02-03 Thread Bradley Beddoes
Craig, Thanks a lot, I somehow missed that warning statement on that document, I had read it before posting here. Cheers, Bradley -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 4:18 AM To: Struts Users Mailing List Subject: Re: act

No action instance for path /...

2004-02-03 Thread Daniel
How can I fix this message ??? SEVERE: No action instance for path /wellcome could be created my struts-config.xml is: http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> and when i tri to access on the browser:

Experienced Hungarian Struts developer wanted

2004-02-03 Thread Zsolt Koppany
Hi, we search for experienced Hungarian Struts developers. If you are interested in a job please contact me. Struts experiences are important and SQL know how is also interesting. Zsolt Koppany -- Intland Software GmbH, Schulze-Delitzsch-Strasse 16 D-70565 Stuttgart, Germany Phone: +49-711-722

Re: No action instance for path /...

2004-02-03 Thread Max Cooper
Is a compiled com.topit.action.WellcomeAction class file in the classpath for your web app (WEB-INF/classes or WEB-INF/lib)? It seems to be saying that it couldn't create an instance of your Action class for that path. -Max - Original Message - From: "Daniel" <[EMAIL PROTECTED]> To: <[EM

error- no getter method for property of bean

2004-02-03 Thread Frank Nguyen
Hi, I'm experimenting a simple form, adding a group (3 fields) to a simple, one group table database, following some examples from the Struts book by James Turner. All classes built (with Torque and mysql) and deployed. I couldn't bring up the form and kept getting the error below. I think somethi

Looking for junior Java/Struts developers

2004-02-03 Thread Yibing Li
Folks, We are actively looking for java/struts/jboss developers here at GNX (www.gnx.com). If you have one year of experience using java/struts or jboss and are willing to relocate to Herndon, VA, please send me your resume to [EMAIL PROTECTED], The salary is around $50k. Thanks, Yibing -

Re: error- no getter method for property of bean

2004-02-03 Thread hgosper
You will need to change your getter method to getGroup_name() Struts uses the name of the field when it looks for a getter or setter method. It will assume that the first letter of the field name is capitalised after the get (as per general JavaBean standards). getGroupName will not be recognized

RE: error- no getter method for property of bean

2004-02-03 Thread Wendy Smoak
> From: Frank Nguyen [mailto:[EMAIL PROTECTED] > javax.servlet.ServletException: No getter method for property > group_name of bean org.apache.struts.taglib.html.BEAN I didn't look at anything you attached, but based on this message I'd encourage you to stick to property names like 'groupName' a

RE: error- no getter method for property of bean

2004-02-03 Thread hgosper
There is a reason why people choose field names like group_name with underscore and no "CamelCase": it is to mirror the column names in the database. I personally agree with you in general terms but if DBAs insist on their "of" notation (the underscore means "of" or something syntactically simi

Re-populating form after validate fails

2004-02-03 Thread Paul Barry
I feel bad asking this question because I know it has been asked 1 million times in this group, but I still haven't found the answer so I am asking it again. How do you get a form to re-populate if validation fails? Here is what I am trying. I have 2 actions: So, the user goes to /myaccount

RE: Validation problem

2004-02-03 Thread Jiin-Her Lu
This is an interesting thing. Here is the way to avoid Struts calls validate method on ActionForm This one Struts framework will NOT call validate method on ActionForm While this one does The only difference is if you do have property, Struts adds name="your_data". While if you don't hav

Re: Looking for junior Java/Struts developers

2004-02-03 Thread Caroline Jen
I would like to give a try. I live in Manassas, VA. Please find my resume in the Word format in the attachment. Caroline Jen Tel: 703-369-3257 --- Yibing Li <[EMAIL PROTECTED]> wrote: > Folks, > > We are actively looking for java/struts/jboss > developers here at GNX > (www.gnx.com). If you

Re: img tag with action as src

2004-02-03 Thread Nathan Maves
Were are attempting to do the same thing. (Have an action return an image) everything works great but we have the following error in the server log. StandardWrapperValve[action]: Servlet.service() for servlet action threw exception java.lang.IllegalStateException: getOutputStream() has alr

Validator-How to put the fields value in the resulting error message?

2004-02-03 Thread David Erickson
Hey all, still new with the validator.. I'm using the emailAddress validator and I just want it to put the value of the field in the error message if its not valid.. ie: blah!blah.com is not a valid email address. however I can't seem to make that happen.. here's what I've tried: a

Re: Re-populating form after validate fails

2004-02-03 Thread hgosper
Just set up an forward for validation failure. You can do this in your struts-config.xml file, in fact you can have as many forwards as you like, but for practical purposes most people prefer to have at most three or four forwards per Action. For example, you might have a SaveAction that forwa

Re: Validator-How to put the fields value in the resulting error message?

2004-02-03 Thread hgosper
I think you have to do this in code in your form's validate method. errors.add(new ActionError("errors.email"), emailAddress); I could be wrong but this is the way that I do it anyway... I'm not sure if the struts validator can do this using an expression like you have tried to do. Heya Gospe

Re: img tag with action as src

2004-02-03 Thread Michael McGrady
I think I posted the code that works for my application that does this. Are you returning null with your action? At 03:47 PM 2/3/2004, you wrote: Were are attempting to do the same thing. (Have an action return an image) everything works great but we have the following error in the server log.

Struts + Frames + Requests

2004-02-03 Thread Dirk Manske (Service Respond)
Hi, I am creating a struts web app. In one html page I have to use frames where you can enter some values in one frame and after submitting the result is displayed in another frame. Currently this is theory because I experience two problems: 1. After submit an action is called. The action comput

Re: img tag with action as src

2004-02-03 Thread Nathan Maves
Perfect! I remember seeing that but just did not register. My bad :) On Feb 3, 2004, at 5:28 PM, Michael McGrady wrote: I think I posted the code that works for my application that does this. Are you returning null with your action? At 03:47 PM 2/3/2004, you wrote: Were are attempting to do

  1   2   >