Mixing JSTL 1.0 and JSTL 1.1 expressions on one page

2006-03-09 Thread Michael Jouravlev
I have been using Tomcat 4 (Web Application 2.3) with JSTL 1.0 for quite a while. Now I am switching to Tomcat 5. I set webapp version to 2.4 in web.xml and now I can use JSTL 1.1 expressions everywhere in my HTML. This is great, but Jasper does not like the old JSTL 1.0 syntax like This one wor

Re: Mixing JSTL 1.0 and JSTL 1.1 expressions on one page - RESOLVED

2006-03-09 Thread Michael Jouravlev
Oops. I had to remove the taglib reference <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> from JSP file. Works now ;-) Michael On 3/9/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > I have been using Tomcat 4 (Web Application 2.3) with JSTL 1.0 for > quite a while. Now I am s

Re: Mixing JSTL 1.0 and JSTL 1.1 expressions on one page

2006-03-09 Thread Michael Jouravlev
No, not resolved... New TLD does not have a lot of tags, and for old URI I get an exception. On 3/9/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > I have been using Tomcat 4 (Web Application 2.3) with JSTL 1.0 for > quite a while. Now I am switching to Tomcat 5. I set webapp version to > 2.4 i

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: 2) Is your tiles-defs.xml file in the right place? Yes, in agreement with struts-config.xml: et-property property="definitions-config" value="/conf/tiles-defs.xml" /> This is a pretty strange place for tiles-defs.xml. Is it really under /con

How to generate form controls dynamically

2006-03-09 Thread Rivka Shisman
Hi friends, I need to dynamically build an input form that may contain various html:fields (i.e. html:text, html:select, html:radio etc). The type and name of the html:field will be determined at runtime (from DB table). How can I do it using Struts and JSP? Thanks Rivka

Re: Mixing JSTL 1.0 and JSTL 1.1 expressions on one page

