Re: Unsupported major.minor version 49.0

2006-02-01 Thread starki78
Well I had this erroer compiling sourcecode with 1.4 and some classes with 1.3 within one project -- Initial Header --- >From : "news" [EMAIL PROTECTED] To : user@struts.apache.org Cc : Date : Wed, 01 Feb 2006 14:53:00 -0500 Subject : Re: Unsupported m

Re: tiles and nested:nest tags problem

2006-02-01 Thread ascii
its working... yehey.. i add in the child jsp... On 2/2/06, ascii <[EMAIL PROTECTED]> wrote: > > i had 2 jsp. a parent and a child(called via tiles:insert). > > parent jsp has html:form tag while in the child jsp i try to use > nested:nest always an error.. i try to put the form via tiles:put s

tiles and nested:nest tags problem

2006-02-01 Thread ascii
i had 2 jsp. a parent and a child(called via tiles:insert). parent jsp has html:form tag while in the child jsp i try to use nested:nest always an error.. i try to put the form via tiles:put still error. but if i put the html:form in the child jsp it works.. therefore i conclude the nested:nest t

[shale] Better validation messages

2006-02-01 Thread Richard Wallace
I've starting working with the commonsValidator components in Shale. I'm just getting started but one thing I was hoping this could solve was better error message handling. The error message handling in JSF is probably one of it's weakest areas because you can only define a single message to

Re: Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread J T
Thanks for the links. The 'dot in the filename' has caught me before so I made sure that I named the file log4j.jar. I am deploying my app as a war file. I have not tried flushing the .wlnotdelete directory. After doing a little more experimentation I discovered that I had made an error in my orig

Nested:text date picker

2006-02-01 Thread Voorhoeve, Niels {PBG}
Hi, I tried using a date picker that used the id attribute ala . Using the id attribute does not work with the nested:text tag. Does anyone know of a date picker that works with nested:text? Thanks, Niels - To unsubscribe, e

Re: [OT] Simultaneous and ordered XHRs

2006-02-01 Thread Frank W. Zammetti
Michael Jouravlev wrote: Off the top of my head, I would think you would need to set up a timer, and when the responses come back, instead of processing them on the spot in the callback, instead set a flag in the call structure that says "yes, this request completed, but don't process it until th

[OT] Simultaneous and ordered XHRs

2006-02-01 Thread Michael Jouravlev
On 2/1/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Wendy Smoak wrote: > > On 2/1/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > >> Hi, Ajax gurus, I have an OT question: how to ensure the proper order > >> of several XHRs? I found how to create several XHRs simultaneously, > >> but I

Re: Wireless Development mailing List

2006-02-01 Thread slam dunk
Netbeans.org , if j2me is what you meant by 'wireless development' On 2/1/06, Jonnalagadda, Sumithra <[EMAIL PROTECTED]> wrote: > > I am sorry for this off topic post. > > > What are the open source tools for wireless software development?. > > > ---

Validation - how to get form field names with validation errors

2006-02-01 Thread Karthik Manimaran
Hi, I am using the following to display all the validation errors in a form. How can I get the form field names that correspond to each of the errors reported or atleast a list of all form fields that have an error. Thanks and regards, Karthik.

RE: Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread George.Dinwiddie
Could there be something outside your app that's using commons logging, and therefore needs log4j once it's installed? Try putting the log4j.jar in your server classpath, e.g., weblogic81/server/lib, and see if that helps. I'm really grasping at straws, here. Alternatively, could there be anothe

Re: Leading slash on forward causes problem in proxied environments

2006-02-01 Thread J T
>From: Laurie Harper holoweb.net> >Subject: Re: Leading slash on forward causes problem in proxied environments >Newsgroups: >gmane.comp.jakarta.struts.user

Re: Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread J T
yes using /opt/bea/wls_sp2/jdk141_05 On 2/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Are you using the jdk that comes with WebLogic? Under WebLogic 8.1.2, > that was in C:\bea\jdk141_05 for my installation. WebLogic plays some > intricate games with the ClassLoader. > > > -Or

