deploy struts-blank failed

2006-02-08 Thread unplug
HI, After installing tomcat, I try to put the struts-blank.war to the $CATALINA_HOME/webapps. Tomcat try to deploy the struts-blank.war but failed with the following error in the log. I wonder why tomcat can't find javax/servlet/http/HttpServlet as it is in the $CATALINA_HOME/common/lib and it i

Re: Struts internationalization best practices

2006-02-08 Thread Torgeir Veimo
On Wed, 2006-02-08 at 20:31 -0800, Keith Fetterman wrote: > > I have researched this issue all day on the Web, and have found no > information that addresses these issues. I have also looked at > several > books and they don't address them either. > > Please share your experiences and practice

Struts internationalization best practices

2006-02-08 Thread Keith Fetterman
We could use some help from people that have experience internationalizing their Struts applications. I'd like to find out what the best practice is for handling these three cases: 1. One or more large paragraphs of text. 2. Text that has markup language or HTML tags mixed in, for example im

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Dave Newton
Keith Sader wrote: >> But, I didn't know what to do with more complex messages, which may be >> multiple paragraphs, with HTML, images, links, etc. And may contain >> Struts/JSTL tags too.[...] >> In that directory, we place JSP files that contain the more complex >> messages. In the Application

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Keith Fetterman
Keith, I've done a lot of searching and reading since my last post and you are correct. But, it has left me wondering what others are doing about mixing markup language and text. Do they put the markup language in the resources file or breakup the text into chunks and leave the markup in t

Re: [other] Borland want to sell its IDE products.....

2006-02-08 Thread Martin Gainty
phillipe kahn- Martin- - Original Message - From: "Legolas Woodland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, February 08, 2006 5:55 PM Subject: [other] Borland want to sell its IDE products. Hi just look at http://blogs.borland.com/davidi/archive/200

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Keith Sader
> > Ok, since this app is internationalized, I'm guessing you have your > > .en, .fr, etc. files all ready to go? If I'm reading this right, it > > looks like your app needs an internationalization effort put into it? > > Maybe I misread. > > That is correct. As we cut over to Struts, we have bee

How to indicate current page to the user

