Tiles - Specify Error page ?

2004-04-13 Thread Janarthan Sathiamurthy
Hi, I am using Tiles that comes bundled with struts1.1. I have a main template file for my jsp's. All my jsp's have a left navigation, a header section, a footer section and a content section. Given a jsp page, I have a main tiles file in which i specify these settings. I want to specify an error

redirecting XML/XSLT to JSP or Vice Versa

2004-04-13 Thread alana
Hi In the application I am working with data is in the form of XML for some screens .But since the architecture uses beans and jsp.I was wondering how to integrate JSP/Struts Architecture with XSLT/XML. My requirement is either transform the xsl template to JSP or vice versa. XSL/XML -> JSP -> HT

Better peformance: Using static variables or application context object

2004-04-13 Thread Prasad, Kamakshya
Hi All, Performance wise which will be the better way of caching for a web application, using static variables or embedding the object to be cached in the application context object. KP

Re: Adding my own attribute to a forward tag in the struts-config.xml

2004-04-13 Thread wolfgang127us
Hi gurus, I solved my problem. I put the modified struts-config_1_1.dtd back into the struts.jar, then struts doesn't throw exceptions anymore. But is there a way to take the DTD file out of the struts.jar ??? Thank you. ---

SV: toUpperCase() with format attribute of tag