RE: Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread George.Dinwiddie
Are you using the jdk that comes with WebLogic? Under WebLogic 8.1.2, that was in C:\bea\jdk141_05 for my installation. WebLogic plays some intricate games with the ClassLoader. > -Original Message- > From: J T [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 01, 2006 4:27 PM > To:

Re: [shale] subview not talking to a backing bean

2006-02-01 Thread Craig McClanahan
On 2/1/06, Jason Vincent <[EMAIL PROTECTED]> wrote: > > Again... thanks for the quick replies... > > I found a fix to my problem. > > Apparently "header" is a reserved word and cannot be used as the name > of the managed bean. > Originally this was my bean definition: > > header >

Re: Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread J T
I agree that it is weird. We have log4j.jar in other applications deployed on the server (not struts based applications) and they work ok. We are using jdk14_05. All I need is a logger that will write to a file. I don't think SimpleLog will do that so I guess log4j is the only other option. On 2

RE: Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread George.Dinwiddie
None that are related to log4j. It's curious that your stack trace doesn't name the class that can't be instantiated. What version of Java are you using? This might be a question for BEA. - George > -Original Message- > From: J T [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February

Re: [shale] subview not talking to a backing bean

2006-02-01 Thread Gary VanMatre
>From: Jason Vincent <[EMAIL PROTECTED]> > > Again... thanks for the quick replies... > > I found a fix to my problem. > > Apparently "header" is a reserved word and cannot be used as the name > of the managed bean. Gosh, that's one to remember :-) Gary > > > > > > > -

Re: [OT] Serving an pdf file in a struts action

2006-02-01 Thread Frank W. Zammetti
Are there any tricks? Hehe, you should ask if there is any NON-TRICKY way! ;) Serving PDFs, whether from Struts or not, is notoriously a source of major angst for many developers. The Acrobat browser plug-in is a piece of garbage, IE does things differently than FF, SSL has an effect, and so on

Re: Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread J T
The jguru link you provided did not work for me. I was using the file appender so I don't think that I need anything else. What libs are in your WEB-INF/lib directory? On 2/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I've used log4j 1.2.9 with struts 1.2.7 and Weblogic 8.1.2 without any

html:radio headaches

2006-02-01 Thread Jim Reynolds
I am having issues working with the html:radio tag. First off: I have simple bean which extends ActionForm. In my business logic I create DTO objects and stuff them into the actionform into a arrayList through a setter. The DTO has a getName method in it. In my view, I am iterating over like so,

Re: Struts-1.1 Tiles exception error page

2006-02-01 Thread Vladislav Pernin
You mean or <%@ page autoFlush="false" ... buffer="64kb">, or both ? I do not really have an idea what could be a reasonable value for buffer. Vlad Laurie Harper a écrit : Well, assuming the IllegalStateException is complaining about not being able to forward after the response has been co

Re: [shale] subview not talking to a backing bean

2006-02-01 Thread Jason Vincent
Again... thanks for the quick replies... I found a fix to my problem. Apparently "header" is a reserved word and cannot be used as the name of the managed bean. Originally this was my bean definition: header com.prenet.cpt.presentation.Header request When I ren

Re: [OT] Serving an pdf file in a struts action

2006-02-01 Thread Wendy Smoak
On 2/1/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > Is there any trick in sending the user a pdf by setting the content type to > application/pdf and then using the response.getWriter() to write out the > data? There is some information on this page: http://wiki.apache.org/struts/StrutsFileDo

Re: [OT] java.lang.OutOfMemoryError on production server

