Tutorial for struts-html.tld

2003-12-29 Thread sajith
Hi   Any idea where I can find some tutorials with code snippets on using the tags contained in struts-html.tld   Best regards, Sajith

RE: PDF file in browser

2003-12-29 Thread shirishchandra.sakhare
Your first point of using xxx to make it open in a new browser is valid.. But the second point i did not get it. Exactly for those situations where the user is prompted for save dialogue box,I have suggested to add the response.addHeader("Content-Disposition", "attachment; filename=" + saveAsF

struts and JDeveloper 9.03

2003-12-29 Thread Kalra, Ashwani
hi, I am working with Jdeveloper and Struts 1.1 When I try to run any page , its not able to find the core action class. struts.jar is lying in lib dir Error is java.lang.NoClassDefFoundError: org/apache/struts/action/Action java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String, by

question about form handling

2003-12-29 Thread dirk
Hello, anybody know how to handle one action, but two forms (one base form + one popup ). When the popup gets closed the base form should be updated with the data from the popup. Anybody has a working example ? Thanks

Re: struts and JDeveloper 9.03

2003-12-29 Thread Adrien GEYMOND
Hello, have you also put the struts.jar library in the Configurations/Libraries of your project settings ? You can access the project settings by double-clicking on you 'project.jpr' in Jdev I hope, it helps you ... - To unsubs

RE: struts and JDeveloper 9.03

2003-12-29 Thread Kalra, Ashwani
Yeah, they are already there. Without this I will not be able to compile my files. and IMO ie for development. >-Original Message- >From: Adrien GEYMOND [mailto:[EMAIL PROTECTED] >Sent: Monday, December 29, 2003 4:30 PM >To: Struts Users Mailing List >Subject: Re: struts and JDeveloper 9.

RE: Design question regarding struts security features

2003-12-29 Thread Robert Taylor
You should be able to do this with standard J2EE security provided by your web container. If you store your user credentials in a database, then you may want to look at SecurityFilter: http://sourceforge.net/projects/securityfilter/ It allows you to leverage standard J2EE security features but p

RE: Testing iterator quantity

2003-12-29 Thread Robert Taylor
Using JSTL tags and assuming you have a collection of elements named "elements" in some scope: robert > -Original Message- > From: Otávio Augusto [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 28, 2003 10:58 PM > To: [EMAIL PROTECTED] > Subject: Testing iterator quantity > > >

Re: dynamic arg0 in bean:message?

2003-12-29 Thread Domingo A. Rodriguez S.
Either escape the double quotes ("" ) or use single quotes ("" ). --- Frank Maritato <[EMAIL PROTECTED]> escribió: > Hi, > > What I want to do is something like this: > >arg0="" /> > > or > >arg0="<%=minChars%>" /> > > Where arg0 is the result of a bean property, but I can't seem t

RE: Design question regarding struts security features

2003-12-29 Thread Mohan Radhakrishnan
Hi Are you only filtering data based on role ? If you are talking about role-based access of views then we are doing something like that 1. You can use Container Manager Authentication and restrict access to URL patterns to only valid users. 2. You can use the vendor-specify XML file

Re: dynamic arg0 in bean:message?

2003-12-29 Thread Nicolas De Loof
Your first example is invalid : " /> A JSP tag cannot be used as attribute value of another tag (XML syntax) This should work : Nico. - Original Message - From: "Domingo A. Rodriguez S." <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, December

Re: question about form handling

2003-12-29 Thread Mark Lowe
I'd approach the problem by thinking about having a child form that popluates a parent form. When you close the window or submit (have a button in noscript tags) the child it fires up an action which copies the values of the child form into the parent. If the parent is scoped to session ChlidF

RE: Struts Validation + Frames

2003-12-29 Thread Suresh Korvi
hi venkatesh You are saying that using lower frame so see which to which form this page belongs to and put that form name in the validate.xml then it will display easily i am think this is the problem of placing the form name correctly suresh -Original Message- From: VENKATESH

annoying JSP runtime exception message

2003-12-29 Thread Raphaël di Cicco
Hi, I'm working with struts 1.1, Tiles and Tomcat. on my JSP pages where I did something wrong I often get this exception message : [ServletException in:/foo.jsp] Define tag cannot set a null value' or simply : [ServletException in:/foo.jsp] null Looking at the source of the HTML page don't gi

RE: annoying JSP runtime exception message

2003-12-29 Thread Parthasarathy Kesavaraj
I think actually u r doing a bean:define for which the value of the corresponding property is null.. whenever b4 doing a bean:define check whether actually the proprty is not null using logic:present > -- > From: Raphaël di Cicco[SMTP:[EMAIL PROTECTED] > Reply To: Struts Users

Re: annoying JSP runtime exception message

2003-12-29 Thread Raphaël di Cicco
Sure. i know I should do a , eventually I solved my problem but it's really annoying to have such a poor description of the exception. - Original Message - From: "Parthasarathy Kesavaraj" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, December 29,

checkbox validation required

2003-12-29 Thread LAUFERON Caroline
Hello! I'm trying to validate a form in which there are two checkboxes. the validation must succeed if at least one of them is checked (i.e. fails if none of them is checked). I know validwhen would be the solution, but I have to use Struts 1.2's requiredif. field[0]field2 fieldTest[0]EQU

Re: [OT] Who owns Eclipse

2003-12-29 Thread Brice Ruth
Eclipse contributors, committers, etc. don't need to be IBM employees, but they need to be active in the project and recognized by existing contributors, committers, etc. Its structured similarly to the Mozilla project, which revolved around a core group of Netscape (now former) employees. Mos

Re: tiles, conditional choice of

2003-12-29 Thread Brice Ruth
No sweat, Vic :) wrote: Brice Ruth wrote: One recommendation I've received from this list is to have your 'variable' tile be an Action, so that you would have an order of magnitude less tile defs to create ... at least, that's how I understood it :) Sorry about that;-}It's not easy to e

Re: annoying JSP runtime exception message

2003-12-29 Thread ....
This comes up quite a bit for my Students. When using Tiles, the JSP full error does not get displayed, becuase tiles blocks it sometimes. I forward to the working JSP for the moment to see the error. .V Raphaël di Cicco wrote: Hi, I'm working with struts 1.1, Tiles and Tomcat. on my JSP pages

newbie struts/ant build questions

2003-12-29 Thread Lawrence Cryderman
Hi, I'm having a heck of a time getting ant to build my simple struts app. Right now I'm getting: BUILD FAILED java.lang.ExceptionInInitializerError With the ant -v option I get java.lang.ExceptionInInitializerError a

Re: newbie struts/ant build questions

2003-12-29 Thread Brice Ruth
What are you using as your base build.xml file? Lawrence Cryderman wrote: Hi, I'm having a heck of a time getting ant to build my simple struts app. Right now I'm getting: BUILD FAILED java.lang.ExceptionInInitializerError With the ant -v o

application.properties

2003-12-29 Thread Otávio Augusto
Hi all The application.properties file, from which i retrieve my resouce messages, has given me a doubt: is it scanned from the top to the botton or from the botton to the top? the thing is I made a mistake and added three identical messages there (errors.login.ivalid), and it always reads the

RE: application.properties

2003-12-29 Thread Peng, Meimin
I think you need to iterate the message out or pass the argument to get the error out. you might need to post more details about how you do the key in your resource and how you try to get the key. -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Monday, December 29,

EL tag libraries and MessageResources

2003-12-29 Thread Jani Heinonen
Hi, I searched the mailing list archives and the bugzilla database, but couldn't find an answer, so please excuse me if this is a FAQ. I am unable to compile any JSP that uses any of the html-el tags under the embedded Tomcat in Netbeans 3.5.1. The stacktrace follows: bean-cookie.jsp [-1:-1] jav

Re: application.properties

2003-12-29 Thread Brice Ruth
the last entry overrides any previous entries. I'm not sure how MessageProperties is implemented, but I always think of a hashmap, where identical entries will override previous ones. Otávio Augusto wrote: Hi all The application.properties file, from which i retrieve my resouce messages, has g

Oracle DataSource configuration

2003-12-29 Thread Ed Dowgiallo
I'm running into the following exception when issuing a getConnection to an Oracle DataSource.   SQLException: Cannot create JDBC driver of class '' for connect URL 'null'   It has the following definition in a Tomcat 4.1.29 server.xml file.   factory org.apache.commons.dbcp.BasicDataSou

File Upload Validator

2003-12-29 Thread Patrick Scheuerer
Hi, I have to validate a form which collects all the data connected with a document. Allong with discriptive information there's also a element to upload the file itself. So far use a DynaValidatorForm to do validation. Everything works fine for the text based form elements. I would also like

Re: struts and JDeveloper 9.03

2003-12-29 Thread Patrick Schilling
Kalra, Ashwani wrote: hi, I am working with Jdeveloper and Struts 1.1 When I try to run any page , its not able to find the core action class. struts.jar is lying in lib dir Error is java.lang.NoClassDefFoundError: org/apache/struts/action/Action java.lang.Class java.lang.ClassLoader.defineClass0

RE: File Upload Validator

2003-12-29 Thread Matthias Wessendorf
hi, use set this in struts-config for maxFileSize. look at file-upload-sample in your struts-distribution There cames an error, if the file is bigger. greetings matthias -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 5:34 PM To:

RE: Oracle DataSource configuration

2003-12-29 Thread Ben Anderson
not sure if this matters, but my oracle jar is in common/lib instead of shared/lib. I'm not familiar with the differences/uses of common and shared, but that's how mine works. -Ben From: "Ed Dowgiallo" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Us

Re: question about form handling

2003-12-29 Thread Cory Wright
Hi Dirk: Sounds like you're talking about client-side issues here. If you're just trying to populate form-fields with values from a child window (i.e. popup), use javascript to try something like this in the popup: function updateParent(){ popUpValue = document.getElementById("whateverThePo

Re: Design question regarding struts security features

2003-12-29 Thread Patrick Scheuerer
Mohan Radhakrishnan wrote: I think you can also use the role attribute in struts-config.xml and restrict access actions. Tiles has a role attribute too ? though we are not using that. I came across the role tag of tiles as well, but I guess it's suitable only if you want to restrict some are

RE: Oracle DataSource configuration

2003-12-29 Thread Kris Schneider
The following: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html explains TC 4.1's class loaders. Personally, I also place JDBC drivers in $CATALINA_HOME/common/lib. If they're in $CATALINA_HOME/shared/lib, then all web apps can "see" them but catalina can't, IIRC. Quoting

Re: dynamic arg0 in bean:message?

2003-12-29 Thread Frank Maritato
Thanks everyone! Since I had a jsp:useBean in the page already, I was able to do the following: <%=\"\"+globals.getMinChars()%> Nicolas De Loof wrote: Your first example is invalid : " /> A JSP tag cannot be used as attribute value of another tag (XML syntax) This should work : Nico. -

[Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Robert Taylor
Greetings, I have a tiles definition in my tiles-defs.xml similar to below: which I would like to be able to modify the "heading" value such that at runtime I could substitute a value for {0}. For example, it would be ideal to use a JSTL type of syntax such as: bu

Re: question about form handling

2003-12-29 Thread Mark Lowe
Yeah.. I tend to do things on the server and layer the client-side stuff on when i get time. In fact i'm a bit obsessive about not having js dependent apps. :o) On 29 Dec 2003, at 16:53, Cory Wright wrote: Hi Dirk: Sounds like you're talking about client-side issues here. If you're just tryi

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Pedro Salgado
I don¹t know if it is possible to change a tiles definition at runtime but a solution to your problem could be solved by specifying a definition that uses a jsp file that does a conditional include according to a given parameter? <- > choose.jsp Pedro Salgado On 29/

help with action roles

2003-12-29 Thread Kelly Goedert
Hello, Could anybody point me an example on how to use action roles? Or any explanation? I read Ted Husted Struts in Action but I can't get this feature to work properly. Thank you Kelly. - To unsubscribe, e-mail: [EMAIL PROTE

Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Jim Anderson
To clarify: I would like to be able to define ActionForwards for use within the app but which cannot be entered directly into the browser by the user. Is this possible? Thanks. jim - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Brice Ruth
In theory, you could write a filter for the forwards that would check to see if a REFERER is set for the request. If not, the request was likely entered directly in a browser. Jim Anderson wrote: To clarify: I would like to be able to define ActionForwards for use within the app but which cann

RE: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Robert Taylor
Thanks for the reply Pedro, but I was looking for a cleaner solution. robert > -Original Message- > From: Pedro Salgado [mailto:[EMAIL PROTECTED] > Sent: Monday, December 29, 2003 12:51 PM > To: Struts Users Mailing List > Subject: Re: [Tiles] Populating Tiles definition attribute at runt

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Brice Ruth
The cleanest thing to do here, likely, would be to have your 'content' attribute have a value that maps to an Action (/search.do would work, I think - Vic might be able to confirm this) and in the Action class, define an attribute "heading" stored in request context, that pulls from request par

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Domingo A. Rodriguez S.
Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-defs.xml file: --- --- And I have this controllerClass --- package com.dars; import org.apac

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Brice Ruth
Wow, that's pretty cool ... I'll have to check out the controllerClass stuff sometime :) Domingo A. Rodriguez S. wrote: Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-defs.xml file: -

RE: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Chappell, Simon P
Oh that's far too clever! We just used thin-client terminals locked in kiosk mode with I.E. running in full screen, using touch screens and taking away the keyboard and mouse. Ha ha ... now try typing in a URL!!! :-) Simon >-Original Message- >From: Brice Ruth [mailto:[EMAIL PROTECTED]

Re: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Mark Lowe
Is like the one in virgin stores where you can ctrl+esc and get the menu/desktop up? On 29 Dec 2003, at 19:30, Chappell, Simon P wrote: Oh that's far too clever! We just used thin-client terminals locked in kiosk mode with I.E. running in full screen, using touch screens and taking away the k

RE: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Andy Schmidgall
That would require a keyboard, would it not? :) Could you not have a flag var in the session or something that is only set by a certain piece of code? If the user typed in the URL directly, the flag wouldn't be set, and you could filter requests based on that. -Andy -Original Message- Fr

RE: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Mike Jasnowski
ctrl+esc w/o a keyboard? That would be a neat trick. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 2:41 PM To: Struts Users Mailing List Subject: Re: Is there a way to prevent urls from being entered from the browser? Is like the one in virg

RE: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Chappell, Simon P
Nope. There is no keyboard and no mouse. :-) >-Original Message- >From: Mark Lowe [mailto:[EMAIL PROTECTED] >Sent: Monday, December 29, 2003 1:41 PM >To: Struts Users Mailing List >Subject: Re: Is there a way to prevent urls from being entered from the >browser? > > >Is like the one in vir

RE: Oracle DataSource configuration

2003-12-29 Thread Steve Muench
Ed, The setup instructions for the "BC4J/Struts Toy Store Demo" at: http://otn.oracle.com/sample_code/products/jdev/bc4jtoystore/index.html go over the specifics of setting up Oracle DataSource for Tomcat. The direct URL to the 80-page whitepaper that explains the demo's implementation

Dynamic form property names

2003-12-29 Thread Paul-J Woodward
Dear All, I have been struggling with this all day, It'll take a bit of background to explain what I am trying to do: I am creating an online wizard to populate templatised web pages, and hence create a dynamic struts/tiles-based site. Each template has various containers for content, each con

RE: struts and JDeveloper 9.03

2003-12-29 Thread Steve Muench
JDeveloper 9.0.3 ships with Struts 1.1 Beta 2 JDeveloper 9.0.4 and JDeveloper 10g ship with Struts 1.1 Final This article explains the steps of running a Struts-based demo (like our BC4J/Struts Toy Store Demo) under 9.0.3 using Struts 1.1 Final. It should contain the steps that you need to run y

Re: Oracle DataSource configuration

2003-12-29 Thread Ed Dowgiallo
OK. I have moved the Oracle JDBC library from shared/lib to common/lib. Same error message. SQLException: Cannot create JDBC driver of class '' for connect URL 'null' Restarted Tomcat service. Same error message. Removed all the javax.sql... classes from classes12.jar and classes12dms.jar. S

RE: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Domingo A. Rodriguez S.
Hmmm.. I would use a 'state machine' because: 1. You just can't disable the URL bar in your browser without rendering it useless (..). 2. Use javascript and your users will disable it. 3. Hack your browser to disallow entering URLs in the URL bar and then hack everyone else's who need to use you

Re: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Mark Lowe
So to "prevent urls from being entered from the browser" all you have to do is take the keyboard and mouse out the equation. Nice solution I can see how that would be useful for most folk's. On 29 Dec 2003, at 19:48, Chappell, Simon P wrote: Nope. There is no keyboard and no mouse. :-) -Or

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Paul-J Woodward
I modified the ActionServlet (might not be necessary - need to investigate the dynamic module config stuff further), created a new TilesDefinitionFactory and changed a few other bits and made tiles extract all of its definitions from a database. I also implemented a cache mechanism as a Java se

Forwarding to Global Error page from ActionForm

2003-12-29 Thread Srinivas Kusunam
Hi, Is it possible to forward to Global Error page from ActionForm? If yes then how?? I appreciate any help. Thanks, Srini - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

RE: Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Chappell, Simon P
It wouldn't be useful for most people, but for an intranet application where a regular PC would be overkill, it made sense to use thin clients, and even more sense to use touchscreens and toss the keyboard and mouse (we have space constraints in the packing stations as it is, there was no way th

Re: Oracle DataSource configuration

2003-12-29 Thread Kris Schneider
What you're thinking of as a connection pool, Oracle refers to as a connection cache. Their pool/cache implementation is provided by oracle.jdbc.pool.OracleConnectionCacheImpl. I don't recall if I've gotten that to work with TC before. Have you read: http://jakarta.apache.org/tomcat/tomcat-4.1-doc

Boolean checkbox in session form

2003-12-29 Thread Franck
Hi, I'm becoming mad ... Explain : to handle ActionForm boolean properties with HTML checkbox, we "need" To initialize the property as "false" in the reset() method of the ActionForm .. Ok Now, if the Action form is defined in the session scope in the struts-config file The first time the action

RE: Boolean checkbox in session form

2003-12-29 Thread Guillermo Meyer
To solve this problem, i created a new taglib for checkbox (extending BaseFieldTag), that creates a hidden input with a value of true|false and an auxiliary checkbox (named as + _chk) with a javascript handler that checks on checkbox value to set true or false to the hidden field, so always is pos

Multiple localization (resource) files for one application

2003-12-29 Thread Daniel Rabe
I understand the mechanics of how to use the "bundle" attribute with some of the HTML tags to specify which resource bundle will be used to look up the translation keys. I'd like to use several resource files for my strings so that each subset of functionality can have its own resource file. So far

RE: What is wrong with this upload filename (UTF-8) decoding?

2003-12-29 Thread Daniel Rabe
I see a similar problem with file upload. It doesn't look like org.apache.strugs.upload.FormFile exposes a setHeaderEncoding method... Daniel Rabe -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Friday, December 26, 2003 1:33 PM To: Struts Users Mailing List Subject: R

RE: Boolean checkbox in session form

2003-12-29 Thread Tim Lucia
Care to share? This would be a very, very useful extension. Is there any plan(s) for future Struts release(s) to support some attribute of this sort? Something like "forceFalse='true'" or "forceValue='true'". Tim > -Original Message- > From: Guillermo Meyer [mailto:[EMAIL PROTECTED] >

RE: Boolean checkbox in session form

2003-12-29 Thread Craig R. McClanahan
Quoting Tim Lucia <[EMAIL PROTECTED]>: > Care to share? This would be a very, very useful extension. > > Is there any plan(s) for future Struts release(s) to support some > attribute of this sort? Something like "forceFalse='true'" or > "forceValue='true'". > > Tim > Guillermo is trying work

Best place to initialize resources in an action class

2003-12-29 Thread Nimmons, Buster
I recently started using strutsin lie of straight servlets and jsps. I was wondering where is the most logical place to perform initialization process in an Action class. In a servlet I normally use the init method to perform these tasks. The closest I have found in the Action class is the Setservl

Still having problems with File upload (multipart-formdata)

2003-12-29 Thread Brice Ruth
I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadBase$SizeLimitExceededException What

Re: Still having problems with File upload (multipart-formdata)

2003-12-29 Thread Martin Cooper
"Brice Ruth" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm refactoring (so to speak) my currently working form, which accepts > an image to be uploaded, to use a DynaValidator(Action?)Form and I'm > again running into an exception being thrown: > > java.lang.NoClassDefFoundErro

How to perform validation and then call another javascript function?

2003-12-29 Thread Clark Kent
I have a form in which upon submit, depending on whether a certain checkbox is checked or not, it is directed to a certain action (if checked, then action 1, if unchecked, then action 2). With the following code, I am trying to validate the form. Now I need to perform the validation and also d

Re: EL tag libraries and MessageResources

2003-12-29 Thread Wolfgang Woger
That problem was discussed in the nbuser group a couple of weeks ago, in conjunction with code completion. Try to put jstl.jar struts-el.jar struts.jar servlet.jar into NetBeanXX/lib/ext and standard.jarinto NetBeansXX/lib Maybe you can put everything under /lib or .../lib/ext. Wolfgang

Re: How to perform validation and then call another javascript function?

2003-12-29 Thread Saul Q Yuan
I think you can define a new Javascript function, and call the validateSubscriptionForm(this) first in the new function, and inside onsubmit call this new function instead. Something like the following: newFunction(form) { validate = validateSubscriptionForm(form); if(!validate) return fa

RE: Is there a way to prevent urls from being entered from the br owser?

2003-12-29 Thread Dhaliwal, Pritpal (HQP)
Pick up something like mozilla as source, Fix it up so it has no location bar.. ( maybe just a link to ur app ) Distribute it... Now they can enter stuff in ur forms and all, but not in the location bar.. Hey its opensource, use it.. Pritpal Dhaliwal -Original Message- From: Mark Lowe [

Fw: annoying JSP runtime exception message

2003-12-29 Thread Martin Gainty
What does your $TOMCAT_HOME/logs/.log say? Regards -Martin - Original Message - From: "" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 29, 2003 10:05 AM Subject: Re: annoying JSP runtime exception message > This comes up quite a bit for my Students. > When using T

RE: .NET: We are just like Struts... only better.

2003-12-29 Thread Steve Muench
Nick, | I believe that various IDEs are beginning to allow this. | I saw a demonstration of a Sun's Forte at a Java User Group, | a while ago, and they were dropping and dragging JATO taglibs. | WebLogic Workshop can apparently allow this using Struts. Oracle JDeveloper 10g is one of these as wel

Re: Is there a way to prevent urls from being entered from the br owser?

2003-12-29 Thread Mark Lowe
Yeah Right.. Thanks On 30 Dec 2003, at 00:45, Dhaliwal, Pritpal (HQP) wrote: Pick up something like mozilla as source, Fix it up so it has no location bar.. ( maybe just a link to ur app ) Distribute it... Now they can enter stuff in ur forms and all, but not in the location bar.. Hey its open

Re: How to perform validation and then call another javascript function?

2003-12-29 Thread James Mitchell
Not to be too off-subjectbut, why do you have the "Struts Users Mailing List" named as "usergroup" in your mail client? Is this the only "usergroup" that you subscribe to? I am on at least 15, so I almost skipped right over your post. Would you mind changing it to at least "strutsgroup" or

File Upload Problems

2003-12-29 Thread Patrick Scheuerer
Hi, I was just looking at the struts-upload application... why is the file uploaded to %TOMCAT_HOME%/bin ? What i would like to do is to save the uploaded file in a subdirectory of the root of the application (%TOMCAT_HOME%/webapps/myapp/uploaddir). The saving location is determined on a the "

Re: What is wrong with this upload filename (UTF-8) decoding?

2003-12-29 Thread Jason Lea
Yes, I think you are right, i didn't realise which class we were talking about there. I have just read a bit more about the Struts FileUpload and how it wraps commons upload. Assuming Commons Upload works correctly with the setHeaderEncoding, then I guess there might be work around. Struts w

array property in ActionForm ???

2003-12-29 Thread Eric Chow
Hello, In the above JSP, there are five TEXT form field with the same name "player", how can I design my ActionForm code for this case? I tried, public void setPlayer(int[] player) { this.player = player; } public int[] getPlayer() { return player; } But

Re: Struts Validation + Frames

2003-12-29 Thread VENKATESH GANGAL
Hi Suresh, I checked the name of the form in my validation.xml and varified that I am using the same name in my JSP also. I am able to get the Error object from my form bean but I am unable to display it on my JSP.Is there anything else that I am missing ??? Thanks for your help Cheers..

JSF managed beans

2003-12-29 Thread Nadeem Bitar
Where and how do Managed Beans and JSF's navigation rules fit in a struts/jsf application? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: array property in ActionForm ???

2003-12-29 Thread Mohan Radhakrishnan
Hi Seems that you have a List of player objects. If so then indexed bean properties might help. Your form will contain something like the following. public void setPlayerList(ArrayList playerList){ this.playerList = playerList; } public ArrayList getPlayerList(){ r