2006-02-08 Thread J T
I have a struts/tiles app that has a navigation pane which renders navbar.jsp. My user would like the current page to be highlighted in bold. So for example if the user is on page two the navbar would look like this: page1 page2 page3 page4 ... This is similar to breadcrumb like functionality (th

[other] Borland want to sell its IDE products.....

2006-02-08 Thread Legolas Woodland
Hi just look at http://blogs.borland.com/davidi/archive/2006/02/08/23013.aspx it say that borland is going to sell its IDEs , what will happen next ? who will buy jdeveloper ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-08 Thread Jörg Liegler
Your problem reminded me of a similar situation - an actionlistener was not called because the form was not submitted, hence it skipped to decode all its child or facets. My hint is to set a breakpoint on javax.faces.component.UIForm inside processDecodes. Jörg

RE: show single html:error message for multiple fields validation

2006-02-08 Thread kalpesh modi
You can do something like this: HTH. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

RE: show single html:error message for multiple fields validation

2006-02-08 Thread George.Dinwiddie
Maybe something like: > -Original Message- > From: fea jabi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 08, 2006 3:24 PM > To: user@struts.apache.org > Subject: RE: show single html:error message for multiple > fields validation > > > yes, I've seen this. but not really sur

RE: show single html:error message for multiple fields validation

2006-02-08 Thread fea jabi
yes, I've seen this. but not really sure how to check is there are any errors and then display the message. --- displays all the errors. How to display a single message when errors are there? How to check if there are any html:errors? I don't see any "size" kind of thing in it.

RE: show single html:error message for multiple fields validation

2006-02-08 Thread kalpesh modi
You can do something like this: HTH. - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Keith Fetterman
Keith Sader wrote: On 2/8/06, Keith Fetterman <[EMAIL PROTECTED]> wrote: OrderRulesBean.getSmallOrderFeeLimit() This static method is returning a property from a properties file that will be included in a message to the user. This class provides a convenient way for java classes to reference

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Keith Fetterman
[EMAIL PROTECTED] wrote: Keith Fetterman asked: Is there is a direct way to access the static method without fetching it from request scoped variable or object? Why not use an application-scoped object (and non-static method)? I haven't thought of that. :) In my 6 years of working Serv

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Keith Sader
On 2/8/06, Keith Fetterman <[EMAIL PROTECTED]> wrote: > > OrderRulesBean.getSmallOrderFeeLimit() > > This static method is returning a property from a properties file that > will be included in a message to the user. This class provides a > convenient way for java classes to reference a single inst

RE: Accessing static methods from Struts/JSTL

2006-02-08 Thread George.Dinwiddie
Keith Fetterman asked: > Is there is a direct way to access the static method without > fetching it > from request scoped variable or object? Why not use an application-scoped object (and non-static method)? - To unsubscribe,

Re: [shale] clay could catch recursive references

2006-02-08 Thread Gary VanMatre
>From: Ryan Wynn <[EMAIL PROTECTED]> > > I just stumbled upon a problem that clay might be able to catch. > > The scenario is that one clay component references a clayJsfid that > includes a reference to an already included clayJsfid. The result is > a out of memory exception because clay goes

[shale/JSF] hosting recommendations?

2006-02-08 Thread Garner, Shawn
I was thinking of buying some hosting for a website for my business/projects. I would like to experiment with JSF and Shale and was wondering what others recommended. I was thinking maybe http://www.eapps.com/ because I could get the Tomcat hosting (Virtual Hosting Pla

html:options whith a HashMap

2006-02-08 Thread José María Tristán
Hi, I have an application whith a html:options whith two ArrayList to see the "name"(arrayCodigo) and the "label" (arrayDescripcion) Is possible do the same whith a HashMap (key-value)?. How i say to html:options that t

Re: disabled form fields

2006-02-08 Thread [EMAIL PROTECTED]
Thanks. And thanks for pointing me to the html specification. The obvious place to go for an answer, duh! --- On Wed 02/08, Angelo zerr < [EMAIL PROTECTED] > wrote: From: Angelo zerr [mailto: [EMAIL PROTECTED] To: user@struts.apache.org, [EMAIL PROTECTED] Date: Wed, 8 Feb 2006 18:54:42 +01

[shale] clay could catch recursive references

2006-02-08 Thread Ryan Wynn
I just stumbled upon a problem that clay might be able to catch. The scenario is that one clay component references a clayJsfid that includes a reference to an already included clayJsfid. The result is a out of memory exception because clay goes into a infinite loop. With the nature of clay usin

Re: disabled form fields

2006-02-08 Thread Angelo zerr
Hi, yes it's normal. HTML input which are disabled can be not post by form. This behaviour is not because of Struts , with anywhere technologie (PHP, ...), HTML inputs which are disabled can be not post by form. See HTML specification at http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12.1

disabled form fields

2006-02-08 Thread [EMAIL PROTECTED]
I've got a form where a bunch of fields are disabled. It appears that these disabled fields are not being autopopulated to my actionform. Is this possible? ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ---

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Keith Fetterman
Keith Sader wrote: > IMO this is a design smell of the presentation layer. Maybe. And from the name of the class, I can see why you questioned that. OrderRulesBean.getSmallOrderFeeLimit() This static method is returning a property from a properties file that will be included in a message to t

RE: show single html:error message for multiple fields validation

2006-02-08 Thread George.Dinwiddie
http://struts.apache.org/struts-taglib/tagreference-struts-html.html#htm l:messages > -Original Message- > From: fea jabi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 08, 2006 10:14 AM > To: user@struts.apache.org > Subject: RE: show single html:error message for multiple > fiel

RE: [shale] Clayforeach tag

2006-02-08 Thread Gary VanMatre
From: <[EMAIL PROTECTED]> > Hi > > While doing so I discovered that I had a Typo: > value="[EMAIL PROTECTED]> << Note the wrong ending. Changing > that to ->" and it works :) > Good deal. I looked again at the symbol replacement and it's working. > Sorry for shooting to early. The beh

Trouble processing JSP containing variable number of parameters

2006-02-08 Thread billy
I'm trying to capture a variable number of records from a JSP page and place those records into an ArrayList in a form bean. I know I should be able to figure it out, but I'm stuck. My jsp page contains:

RE: show single html:error message for multiple fields validation

2006-02-08 Thread fea jabi
can someone help me with this please? Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: show single html:error message for multiple fields validation Date: Tue, 07 Feb 2006 11:07:03 -0500 I have a table. Have editors in it.

RE: [shale] Clayforeach tag

2006-02-08 Thread hermod.opstvedt
Hi While doing so I discovered that I had a Typo: value="[EMAIL PROTECTED]> << Note the wrong ending. Changing that to ->" and it works :) Sorry for shooting to early. The behaviour was still weird though. Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent

RE: [shale] Clayforeach tag

2006-02-08 Thread Gary VanMatre
>From: <[EMAIL PROTECTED]> > > Hi > > I tested it and I am getting a weird result: My main page gets rendered > several > times and the block for the clayForEach is not rendered. > > The set up is a working Clay template with the following block in it: > >value="[EMAIL PROTECTED]"> >

RE: help for file upload