2004-04-13 Thread hermod . opstvedt
Hi Wrap it in a and use the style attribute i.e or better still : externalize the style to a .css file and use Hermod -Opprinnelig melding- Fra: Franz-Josef Herpers [mailto:[EMAIL PROTECTED] Sendt: 13. april 2004 20:49 Til: [EMAIL PROTECTED] Emne: toUpperCase() with format attribute

toUpperCase() with format attribute of tag

2004-04-13 Thread Franz-Josef Herpers
Hi *, is it possible to use the format attribute of the tag to do something like the Java method String#toUpperCase() does with strings? If yes, i would appreciate any hints how to force this behaviour. Thanks in advance. Regards Franz -

Re: How can I concatenate bean properties in html:optionsCollection output?

2004-04-13 Thread bOOyah
James Mitchell wrote: You should do this in your action prior to forwarding to your jsp. Thanks James - I suspected as much. :-\ -- bOOyah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

toUpperCase() with tag

2004-04-13 Thread Franz-Josef Herpers
Hi *, is it possible to force the behaviour of the method String#toUpperCase() (i.e: "ics" => "ICS") with the format attribute of the tag? If yes, i would appreciate any hints how to do it? Thanks in advance Franz - To unsubsc

Re: Slightly OT How to set a request header using JSTL

2004-04-13 Thread Craig McClanahan
Michael McGrady wrote: Couldn't he wrap the response object inside a getter/setter facade? I suppose one could do that, and even stick it (the response object) into the request attributes to make it visible to the EL via the "requestScope" magic variable. But a property setter only takes a si

Problem with BeanUtils

2004-04-13 Thread YOUSFI
Hi all, I'm trying to use BeanUtils (I have the same problem with PropertyUtils) to read dynamically a bean property. But it does not work. I think I'm missing some thing very impportant. I have a bean wuith some properties(see below TypAbonne.java). When I pass a bean instance of this classand th

Re: [OT] Overloaded setters in JavaBeans

2004-04-13 Thread Gogineni, Pratima
Hi, I ran into the same problems of overloaded setters in particular for indexed properties. I have created a short Note based my observations if it is of any help to other users. Please comment/correct/add to the note... Also i think the design patterns for list based indexed properties is ver

[Struts Workflow]

2004-04-13 Thread Horacio Zapata
I'm new in the use of WorkFlow Extension, i need more information about of how setup the properties in the action. Where find more tutorials, examples, information about WorkFlow Extension? Thanks. Ing. Horacio Zapata Morales _ Do You Yaho

Hopefully a common Validation error

2004-04-13 Thread Patrick
Hello, Thank you for taking the time to look at my post. Any help would be greatly appreciated. I am having a problem with struts validation. It seems everything is working GREAT as far as the javascript being created and working fine for the rules of my validation. The problem I am having

problem sending data to velocity view

2004-04-13 Thread ali
i use JBuilderX visual designer for struts. my problem is to send an array of objects to the view layer(which is velocity). i have tried many approaches like passing by request parameter, using struts-velocity tools but i failed to get them in the view. anybody knows any solution?

Cannot find Struts Studio model element

2004-04-13 Thread Patrick
Has anyone encountered this error when trying to create a new Properties file in Strust Studio? I think this is my problem because everything with my client side validation works fine except my error messages are not being passed to the javascript. Here is the javascript being created to show

Tool for HTML/JSP formatting

2004-04-13 Thread walkrustin
Does anyone know of any good tool for formatting HTML/JSP code? thanks. - walk rustin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Jasper error

2004-04-13 Thread Karr, David
As Wendy indicates, you should just use "html:hidden" for this. However, the error in your code is because you have nested double quotes. Change it to this to avoid the error: It's also noteworthy that you managed to find a small bug in the Tomcat code, in that the error key "jsp.error.attribu

Problem in org.apache.struts.scaffold.FindForwardAction

2004-04-13 Thread walkrustin
I am trying to use FindForwardAction using scaffold package. Struts-config.xml is: My JSP code is : Search New But I am getting following exception. Any idea. thanks. - walk rustin. javax.servlet.ServletException:

RE: Date validator and I18N

2004-04-13 Thread Joe Hertz
Yes, you can get the dates validated this way, but isn't actually the tough hurdle. You've got Date objects being stored some place. You'll need them displayed as Strings in your Action Form. You'll need them formatted by Locale. You'll want want the Strings converted back to Dates in the proces

Re: Slightly OT How to set a request header using JSTL

2004-04-13 Thread Michael McGrady
Couldn't he wrap the response object inside a getter/setter facade? At 06:56 PM 4/13/2004, Craig McClanahan wrote: Jim Collins wrote: Hi Craig, Thanks for your response. I wanted to set the header in the JSP page itself. At the moment I set the header using a scriptlet (as you described in your

Re: Slightly OT How to set a request header using JSTL

2004-04-13 Thread Craig McClanahan
Jim Collins wrote: Hi Craig, Thanks for your response. I wanted to set the header in the JSP page itself. At the moment I set the header using a scriptlet (as you described in your post) but I would like to disable scriptlets in my JSP pages. I was playing around with the EL and could print out t

Re: Https forwarding question

2004-04-13 Thread Bill Siggelkow
I know of two ways -- If you are using the Struts SSL Extension (http://sslext.sourceforge.net) you can specify if an action requires HTTPS or not in the struts-config.xml; otherwise, you will need to use absolute URLs for the 'href' attribute and specify the protocol explicitly. Erez Efrati wr

Nesting of one tag within another.

2004-04-13 Thread Velmurugan M
Can someone mail me how to convert this piece of code in to Html:link. )"> Struts tag should not be nesting another struts tag. Regards, Velmuruganm

Re: [struts] Re: [OT] Compression Filter

2004-04-13 Thread Niall Pemberton
Firstly I have to say we haven't yet deployed it yet. I did dig into it to try and find if I could output some statistics on how much bandwidth the compression was saving, but I got lost and gave up ;-) We have a number of sites who don't have great connections and testing with them the improvement

Re: Date validator and I18N

2004-04-13 Thread Niall Pemberton
In your validation.xml you can define different formsets for different localle by specifiying language/country/variant attributes Means you have to duplicate your validation rules for each language in Struts 1.1 - however the latest nightly build of validator includes an "inheritance" featur

RES: [struts] Re: [OT] Compression Filter

2004-04-13 Thread Paulo Alvim
Hi Niall, Did you measure the ration between "processor overhead (to compress) x bandwith gains"? I'd like to have an idea if it would be good in general... -Mensagem original- De: Niall Pemberton [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 13 de abril de 2004 11:28 Para: Struts Us

RE: Date validator and I18N

2004-04-13 Thread Jeff Caesar
I haven't personally tried doing this, but according to the doc you can specify language/country/variant on the formset when defining your validation so that the validator will choose the best one available for the given user's locale. >From the validator DTD: So you would want to create fou

Re: [OT] Session end notification

2004-04-13 Thread Pani R
Check javax.servlet.http.HttpSessionListener interface. -Pani -- - Original Message - DATE: Tue, 13 Apr 2004 15:51:58 From: Chiming Huang <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Cc: >Hi, > >Is there a way to get a notification when a session

[OT] Session end notification

2004-04-13 Thread Chiming Huang
Hi, Is there a way to get a notification when a session is ended? Thanks, Chiming - Do you Yahoo!? Yahoo! Tax Center - File online by April 15th

RE: [slightly OT] defensive strategy

2004-04-13 Thread Andrew Hill
hehe. Glad to be of service. :-) -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 April 2004 06:14 To: Struts Users Mailing List Subject: Re: [slightly OT] defensive strategy You're right, that's exactly what they're for and I do use them for normal trans