2006-02-01 Thread Laurie Harper
Brian Kremmin wrote: Tomcat 5.0.28 gives the following error sporadically but usually after only a few hours of operation: [...] java.lang.OutOfMemoryError [...] I realize this error message could mean a number of things (and I don't have much further info at this time) but I'd appreciate any i

RE: [OT] Serving an pdf file in a struts action

2006-02-01 Thread George.Dinwiddie
No, but I would recommend response.getOutputStream() in case the PDF contains any binary data. Garner, Shawn asked: > Is there any trick in sending the user a pdf by setting the > content type to application/pdf and then using the > response.getWriter() to write out the data? --

Re: Unsupported major.minor version 49.0

2006-02-01 Thread Laurie Harper
That's simply not true. However, if you weren't specifically targeting a Java 1.3 runtime when you were using the 1.5 JDK, you will need to recompile your code using the new JDK. L. starki78 wrote: Hi all classes you use in the project have to be compiled with the same jre! -- Initia

[OT] Serving an pdf file in a struts action

2006-02-01 Thread Garner, Shawn
Is there any trick in sending the user a pdf by setting the content type to application/pdf and then using the response.getWriter() to write out the data? Shawn This email may contain confidential material. If y

Re: Struts-1.1 Tiles exception error page

2006-02-01 Thread Laurie Harper
Well, assuming the IllegalStateException is complaining about not being able to forward after the response has been committed or something similar, the problem is that (at least some of) the response has already been sent when the error occurs. You may be able to work around that by (a) making

Re: html:select

2006-02-01 Thread Laurie Harper
Use the html:select field's 'value' attribute to get the selected value from form1, or populate the appropriate property in form2 before you forward to the JSP. If you use the first approach, the user's selection in form2 will not be preserved if you re-display the form, so you probably want t

Re: [shale] subview not talking to a backing bean

2006-02-01 Thread Gary VanMatre
>From: Jason Vincent <[EMAIL PROTECTED]> > > Thanks for the response. > > The header.jsp does indeed have the page directive at the top. > > > the include.jsp has the taglib includes in it. > > There are other items in the header.jsp that are using the JSF-EL to > access attributes in the

RE: Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread George.Dinwiddie
I've used log4j 1.2.9 with struts 1.2.7 and Weblogic 8.1.2 without any problems. Do you have any indication of what class is not being found? Are you missing a dependency for an appender that you're using? (See http://www.jguru.com/faq/view.jsp?EID=1007095, though this may be out-of-date.) > ---

Re: [shale] subview not talking to a backing bean

2006-02-01 Thread Jason Vincent
Thanks for the response. The header.jsp does indeed have the page directive at the top. <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ include file="include.jsp" %> the include.jsp has the taglib includes in it. There are other items in the header.jsp that are using the JSF

Re: Session expired and Multi-Entity Struts application

2006-02-01 Thread Michael Jouravlev
On 2/1/06, Angel Navarro <[EMAIL PROTECTED]> wrote: > Hi, > > I have a Multi-Entity web application. Every application have theirs > colors > Is a Struts application (1.3) and JSP no Tiles. > When any user want to access, have a param indicate what entity, example: > > ..URL?Entity=1 > ...URL?

Re: Regarding using HashMap in jsp

2006-02-01 Thread Laurie Harper
Laurie Harper wrote: This sort of question is best asked on the users list; the dev list is intended for discussion of the development of the Struts projects rather than on how to use them. Oops, sorry about that bit... :-/

Wireless Development mailing List

2006-02-01 Thread Jonnalagadda, Sumithra
I am sorry for this off topic post. What are the open source tools for wireless software development?. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: question: how to support both MVC and Struts?

2006-02-01 Thread George.Dinwiddie
Aleksandar Matijaca said: > I believe that it must have "some sort" of an extension, > so as to accomodate the processing by the Action servlet. > It does not have to be a .do, but it must have some sort > of an extension -- this get set-up in the web.xml file in the > WEB-INF directory... No, yo

Re: Struts-1.1 Tiles exception error page

2006-02-01 Thread Vladislav Pernin
I try to migrate to Struts 1.2.8, the "ServletException ..." message is not displayed any more. Problem is that if I use the error-page of the web.xml, I got the following exception : 2006-02-01 18:58:27 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Th

Session expired and Multi-Entity Struts application

2006-02-01 Thread Angel Navarro
Hi, I have a Multi-Entity web application. Every application have theirs colors Is a Struts application (1.3) and JSP no Tiles. When any user want to access, have a param indicate what entity, example: ..URL?Entity=1 ...URL?Entity=2 .. And when a User is login, this param is in session.

Struts Layout query

2006-02-01 Thread Karthik Manimaran
Hi, I want to display the labels of the form fields with error in red. I want to avoid the conditional statement to insert the attribute-value pair of 'class="Error"' in the td tag. First Name: Can this scenario be simplified using Struts Layout? Is yes, any pointers/examples? Exte

RE: Conditionally checking an html:checkbox field

2006-02-01 Thread Greg Dunn
N/M, I found it. I was creating the form in session in my first action but pulling it from request in my second. Duh. -Original Message- From: Greg Dunn [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 11:05 AM To: Struts Users Mailing List Subject: RE: Conditionally checkin

RE: Conditionally checking an html:checkbox field

2006-02-01 Thread Greg Dunn
Still no joy using String instead of Boolean. I must be doing something wrong. What are common mistakes related to checkboxes? -Original Message- From: kalpesh modi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 1:11 PM To: Struts Users Mailing List Subject: RE: Conditionally

Re: struts + oracle+ hibernate

2006-02-01 Thread Dave Newton
Raghuveer wrote: > Could you help me for Data insertion into Oracle daabase. > > But when i save NEW data ,I could not save to my oracle database table. > > Experts help !! > It might make more sense to ask this question on a Hibernate list. Dave

[OT] Re: struts + oracle+ hibernate

2006-02-01 Thread DGraham
--- Begin Message --- 1. Ask Questions The Smart Way:  www.catb.org/~esr/faqs/smart-questions.html 2. Recompile with debug on and step through AddItemAction 3. Try the Hibernate forum:  http://forum.hibernate.org/ -Dennis "Raghuveer" <[EMAIL PROTECTED]> 02/01/2006 11:01 AM Please respo

struts + oracle+ hibernate

2006-02-01 Thread Raghuveer
hi, Could you help me for Data insertion into Oracle daabase. I have Table item in scott/tiger database. With below coe i could retrive data. But when i save NEW data ,I could not save to my oracle database table. Experts help !! --- Oracle Database table ---

Re: RequestProcessor and multiples configuration files

2006-02-01 Thread Jérémie GARROT
Merci Beaucoup I forgot a tag in the last config file. After deleting it, it works fine now. Thanks a lot for your help! Jérémie Hubert Rabago a écrit : If all the config files are for the same module, make sure you put the request processor definition in just one of

Re: [shale] Outputting formatted numbers

2006-02-01 Thread Richard Wallace
Gary VanMatre wrote: You have a couple options: Oh, that explains why my converter wasn't working. I didn't even realize there was a element for s. Makes sense. But, I missed many of the base converter's. The defaults are defined in the /META-INF/clay

Just adding log4j.jar to struts 1.2.7 project under weblogic causes stack trace

2006-02-01 Thread J T
I would like to use log4j for logging under struts. As soon as I add the log4j.jar to my WEB-INF/lib directory (I tried 1.2-13, 1.2-12, 1.2-8, etc) and try to access the application I get a 500 internal error (below). When I remove it my app runs normally. I have tried using log4j.properties & comm

Re: RE: html:select

2006-02-01 Thread rahul kshirsagar
Hi, Actually i m doin that only.But the application need is that the value of drop down should get populated from diferent bean. Say i m getting selected value from form1 and setting it in form2 and then this value needs to be shown as a default value of drop down.   On Wed, 01 Feb 2006 Muru

AW: [Shale] API Stability vs. V1.0

2006-02-01 Thread Bernhard Slominski
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag > von Craig > > Of course right now it's not possible to tell which release > it is or when > > this is. > > Not really at this point ... but feedback on that topic, as > well as general > usage comm

RE: html:select

2006-02-01 Thread Murugesan, Kathiresan \(Cognizant\)
Hi, In your action class just set the value in the respective field's set method. It will automatically select the value. Regards Kathir. From: rahul kshirsagar [mailto:[EMAIL PROTECTED] Sent: Wed 2/1/2006 6:45 PM To: user Subject: html:select Hi, I am u

html:select

2006-02-01 Thread rahul kshirsagar
Hi, I am using for drop down population.Now i want to populate alreay selected value in the drop down when page is refeshed.The thing is i have that value with me which is to be populated but i dont know how to set it in . I know it is possible using bean:write but dont have the syntax. If yo

Re: Set values in form bean

2006-02-01 Thread Debendra Barik
Hello, I think if you will use struts lazyList then, it will takes care of previously entered data. Thanks, Debendra. Deepa Khetan <[EMAIL PROTECTED]> wrote: No, actually, its my requirement. When user enters a particualr field and leaves that textbox, i need to get some data from the database

Re: AW: passing parameters

2006-02-01 Thread Gareth Evans
if your using the latest servlet spec you can do: Your Text although, it looks like your trying to access a static field? I use this trick, Make you constants class extend java.util.HashMap class Add this contructor your constant class public MyCons() { // create the internal map usin

RE: passing parameters

2006-02-01 Thread Michael TALLET
Hi, u could do something like this : <%= MyCons.EDIT %> michael -Message d'origine- De : Markus Demetz [mailto:[EMAIL PROTECTED] Envoyé : mercredi 1 février 2006 12:40 À : Struts Users Mailing List Objet : AW: passing parameters ok thanks, but I forgot that it should be d

AW: passing parameters

2006-02-01 Thread Markus Demetz
ok thanks, but I forgot that it should be dynamically, e.g: /myAction?action=<%= MyCons.EDIT %> but so it does not work. markus > -Ursprüngliche Nachricht- > Von: Gareth Evans [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 1. Februar 2006 12:14 > An: Struts Users Mailing List > Betreff:

Re: passing parameters

2006-02-01 Thread Gareth Evans
Your Text Should do the trick. Note: You do not need the .do Gareth Markus wrote: Hi all, just a simple question. I would like to pass a single parameter with a tag. I've searched the net, but there I understand that it is only possible to pass parameters via beans. Is the a simpler wa

Re: Regarding using HashMap in jsp

2006-02-01 Thread Vasumathi
Hi Thanks for your help. Regards vasu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

passing parameters

2006-02-01 Thread Markus
Hi all, just a simple question. I would like to pass a single parameter with a tag. I've searched the net, but there I understand that it is only possible to pass parameters via beans. Is the a simpler way to redender the following with : /myAction.do?action=edit I'm just a little confused n

Re:Unsupported major.minor version 49.0

2006-02-01 Thread starki78
Hi all classes you use in the project have to be compiled with the same jre! -- Initial Header --- >From : "Naveen Sharma" [EMAIL PROTECTED] To : user@struts.apache.org Cc : Date : Wed, 1 Feb 2006 15:18:35 +0530 Subject : Unsupported major.minor version

Unsupported major.minor version 49.0

2006-02-01 Thread Naveen Sharma
Hi all I am getting this errr that is Unsupported major.minor version 49.0 I have made a switchover from jre1.5 to jre1.3. How do I get rid of it Thanx Naveen

Re: Struts-1.1 Tiles exception error page

2006-02-01 Thread Vladislav Pernin
I just found in the 1.2.4 release note that this has been resolved. So I'm going to take a look at 1.2.4 migration. Vladislav Pernin Vladislav Pernin wrote: Hi all, I'm working in an Struts-1.1 tiles environment and I need to be able to redirect user on a JSP error page when an errors occur