2006-02-08 Thread George.Dinwiddie
Debendra Barik > Now the matter is how do i store uploaded file into company > bean logo filed and send it to the database by calling > nsertCompany(Company company) method. And again how do i > retrive it and store in the CompanyAction form logo field to > show in the GUI. Anybody can suggest

RE: Writing Filters

2006-02-08 Thread George.Dinwiddie
chuanjiang lo asked: > > Is it the correct way to implement session management using > filters? I'm rather new to structs and i would like to know > is there any good sites or tutorials i can refer on writing filters? > what does the url-pattern do? > > and in the codes > filterChain.doFilter(

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Nicolas De Loof
You can use jakarta unstandard taglib. (http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/intro.html) I use it to access const from JSP. : <%@ taglib prefix="u" uri="http://jakarta.apache.org/taglibs/unstandard-1.0"; %> Base Nico. Keith Sader a écrit : IMO this i

Re: Accessing static methods from Struts/JSTL

2006-02-08 Thread Keith Sader
IMO this is a design smell of the presentation layer. My suggestion would be to refactor these items down to the 'business-layer' and then have your actions put the results of that layer into the form/display bean. Then the .jsp could just look like There may be more to this with your particula

Writing Filters

2006-02-08 Thread chuanjiang lo
Hi, Just a few question. Is it the correct way to implement session management using filters? I'm rather new to structs and i would like to know is there any good sites or tutorials i can refer on writing filters? http://marc.theaimsgroup.com/?l=struts-user&m=110624445418289&w=2 Im looking at t

RE: [shale] Clayforeach tag

2006-02-08 Thread hermod.opstvedt
Hi I tested it and I am getting a weird result: My main page gets rendered several times and the block for the clayForEach is not rendered. The set up is a working Clay template with the following block in it: Story Title Story body - reduced for simplicity a clay templat

[OT] Re: Struts 1.1 issue (myEclipse+Jboss 3.2.5+SQL Server 2000)

2006-02-08 Thread Dave Newton
Jitendra Kumar wrote: > Using the above I simply want to print the records of any table in my SQL > Server 2K DB. > > The problem: > I am not able to do the above. I have tried changing some files in Jboss. I > have copied some jars of DB Drivers in WEB-INF/lib folder etc. > http://www.catb.org

[OT] Re: Saving a HTML screen data as a Word doc.

2006-02-08 Thread Dave Newton
Anjishnu Bandyopadhyay wrote: > I have another problem. I am displaying an image thru the tag in > the JSP. Now, I want to display this image in the MS Word document that > is generated. > > Any idea how this can be accomplished? > I'd try asking on a mailing list or newsgroup related to MS Wor

Re: How to use checkbox in struts.

2006-02-08 Thread Joey Watson
Thanks everybody, I followed the method that Vidya told me. it can work well. and Robert , you can send Vidya's letter to the programer , if still unsuccessful you can tell me. I will make a demo for you. Thanks again. Joey.

Struts 1.1 issue (myEclipse+Jboss 3.2.5+SQL Server 2000)

2006-02-08 Thread Jitendra Kumar
I am writing this mail after spending a lot of time struggling with the stuff mentioned in subject line. My Setup 1. myEclipse IDE 2. Struts Version 1.1 3. JDK 1.5 4. Jboss 3.2.5 (Please don't ask me to go to Jboss mailing list :-( ) 5. SQL Server 2000 (This server is running on a remote win 200

help for file upload

2006-02-08 Thread Debendra Barik
Hello, can anybody help me, i have a problem in uploading file into mysql database. I am not getting the right way how to do it. Here i am giving some details about my ActionForm, javaBean and database table //CompanyForm(ActionForm) has a member variable and setter/getter private FormFile logo;

Re: IE Caching problem..Struts Application Working fine in Firefox

2006-02-08 Thread Letícia Álvares Barbalho
maybe you can show us a little bit of the code? On 2/7/06, zahid mohammed <[EMAIL PROTECTED]> wrote: > > Thanks Leticia.I have tried to deceive the browser by appending a > parameter which has a random number this way > > /GetOtherSet.do?rand='+parseInt(Math.random()*); > > BUT IT

RE: Problem whith a arrayList and a html:option

2006-02-08 Thread José María Tristán
Hi, This is ok. My application now capture data. Thank you very much. With best regards. -Mensaje original- De: Anjishnu Bandyopadhyay [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 08 de febrero de 2006 5:34 Para: Struts Users Mailing List Asunto: RE: Problem whith a arrayList and a

Re: [HELP] Problem when update 1 unicode form

2006-02-08 Thread Pham Anh Tuan
again, plz help me! - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, February 07, 2006 4:30 PM Subject: [HELP] Problem when update 1 unicode form hi all, I got a problem when I update unicode form :( so, I have already te