Re: Slightly OT How to set a request header using JSTL

2004-04-13 Thread Jim Collins
Hi Craig, Thanks for your response. I wanted to set the header in the JSP page itself. At the moment I set the header using a scriptlet (as you described in your post) but I would like to disable scriptlets in my JSP pages. I was playing around with the EL and could print out the headers using thi

Re: [slightly OT] defensive strategy

2004-04-13 Thread Adam Hardy
You're right, that's exactly what they're for and I do use them for normal transactions - it just took a paradigm shift for me to recognise this voting process as a transaction! On 04/13/2004 10:42 PM Andrew Hill wrote: I could look at weaving the code for the struts transaction token into my J

Date validator and I18N

2004-04-13 Thread Stjepan Brbot
In my web application I deal with three languages (Croatian, German and English). Application does have forms allowing user to input a date value. When english locale is active user must have the ability to insert date in english date format (mm/dd/), also croatian and german users must have

Https forwarding question

2004-04-13 Thread Erez Efrati
This might be a simple question but it's a first time for me. How do I forward using the tag to an action that must be addressed with HTTPS as the protocol scheme? Thanks, Erez

Re: Slightly OT How to set a request header using JSTL

2004-04-13 Thread Craig McClanahan
Jim Collins wrote: Hi, Has anyone any thoughts on this? The "header" object relates to the *request* headers. You can set *response* headers in a number of ways: * (Servlet 2.3 or later) in a Filter that wraps and postprocesses the response * In your Action (although that only works if yo

Re: [OT] Recommendation on JBoss

2004-04-13 Thread Pani R
Thank you all for the inputs. -Pani -- - Original Message - DATE: Tue, 13 Apr 2004 22:29:59 From: "Jim Collins" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Cc: >You could take a look at Geronimo which is an Apache incubator project. I am >disappoint

Re: [OT] Recommendation on JBoss

2004-04-13 Thread Jim Collins
You could take a look at Geronimo which is an Apache incubator project. I am disappointed in the lack of (free) documentation available for JBoss. Regards Jim. - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, A

Re: Areas

2004-04-13 Thread Erik Price
On Mar 10, 2004, at 10:13 AM, Sergey Livanov wrote: There are control buttons area and data area in my application. Is it possible to make one area unchanged (buttons area) and the other area ( data area ) dinamically loaded from the server depending on operations? It means that at first the whol

Re: [OT] Recommendation on JBoss

2004-04-13 Thread Adam Hardy
JBoss force you to pay outrageous amounts for their documentation. Well, OK, 10 bucks. But I was outraged that it was not free. ;) On 04/13/2004 06:31 PM Smith, Darrin wrote: There are a few comparisons with other app servers that you can get for free on the Internet. Just do a Google search. A

RE: [slightly OT] defensive strategy

2004-04-13 Thread Andrew Hill
I could look at weaving the code for the struts transaction token into my JSP. It's already so ugly, it won't make much difference to the aesthetics of the page. Could be worth a go as it looks like you might have to serve up something to be submitted back as proof of valid browsing anyway, and

Re: TIles Problem

2004-04-13 Thread Erik Price
On Apr 13, 2004, at 12:35 AM, Amanpreet Singh wrote: All, I am new to Tiles and getting this error after setup of the framework with tileDEfinitions. Can some body help me out? I had problems similar to this, solved by copying over the appropriate jars to the WEB-INF/lib directory. If you're n

Re: [slightly OT] defensive strategy

2004-04-13 Thread Adam Hardy
Could do, could do. However the voting form doesn't appear on any of my HTML pages - it appears as snippets in other people's HTML on external 3rd party websites, courtesy of

Re: Slightly OT How to set a request header using JSTL

2004-04-13 Thread Jim Collins
Hi, Has anyone any thoughts on this? Thanks Jim. - Original Message - From: "Jim Collins" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, April 06, 2004 10:10 PM Subject: Slightly OT How to set a request header using JSTL > Hi, > > I know how I c

Overloaded setters in JavaBeans & Access through Struts Tags