2006-03-09 Thread Michael Jouravlev
I made it work by using RT library: <%@ taglib uri="http://java.sun.com/jstl/core_rt"; prefix="c" %> Why Tomcat treats JSTL expression like this: as runtime expression? I thought that in JSTL 1.0 this was other way around? Do I need to use RT library? On 3/9/06, Michael Jouravlev <[EMAIL PROT

Validation warning under firefox 1.5

2006-03-09 Thread Xavier Vanderstukken
The javascript generates by Struts 1.3 to integrate the common-validator js produces warnings under ff1.5 : Avertissement : reference to undefined property this[varName] this.a0 = new Array("password", "Password can not be less than {1} characters.",new Function ("varName", "this.minlength='6'

REG: Interfaces Vs Abstract classes.

2006-03-09 Thread Krishna, Mattam \(M.\)
Hi All, Here I have a doubt. What is the difference between an Interface and Abstract class(Design Point of View)??. In which scenario which is useful. Can anybody kindly reply me. Thanks and Regards, Krishna Mattam Team Member - CDF Toolset Contact:044-22548575 Email: [EMAIL PROTECTED]

user@struts.apache.org

2006-03-09 Thread Zsolt
Hi, I use struts-1.2.8 and wan't to special html patterns (for example >) in title of Is there a better way? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread vinicius
Em Qui 09 Mar 2006 06:41, Antonio Petrelli escreveu: > vinicius ha scritto: > >> 2) Is your tiles-defs.xml file in the right place? > > > > Yes, in agreement with struts-config.xml: > > et-property property="definitions-config" > >value="/conf/tiles-defs.xml" /> > > This i

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: but my question still the same: I just want to do a forward and change one tile of the layout, so i have to especify an action class?? My forward and action: Short answer: yes. If you want to forward to a definition, say, in case of "success" or to another defi

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread vinicius
Em Qui 09 Mar 2006 08:54, Antonio Petrelli escreveu: > > but my question still the same: > > I just want to do a forward and change one tile of the layout, so i have > > to especify an action class?? > > Short answer: yes. > If you want to forward to a definition, say, in case of "success" or to >

[OT] JASPER Report Exception

2006-03-09 Thread Nandakishore Nekkanti
Hi All I am trying to generate jasper reports.I safely ran the sample web application.But when i am trying do the same in my struts apllication it is giving exception. The .jrxml file is not compiling to .jasper file and the Exception is : net.sf.jasperreports.engine.JRException: Langua

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: Em Qui 09 Mar 2006 08:54, Antonio Petrelli escreveu: but my question still the same: I just want to do a forward and change one tile of the layout, so i have to especify an action class?? Short answer: yes. If you want to forward to a definition, say, in case of "

User metrics

2006-03-09 Thread Raghuveer
How to Catch ,how much time the user spent time in each JSP Page in my JSP web Application - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: User metrics

2006-03-09 Thread James Mitchell
Probably a filter would be the easiest way to do this. -- James Mitchell On Mar 9, 2006, at 7:40 AM, Raghuveer wrote: How to Catch ,how much time the user spent time in each JSP Page in my JSP web Application - To unsubs

Re: Validation warning under firefox 1.5

2006-03-09 Thread Niall Pemberton
I don't see any warnings when I try out the struts-examples webapp (latest 1.2.x version) with Firefox 1.5 - in the validator examples the "Javascript Registration Form" uses minlength on the name fields and it worked with no problem. The problem with your error message is that you're not specifyi

Re: [ANN] Struts Dialogs library 2.0 has been released

2006-03-09 Thread anil_a
Michael You have any stats on how many uses Struts Dialog and how many downloads ? My supervisor is kind of bugging me for usage stats on Struts Dialog. I mean he wants to know name of biggie that uses this extension too. Thanks rukka Michael Jouravlev wrote: Stuts 1.2.9 and 1.3.1+ will in

Re:

2006-03-09 Thread Jared Blitzstein
Well for JSTL it's On Mar 9, 2006, at 6:35 AM, Zsolt wrote: Hi, I use struts-1.2.8 and wan't to special html patterns (for example >) in title of Is there a better way? Zsolt - To unsubscribe,

Error finding tiles-defs.xml

2006-03-09 Thread Hilton, Steve
If you look at the last 3 lines below (at the very bottom of this e-mail)... It says it can't find file '/WEB-INF/tiles-defs.xml'. I've listed my tiles-def and struts-config files in here as well. Both of those files reside under /WEB-INF. I have set this up similar to every example I have been

Re: User metrics

2006-03-09 Thread Thomas Joseph
Hi Raghuveer, > How to Catch ,how much time the user spent time in each JSP Page in my JSP > web Application > > Time between two subsequent requests per user per browser is the time spent for that page. Record this in the user session. Donot use requested JSPs for this. Filters or Servlets coul

OT

2006-03-09 Thread Neil Meyer
Good Day, I have a question and hope somebody can help me in finding this information or give me some tips on where I can find something about this. We are using a struts and I need to build communication protocols to link to other systems. The protocol I currently need to look at is AS1 is there

[ANNOUNCE] Sprout 0.9.1 - Annotations for Struts

2006-03-09 Thread Seth Fitzsimmons
Sprout aims to significantly simplify development with Struts by reducing the amount of configuration required through the use of annotations and sensible defaults. Sprout builds on Spring's support for auto-wiring of action dependencies and brings it to the next level by obviating the need for te

Re: [OT] TheServerSide Java Symposium

2006-03-09 Thread Gary VanMatre
>From: "Ted Husted" <[EMAIL PROTECTED]> > > On 3/8/06, Craig McClanahan wrote: > > Basically, I'm going to claim that "anything you can do in an action > > oriented framework can also be done in a component oriented framework" -- > > :) Didn't Turing prove that already :) > > Mathematically,

Re: Mixing JSTL 1.0 and JSTL 1.1 expressions on one page

2006-03-09 Thread Mark Lowe
Thats a really wierd problem you're having.. Try this namspace, i recall they changed at some point.. <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> If you see that the el isn't being evaluated you can configure this in you web.xml or <%@ page isELIgnored="false" %> What it l

Re: How to generate form controls dynamically

2006-03-09 Thread Craig McClanahan
On 3/9/06, Rivka Shisman <[EMAIL PROTECTED]> wrote: > > Hi friends, > > > > I need to dynamically build an input form that may contain various > html:fields (i.e. html:text, html:select, html:radio etc). > > The type and name of the html:field will be determined at runtime (from > DB table). > > Ho

Re: Mixing JSTL 1.0 and JSTL 1.1 expressions on one page

2006-03-09 Thread Michael Jouravlev
Arrgh! That must be it. I forgot to remove JSTL 1.0 libraries from WEB-INF/lib. Seems that I need two different directories configured for Tomcat4 and Tomcat5. Or I can move JSTL 1.0 libraries to common libs in Tomcat4. Thanks! On 3/9/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > Thats a really wier

[ANNOUNCE] Struts 1.2.9 test build available

2006-03-09 Thread Niall Pemberton
The Struts 1.2.9 test build is now available for dowload here: http://cvs.apache.org/dist/struts/v1.2.9/ Release Notes: http://struts.apache.org/struts-doc-1.2.x/userGuide/release-notes.html Documentation: http://struts.apache.org/struts-doc-1.2.x/ At this point no "quality" label (i.e. "alpha"

Re: How to generate form controls dynamically

2006-03-09 Thread Frank W. Zammetti
While it is true you cannot do it with Stuts HTML tags, remember that those tags render plain HTML when all is said and done, as does JSF incidentally, and there is nothing to stop you from doing that yourself. It's a pretty trivial exercise really. Frank Craig McClanahan wrote: On 3/9/06,

Re: How to generate form controls dynamically

2006-03-09 Thread Tom Ziemer
Hi Craig, sorry, if this is totally OT, but I just posted a similar question in the sun forum: Where would you actually place the code you mentioned within a JSF component? I mean beginEncode() is called each time the page is requested so what can I do, if I only want to add a component once? I do

Re: [ANN] Struts Dialogs library 2.0 has been released

2006-03-09 Thread Michael Jouravlev
You can find the stats in the "files" section on SorceForge: https://sourceforge.net/project/showfiles.php?group_id=49385&package_id=154597 To see download stats click on the number of downloads, for example: https://sourceforge.net/project/stats/detail.php?group_id=49385&ugn=struts&type=prdownloa

(Problem Solved) Re: Display the Counts of a Collection that is in a Form

2006-03-09 Thread Caroline Jen
Hi Lionel and Wendy, Thanks a lot for your help and guidance. It is good to start learning Struts tags. --Caroline --- Lionel Port <[EMAIL PROTECTED]> wrote: > type=" > com.mypackage.ActivityForm"/> > > On 3/9/06, Lionel Port <[EMAIL PROTECTED]> > wrote: > > > > As wendy said you need t

Re: How to generate form controls dynamically

2006-03-09 Thread Craig McClanahan
On 3/9/06, Tom Ziemer <[EMAIL PROTECTED]> wrote: > > Hi Craig, > > sorry, if this is totally OT, but I just posted a similar question in > the sun forum: Where would you actually place the code you mentioned > within a JSF component? I mean beginEncode() is called each time the > page is requested

Welcome Page Not Working

2006-03-09 Thread Troy Bull
Greetings I have a struts app called "bus" and I have an action kicker.do. How do I tell my app to start kicker.do if no other info on the url is given. for example http://myserver.com/bus should run http://myserver.com/bus/kicker.do I put /kicker.do this in my web.xml and that did

Re: [OT] TheServerSide Java Symposium

2006-03-09 Thread Ted Husted
On 3/9/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > Holy smokes, what have we been doing for the past 50 years? Figuring out how to get an IDE to do the work of an infinite number of monkeys :) -T. - To unsubscribe, e-mail: [E

[ANN] JAVAWUG BOF XVI / Friday 3rd March 2006 @ 19:00 / Oracle Ci ty of London

2006-03-09 Thread Pilgrim, Peter
Dear All I would like to formally announce that JAVAWUG (Java Web User Group) is holding the sixteenth Birds-of-Feather (Meet up XVI) at the Oracle City of London offices on Friday, 17th March 2006. The meeting will take place in a room with Audio/Visual facilities between 7-9:30 pm. There will

RE: Welcome Page Not Working

2006-03-09 Thread Juan M. Tula
You must create a file named kicker.do too in the application root. The contents does not matter, may be zero-lenght, but the specification requires that what you specify in welcome-file-list must be physical files. The request will be handled correctly by struts. -Mensaje original- De

Struts homepage, access to docs

2006-03-09 Thread Michael Jouravlev
*** Navigation *** How do I get to Struts Users Guide located pointing at: http://struts.apache.org/struts-doc-1.2.x/userGuide/preface.html from the main Struts page pointing at: http://struts.apache.org/ For that matter, how do I get to any docs? "Project Documentation -> Project Info" on the mai

Re: Validation warning under firefox 1.5

2006-03-09 Thread Xavier Vanderstukken
Thx I forgot to add the line : key="${var:minlength}" resource="false" position="1"/> to my configuration file. But I have allways the javascript warning under firefox 1.5 (I am using Struts 1.3) : *Avertissement : reference to undefined property this[varName] * Niall Pemberton wrote: I don'

Re: How to generate form controls dynamically

2006-03-09 Thread t . ziemer
Hello Craig, thanks for your answer. The phase listener is the correct timepoint for the component creation, yet it will be executed repeatedly for each request so how can I avoid re-adding components to the view tree? Isn't there something like a servlet's init() method? Otherwise I'd still have

Fwd: Display the Counts of a Collection that is in a Form

2006-03-09 Thread Brian Holzer
**DISCLAIMER** This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mai

Re: Struts homepage, access to docs

2006-03-09 Thread Niall Pemberton
There are links on the main page on the left hand menu bar under "Site Archive" - you can get the current docs using the "Struts 1.2.x" link and then there are also links to the GA versions of Struts docs. Niall - Original Message - From: "Michael Jouravlev" <[EMAIL PROTECTED]> Sent: Th

invoking method of DispatchAction from within another DispatchAction

2006-03-09 Thread digant . k . joshi
How do I invoke another DispatchAction from one DipatchAction ? For e.g If I want to call diceSetUp.do?dispatch=diceWebSetUp from public class SectorAction extends DispatchAction { public ActionForward getSectorsFromQ(ActionMapping m

Re: Struts homepage, access to docs

2006-03-09 Thread Hubert Rabago
If you're looking for the User Guide for 1.3, you can get to it from the Struts Action Framework page. On the nav menu on the home page, the "Frameworks" section has a link to the Action and Shale frameworks. >From the Action page, a link to the User Guide is available under the "Quick Links" sec

Re: Welcome Page Not Working

2006-03-09 Thread Troy Bull
When I created kicker.do (in the same directory with my jsp's) I get a null pointer exception... Is that the right directory? thanks troy Juan M. Tula said the following on 3/9/2006 11:56 AM: You must create a file named kicker.do too in the application root. The contents does not matter,

Re: Struts homepage, access to docs

2006-03-09 Thread Michael Jouravlev
Right. Thanks. Should not "Project Documentation" section state something like what you wrote here? Or should it point to the most recent docs of each framework/subproject? Struts site is somewhat cumbersome to navigate, with all these frameworks and fairies... er... dwarfs. On 3/9/06, Niall Pembe

RE: Welcome Page Not Working

2006-03-09 Thread Juan M. Tula
You should put it in the root directory of your application, in the directory containing your WEB-INF directory. -Mensaje original- De: Troy Bull [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 09 de Marzo de 2006 16:13 p.m. Para: Struts Users Mailing List Asunto: Re: Welcome Page Not Wor

Re: invoking method of DispatchAction from within another DispatchAction

2006-03-09 Thread Michael Jouravlev
Instantiate the target action class and call a method on it. Action classes are supposed to be stateless, so it should be irrelevant for you what instance to use. On 3/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > How do I invoke another DispatchAction from one DipatchAction ? > > For e.g >

Re: How to generate form controls dynamically

2006-03-09 Thread Craig McClanahan
On 3/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello Craig, > > thanks for your answer. The phase listener is the correct timepoint for > the > component creation, yet it will be executed repeatedly for each request so > how > can I avoid re-adding components to the view tree? Isn't th

Struts / Tiles Caching No Frames and Inter Tile communication

2006-03-09 Thread Norm
Hi all, We are considering using a struts/tiles approach for a new project. Its assumed its going to have a "portal" look and feel to it i.e. lots of seperate little windows providing distinct functionality. I want to avoid using frames, but I am very concerned with refreshing the whole screen w

[OT]How Come My Image File is Surrounded by a Box?

2006-03-09 Thread Caroline Jen
I am trying to display an image. The image is displayed successfully; however, there is a box (I do not have a clue where the box comes from) surrounding the image. I cannot get rid of the box. The image is a link; therefore, it leads me to think that the box may be the 'underline' of the link (

RE: [OT]How Come My Image File is Surrounded by a Box?

2006-03-09 Thread Kalcevich, Daniel
Try specifying border="0" on the image tag. -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 2:02 PM To: user@struts.apache.org Subject: [OT]How Come My Image File is Surrounded by a Box? I am trying to display an image. The image is display

Problem Solved !!!RE: [OT]How Come My Image File is Surrounded by a Box?

2006-03-09 Thread Caroline Jen
Thanks a lot, Daniel. border="0" works!!! --- "Kalcevich, Daniel" <[EMAIL PROTECTED]> wrote: > Try specifying border="0" on the image tag. > > -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 09, 2006 2:02 PM > To: user@struts.apache.org > Subje

Re: [OT] TheServerSide Java Symposium

2006-03-09 Thread Dakota Jack
You must have a very small book. > > In my book, as long as it has the three basic principles of encapsulation, > inheritance and polymorphisms, it is object oriented. Microsoft has > claimed less > was OOP for years. > > Gary -- "You can lead a horse to water but you cannot make it float on

about Junit

2006-03-09 Thread gomathi
Hi how to test java application in junit.Is there is any example for test.how to give each class into junit for testing kindly regrads gomes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RE: about Junit

2006-03-09 Thread Roy, Ansuman
Is your java application a web based or swing based. If it's web based and struts based then the struts test case can help you. But if it's swing based then extended junit frameworks like abbot can help. And if it is pure java classes that you want to test then directly go for junit framework,

Using Filters with Struts?

2006-03-09 Thread starki78
Hi I made thoughts about filters (javax.servlet.Filter) e.g. use them for logging and performance measuring purposes. Now as we are using struts I would like to know if you can, and if it makes sense to assign a filter to an action. Can someone help me understand if this might be a good solution?

RE:

2006-03-09 Thread Zsolt
escapeXml="true" is default, thus it is not necessary. My question is why title="" does not automatically do escaping. Zsolt >-Original Message- >From: Jared Blitzstein [mailto:[EMAIL PROTECTED] >Sent: Thursday, March 09, 2006 2:56 PM >To: Struts Users Mailing List >Subject: Re: >Well f