2004-04-13 Thread Gogineni, Pratima
Apologies if this was already posted. I requested the digest as well as looked at the archives & didnt find the below message. So Im assuming it did not get posted. > -Original Message- > From: Gogineni, Pratima > Sent: Monday, April 12, 2004 4:59 PM > To: '[EMAIL PROTECTED]';

RE: Jasper error

2004-04-13 Thread Slattery, Tim - BLS
>name="teacher" > property="id" > value="${teacher.id}" /> You still don't need the value attribute. Assuming that "teacher" is your form bean, you don't need the "name" attribute either. -- Tim Slattery [EMAIL PROTECTED] ---

Re: Jasper error

2004-04-13 Thread Mark Lowe
On 13 Apr 2004, at 18:09, as as wrote: I just changed Html:hidden to html-el:hidden as follows: I did note the valuable suggestions provided by archive members about not needing to specify value above..and just use I am running the whole large app now so hopefully there is no r

RE: Email Validation

2004-04-13 Thread Andrew Hill
Strewth! Remind me never to open a message on regexp at 3am again. Thought I was reading a lisp forum by mistake. ;-) Reckon that one must have taken a while to come up with! -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 April 2004 02:50 To: Struts Us

Views and applets -newbie

2004-04-13 Thread Kristian Hellquist
Hi! I'm currently learning struts and I have a simple question about applets and struts. I have searched the web and looked different FAQs but haven't found a clear answer. Is there any nice way of incorparing an applet with the struts-controller, or do the applet need to send a redirect to the

RE: Email Validation

2004-04-13 Thread Richard Yee
Try this instead, /^(([^<>()[\]\\.,;:[EMAIL PROTECTED]"]+(\.[^<>()[\]\\.,;:[EMAIL PROTECTED]"]+)*)|(\".+\"))@((\[[0-9]{1 ,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}) )$/ -Richard --- Ramadoss Chinnakuzhandai <[EMAIL PROTECTED]> wrote: > look like it accepts some

RE: Email Validation

2004-04-13 Thread Ramadoss Chinnakuzhandai
look like it accepts some invalid email address eg. [EMAIL PROTECTED],[EMAIL PROTECTED] -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 2:12 PM To: 'Struts Users Mailing List' Subject: RE: Email Validation Whoops. Should have read the very botto

RE: Email Validation

2004-04-13 Thread Joe Hertz
Whoops. Should have read the very bottom. What's wrong with the built in email validator? (I'm using it, so I definitely want to know :-) You might want to look at the mask it uses for some insight. > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April

RE: Email Validation

2004-04-13 Thread Joe Hertz
Why not use the built in email validator?? In your validation.xml: depends=email > -Original Message- > From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 13, 2004 12:55 PM > To: [EMAIL PROTECTED] > Subject: Email Validation > > > Hi, > I'm usi

RE: reading and posting

2004-04-13 Thread Slattery, Tim - BLS
> website address please... > 'to access thunderbird... http://www.mozilla.org/products/thunderbird/ -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: reading and posting

2004-04-13 Thread as as
website address please... 'to access thunderbird... thanks Bill Siggelkow <[EMAIL PROTECTED]> wrote: I am using Thunderbird pointing to the GMANE newsgroup for this mailing list -- it works great. Jarnot Voytek Contr AU/SC wrote: > Outlook express doesn't want to send/receive messages from this

RE: [slightly OT] defensive strategy

2004-04-13 Thread Daniel Perry
Thats not a bad idea. Not entirely foolproof, but would take a significant amount of work to cheat the system, and would probably put any cheating attempts off. One suggestion i would have, is that a good stratergy (as with most security issues) is to give away as little information as possible.

Re: How can I concatenate bean properties in html:optionsCollection output?

2004-04-13 Thread James Mitchell
You should do this in your action prior to forwarding to your jsp. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. http://www.EdgeTechServices.net/ 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] Yahoo IM:[EMAIL PROTECTED] - Original Message - From: "bOOya

Email Validation

2004-04-13 Thread Ramadoss Chinnakuzhandai
Hi, I'm using custom email validation using mask defined in my validation.xml...when I enter an invalid email as [EMAIL PROTECTED] it fails to validate the . (dot symbol infront of xyz.com) as a invalid one though I metioned expression value must be of [A-Z0-9a-z] after @ Following is

RE: Problem with BeanUtils

2004-04-13 Thread Hubert Rabago
Maybe posting the actual BeanUtils call would help. --- Andrew Hill <[EMAIL PROTECTED]> wrote: > Its wierd. Your code looks like it should work! > Ive not had time to try running it myself but really it looks ok. hmmm. > The code you pasted for TypeAbone is the entire source for that class yes? >

Re: reading and posting

2004-04-13 Thread Bill Siggelkow
I am using Thunderbird pointing to the GMANE newsgroup for this mailing list -- it works great. Jarnot Voytek Contr AU/SC wrote: Outlook express doesn't want to send/receive messages from this mailing list, but does work otherwise? Doesn't make sense. -Original Message- From: news [mai

RE: [slightly OT] defensive strategy

2004-04-13 Thread Andrew Hill
Actually I think I may have a solution now, to exclude scripted votes - I shall just put a flag in the session to show that the user has actually called up the HTML to see the vote. That way, any script which fires a submit at the voting system will be rejected since it didn't first instantiate a

Re: FW: override isUserInRole

2004-04-13 Thread Bill Siggelkow
Look into SecurityFilter (http://securityfilter.sourceforge.net). MOHAN RADHAKRISHNAN wrote: I am sending this once more. Sorry if you have already seen this. Mohan -Original Message- From: MOHAN RADHAKRISHNAN [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 9:04 PM To: [EMAIL PROT

RE: Jasper error

2004-04-13 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > I just changed Html:hidden to html-el:hidden as follows: > This isn't going to work... means you can use an expression such as ${teacher.id} . You STILL cannot put a tag inside of a tag. Is your property 'ID' or 'id'? You keep switching it back and

RE: Jasper error

2004-04-13 Thread Andrew Hill
tend to steer clear of using properties like ID, URL, HTML, etc... Ive adopted the convention of always treating them as though they are just words rather than acronymns. ie: getHtml() { return _html; } getUrl() getId() etc... If you can get whoevers doing the other layers to follow such a co

RE: Jasper error

2004-04-13 Thread Robert Taylor
Have you tried this? The other option is to populate your form in the action which is called prior to displaying this page. If you do this, then you can simply just use: If you are still having problems, you might consider changing your property "ID" to "id". The JavaBean spec might be funny

RE: [OT] Recommendation on JBoss

2004-04-13 Thread Smith, Darrin
There are a few comparisons with other app servers that you can get for free on the Internet. Just do a Google search. As for me, I like JBoss, but you can expect to pay for training as the manuals they have don't give you everything you need to know (IMHO). -Original Message- From

[OT] Recommendation on JBoss

2004-04-13 Thread Pani R
Hi All: I would like to have some piece of advise from JBoss experts / users. We are planning to go for a EJB based solution on an existing presentation layer developed using Strtuand contemplating on which App. Server to use for Produciton. As always, cost in the main constraint but also, not

RE: Jasper error

2004-04-13 Thread Slattery, Tim - BLS
> I just changed Html:hidden to html-el:hidden as follows: > I don't think so. This still is nesting tags, and it still won't work. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

How can I concatenate bean properties in html:optionsCollection output?

2004-04-13 Thread bOOyah
Hi again I'm doing this: I'd like the label string to be a concatenation of the value plus the label attribute. Sort of like this: Is there a Struts tag I can use, or do I have to doctor the beans in the underlying options collection? Thanks. -- bOOyah ---

RE: Jasper error

2004-04-13 Thread as as
I just changed Html:hidden to html-el:hidden as follows: I did note the valuable suggestions provided by archive members about not needing to specify value above..and just use I am running the whole large app now so hopefully there is no run time error too Previously I was getti

Re: [slightly OT] defensive strategy

2004-04-13 Thread Adam Hardy
On 04/13/2004 12:39 PM McCormack, Chris wrote: Interesting problem. You could implement image tickets, ie for every user that wants to submit a form you generate a random sequence of characters as an obscured image. That's not in the spec, thankfully! I'm only trying to put off the semi-determi

RE: Jasper error

2004-04-13 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > Thanks all > I started using html-el tags and seems to run fine. What was your solution? For the archives if nothing else... It's very frustrating to find a thread with the *exact* problem you are facing, only to find that it ends with "Thanks, it's fixe

RE: reading and posting

2004-04-13 Thread Jarnot Voytek Contr AU/SC
Outlook express doesn't want to send/receive messages from this mailing list, but does work otherwise? Doesn't make sense. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of sean jones > Sent: Tuesday, April 13, 2004 8:28 AM > To: [EMAIL PROTECTED] > Subject: reading an

RE: Jasper error

2004-04-13 Thread as as
Thanks all I started using html-el tags and seems to run fine. btw i am a "she". :-) Andrew Hill <[EMAIL PROTECTED]> wrote: lol. Good point Tim, - I should have read his code closer before I told him to use a scriptlet. -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED

RE: Problem with BeanUtils

2004-04-13 Thread Andrew Hill
Its wierd. Your code looks like it should work! Ive not had time to try running it myself but really it looks ok. hmmm. The code you pasted for TypeAbone is the entire source for that class yes? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 13 April 20

RE: Problem with BeanUtils

2004-04-13 Thread YOUSFI
Yes I'm quite sure the object is an instance of my class TypAbonne. I added some thing like a System.out.prinln("obj=" + obj) in my method getLibelle and I received [EMAIL PROTECTED] I think getClass() and getBytes() are common to all java Object. thx in davance for help -Message d'origine

Adding my own attribute to a forward tag in the struts-config.xml

2004-04-13 Thread wolfgang127us
Hi gurus. I added my own attribute to forward tags and modified some struts source codes. The forward tag is like below ( the attribute "user" is my own attribute) when I start tomcat, it works fine as I expect with the modified struts source code. But in the log(log4j) file, I get the fo

RE: Jasper error

2004-04-13 Thread Avinash Gangadharan
It won't work that way, you've got to use the -el tags for such a thing. Moreover just specifying the property should suffice for population of the hidden field , you would not need to explicitly do it using the bean tag unless there is some other issue that makes you do it. IN that case: ---

RE: Jasper error

2004-04-13 Thread Slattery, Tim - BLS
> Wendy, > > Yes I did try using it: > > property="id" />"/> You cannot nest tags, so this will not work. As I said before, you don't need a value attribute, Struts will populate the control from the "id" property of the form bean. If there's really a need to do something like this, the solu

RE: Jasper error

2004-04-13 Thread as as
Wendy, Yes I did try using it: "/> seems it doesnt like two "" may be one of them need to be " it still doesnt work though... Thanks in advance, Sam. Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: as as [mailto:[EMAIL PROTECTED] > [input] > value=""> > need I change the synta

RE: Using GET method to submit form in Struts

2004-04-13 Thread Andrew Hill
request parameters whether submitted as part of a get url or in a post (or even as part of the url to which a form is posted!) can all be read the same way - via the servlet apis request.getparameter() - and thus will also be populated into the action form automatically by struts, so you can transp

RE: Jasper error

2004-04-13 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > property="id" />"/> > Is this syntax right...Thank you! No. You cannot put a tag inside a tag. (Further, I wonder about name="ID" in your tag.) If you really need to do this, then look into the Struts-EL tags and JSTL. But in your case, I really, r

RE: Jasper error

2004-04-13 Thread Andrew Hill
lol. Good point Tim, - I should have read his code closer before I told him to use a scriptlet. -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Tuesday, 13 April 2004 22:43 To: 'Struts Users Mailing List' Subject: RE: Jasper error > property="id" />"/> > Is

RE: Jasper error

2004-04-13 Thread Andrew Hill
Nope! You cant nest tags like that :-( 2 options: 1. Use a scriptlet in place of that bean:write 2. Use struts-el taglibs (or jstl) instead and an expression to do that value attribute (The syntax of both I forget however as I dont use JSP myself) -Original Message- From: as as [mailto:[

Using GET method to submit form in Struts

2004-04-13 Thread Shyamal Shah
Can I submit form using GET method? I want to do following: http://mywebsite.com/actionmapping.do?serviceid=M12221 My question is, if I set action type as GET and then submit it, how will my action class read the serviceid value? Thanks _

RE: Jasper error

2004-04-13 Thread Slattery, Tim - BLS
> property="id" />"/> > Is this syntax right...Thank you! No need for the "value" attribute< since Struts will get the initial value from the form bean. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PRO

Re: [OT] Compression Filter

2004-04-13 Thread Niall Pemberton
I've used the compression filter that comes with the Tomcat examples and works fine with struts: http://www.mail-archive.com/[EMAIL PROTECTED]/msg94432.html Niall - Original Message - From: "Matt Sgarlata" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tue

RE: Jasper error

2004-04-13 Thread as as
"/> Is this syntax right...Thank you! (getting error at this line i my jsp compilation) Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: as as [mailto:[EMAIL PROTECTED] > [input] > value=""> > need I change the syntax... What's wrong with: Is there some reason you're not using the Struts tag

FW: override isUserInRole

2004-04-13 Thread MOHAN RADHAKRISHNAN
I am sending this once more. Sorry if you have already seen this. Mohan -Original Message- From: MOHAN RADHAKRISHNAN [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 9:04 PM To: [EMAIL PROTECTED] Subject: override isUserInRole Hi I am looking for ways to bypass CMA in one ca

Areas

2004-04-13 Thread Sergey Livanov
There are control buttons area and data area in my application. Is it possible to make one area unchanged (buttons area) and the other area ( data area ) dinamically loaded from the server depending on operations? It means that at first the whole page is created and then the data are created and

[OT] Compression Filter

2004-04-13 Thread Matt Sgarlata
Hello everyone, I'm trying to set up a compression filter based on the filter available here: http://www.jspbook.com/code.jsp. It runs fine on Tomcat. It runs fine on Oracle 9iAS for static content and JSPs, but does not work for Struts actions. For Struts actions, the actual ZIP content is

Re: TIles Problem

2004-04-13 Thread Bill Siggelkow
Looks like you are missing some classes (NoClassDefFoundError) -- make sure that your application is packaged and deployed correctly. Amanpreet Singh wrote: All, I am new to Tiles and getting this error after setup of the framework with tileDEfinitions. Can some body help me out? Thanks Amanpre

reading and posting

2004-04-13 Thread sean jones
Is there any other way to read/post messages here besides this web page? outlook express use to work but doesn't anymore, was this intentional? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: Problem with BeanUtils

2004-04-13 Thread Bill Siggelkow
First of all, I assume that you are calling the getProperty method of BeanUtils -- Are you sure that the object you are passing is an instance of your class (TypAbonne) -- from what you indicated it sounds like it is actually a String -- java.lang.String has two "getter" methods -- getClass() a

Storing encrypted passwords for database connection

2004-04-13 Thread Ramil Mirhasanov
In my project I want to encrypt database users' passwords. They can be stored in .properties file or deployment descriptor, maybe. Are there any suggestions how to implement this task? Are there some mechanisms in struts framework that support the encrypted storage of passwords? Thank you in advan

Problem with BeanUtils

2004-04-13 Thread YOUSFI
Hi all, I'm trying to use BeanUtils (I have the same problem with PropertyUtils) to read dynamically a bean property. But it does not work. I think I'm missing some thing very impportant. I have a bean wuith some properties(see below TypAbonne.java). When I pass a bean instance of this classand t

RE: [slightly OT] defensive strategy

2004-04-13 Thread Freddy Villalba Arias
Hi, Just a thought since I have never implemented something like this... I'd prevent users from submitting more than 1 vote from the same IP during a (configurable) period of time. I'd store all votes received in a DB. I'd implement some kind of police-entity, like, for instance, a VoteInspecto

RE: [slightly OT] defensive strategy

2004-04-13 Thread Daniel Perry
There are lots of ways to counter this. The simplest is a combination of session + cookie. Most people wont know how to / have any desire to delete the cookie. IPs are useful, but be careful: - Some of the big ISPs (eg freeserve in the uk) have 'hidden' proxy servers, so if popular you may get mor

RE: [slightly OT] defensive strategy

2004-04-13 Thread McCormack, Chris
Interesting problem. You could implement image tickets, ie for every user that wants to submit a form you generate a random sequence of characters as an obscured image. To enable the user to submit the form they have to visually read and enter the code displayed in the image. A simpler but less

[slightly OT] defensive strategy

2004-04-13 Thread Adam Hardy
Sorry for posting this OT question but I've got an issue that people on this list are very likely to have tackled: I am developing a traditional online survey app, the kind of thing that alot of people must have done. I am wondering how to protect it from script-kiddies who might want to see if

RE: [DisplayTag]How to avoid 'context switching' when sorting col umns

2004-04-13 Thread Paul McCulloch
The attribute you are after is requestURI. Paul > -Original Message- > From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] > Sent: Monday, April 12, 2004 12:21 PM > To: Struts Users Mailing List > Subject: RE: [DisplayTag]How to avoid 'context switching' when sorting > columns > > > I haven

  1   2   >