Displaying an image from a BLOB field on a jsp

2005-08-08 Thread C.F. Scheidecker Antunes
Hello, Could anyone tell me how to fetch using a bean an image from a MySQL database blob field and displaying it on a jsp page? Thanks, C.F. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: multiple instances of one ActionForm

2005-08-08 Thread Leo Asanov
Michael, I don't see the analogy with "Save As" dialog. And ActionForm is not a businees object indeed. Don't know what to do with this valuable information though... If there is nothing in Struts which can help me then it is the information I am looking for. Although I would appreciate any ide

Re: Re: XSL:FO orJasper Reports

2005-08-08 Thread d d
  its simple.. when u create a jasper report it has a Parameter map that configure the input parameter. While running ur java file for Jasper report,just set values in this Map. In case of iReports...U need to Set a default(hardcoded) value in report parameters.Test the report on default value

Re: multiple instances of one ActionForm

2005-08-08 Thread Michael Jouravlev
If you need to save document from Microsoft Word, you open "File Save" dialog. When you need to save another file, do you create another "File Save" dialog? Do all these dialogs remain allocated until you shut down the system? ActionForm is not a business object. Michael. On 8/8/05, Leo Asanov <

RE: help struts config file.

2005-08-08 Thread Ayusman dikshit
Hi All, I tried to change the DOCTYPE definition in the struts-config file As follows, The file struts-config_1_1.DTD is in the directory C:/TEST/struts/org/apache/struts/resources/. I just wanted to make sure that the DOCTYPE be

Re: [OT] JSF style-ability (was: Terrific into to JSF)

2005-08-08 Thread Craig McClanahan
On 8/8/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Craig McClanahan wrote: > > And you were so ***good*** about the Maven thread! :-) :-) :-) > > You can't expect me to turn around all at once can you Craig?!? :) LOL > :-) > You know, I started making this a reply to that thread becaus

RE: Struts Basic problem.

2005-08-08 Thread Kalra, Ashwani
Looks like in your form tag you have given action="lookup" and you should have corresponding action mapping in your config file which is missing Cheers Ashwani -Original Message- From: Ayusman dikshit [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 9:16 AM To: Struts Users Mail

[OT] JSF style-ability (was: Terrific into to JSF)

2005-08-08 Thread Frank W. Zammetti
Craig McClanahan wrote: > And you were so ***good*** about the Maven thread! :-) :-) :-) You can't expect me to turn around all at once can you Craig?!? :) LOL You know, I started making this a reply to that thread because I didn't think it would go any further, and I originally said if it did

RE: Struts Basic problem.

2005-08-08 Thread Ayusman dikshit
Here is my struts-config file: File name: struts-config-test Content: http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> Could you figure out something Regards ayusman -Original Message- From: Simons Kevin [ma

Re: [OT]Terrific intro to JSF

2005-08-08 Thread Craig McClanahan
On 8/8/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > That is a good article, thanks for pointing it out Geeta! > > Ironically, I remember very well, that calculator example is the exact > same one I saw more than two years ago at a Java user's group meeting... > it must get the point across w

Configure URL

2005-08-08 Thread Anuradha S.Athreya
I have just started using Struts. I would like to know how to configure the URL to access my application. I have a Login page which has to be the default page which appears when I provide a URL : http://localhost:8080/myApp/MyApp Note that MyApp is not the actual servlet name but the alias name t

Re: [OT]Terrific intro to JSF

2005-08-08 Thread Frank W. Zammetti
That is a good article, thanks for pointing it out Geeta! Ironically, I remember very well, that calculator example is the exact same one I saw more than two years ago at a Java user's group meeting... it must get the point across well :) I remember they showed all sorts of state diagrams and

multiple instances of one ActionForm

2005-08-08 Thread Leo Asanov
Hi! Is there any standard ways to manage multiple instances of one form with Struts? I have application which is supposed to take theorerically unlimited number of person's descriptions. Every time user clicks "add one more person" he/she gets exactly the same form (with the same validation rules)

validwhen question

2005-08-08 Thread Mark Womack
I have a form that has a checkbox that controls a group of radio buttons. One of the radio buttons has a text field associated with it. I only want the text field to be validated if both the checkbox and the radio button are turned "on", and when validated, validated as an integer. I am using Val

Re: My first JAAS implementation. Part 2

2005-08-08 Thread erikweber
Well, I think the answer to that question, if I understand it correctly, would be up to you . . . Here, the idea is to use a container plugin for authentication/authorization, but to bypass the container-based form and submittal process, which is kind of inflexible. You would (I assume) be ca

Re: OutofMemory hunts me again

2005-08-08 Thread Martin Gainty
Ajaya- The solution is listed here http://marc.theaimsgroup.com/?l=log4j-user&m=109586468621477&w=2 Introspector.flushCaches() in Destroy() method of Servlet HTH, Martin- - Original Message - From: "Ajaya Agrawalla" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Monday, August

Re: My first JAAS implementation. Part 2

2005-08-08 Thread Mick Knutson
Where does the user get sent to if they are not in the role? Or is it just an ActionError message? [EMAIL PROTECTED] wrote: > Mark, sorry to not be a ton of help here, but I'm away from some code I have > where I know I did this (meaning, I invoked my LoginModule manually instead > of using co

Re: [OT] JSP Clutter

2005-08-08 Thread Wendy Smoak
From: "Michael Jouravlev" <[EMAIL PROTECTED]> With Tapestry you create HTML template for each page, then stick data into it, using jwcid attribute. Your webdesigner is happy. With JSF you compose page using JSF tags either manually or using visual IDE, and then JSP/JSF engine will generate HT

Re: My first JAAS implementation. Part 2

2005-08-08 Thread erikweber
Mark, sorry to not be a ton of help here, but I'm away from some code I have where I know I did this (meaning, I invoked my LoginModule manually instead of using container-based auth). I did this with JBoss, not Tomcat, as I recall. And yes, it does have something to do with writing a CallbackHa

My first JAAS implementation. Part 2

2005-08-08 Thread Mark Benussi
OK. So I got the code working. Great! I can now login using form authentication and call the all important request.isUserInRole and more importantly I now want to ditch this form authentication. It's not what I need as it doesn't give me enough control over my individual sites. My simple q

Re: [OT] JSP Clutter

2005-08-08 Thread Craig McClanahan
On 8/8/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 8/8/05, Christopher Marsh-Bourdon <[EMAIL PROTECTED]> wrote: > > Over the past > > six months we have been migrating our front-ends from .net to Java > > based technologies, and Struts in the main. Now a new manager has > > come on board

Re: How can I use my DTO POJO's as ActionForms?

2005-08-08 Thread Michael Jouravlev
Instead -- no. But you can use them as nested properties. On 8/8/05, Mick Knutson <[EMAIL PROTECTED]> wrote: > I have many DTO's and do not want to duplicate code my creating > ActionFOrms that are identical to my DTO's. Can I used the DTO's instead > of ActionForms? -

How can I use my DTO POJO's as ActionForms?

2005-08-08 Thread Mick Knutson
I have many DTO's and do not want to duplicate code my creating ActionFOrms that are identical to my DTO's. Can I used the DTO's instead of ActionForms? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect --- "MMS " made the followin

OutofMemory hunts me again

2005-08-08 Thread Ajaya Agrawalla
Folks, I know this is a well known problem which is also well documented in this BUG http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 I have run across same problem and my application seem to run into OutofMemory errors after 5 restarts. I have implemented the Introspector.flushCaches()

Re: [OT] JSP Clutter

2005-08-08 Thread Michael Jouravlev
With Tapestry you create HTML template for each page, then stick data into it, using jwcid attribute. Your webdesigner is happy. With JSF you compose page using JSF tags either manually or using visual IDE, and then JSP/JSF engine will generate HTML in the runtime (I don't know how HTML is generat

Re: [OT] JSP Clutter

2005-08-08 Thread Michael Jouravlev
www.csszengarden.com www.alistapart.com On 8/8/05, Johnson, Kaerstin <[EMAIL PROTECTED]> wrote: > > I am not understanding what you mean by this (encompassing* CSS), or > perhaps I am not familiar with some technique, can you elaborate or > provide an example? I am intrigued.. --

RE: My first JAAS implementation. A few questions.

2005-08-08 Thread Mark Benussi
And I fixed the problem. User user = new User(username); Set subjectPrincipals = subject.getPrincipals(); subjectPrincipals.add(user); for (int i = 0; i < roles.length; i++) { String roleName = roles[i]; subjectPrincipals.add(new Role(roleName)); } return true; Is how it should h

Re: [OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
Sorry, the point was not to compare .net/JSF/Tapestry against Struts, but to highlight that a bit fore thought into developing a good CSS at the start of the project would have reduced the amount of markup we have had to write in the last six months. It certainly makes our life easier to m

Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread Ed Griebel
You don't need to have "tomcat work with eclipse" to debug action classes. All you need is to make changes to the tomcat startup file to enable JDWP debugging on a socket, and then tell eclipse to start debugging at the socket and hostname if on a different host or localhost if same box. Set a brea

Re: [OT] JSP Clutter

2005-08-08 Thread Michael Jouravlev
On 8/8/05, Christopher Marsh-Bourdon <[EMAIL PROTECTED]> wrote: > Over the past > six months we have been migrating our front-ends from .net to Java > based technologies, and Struts in the main. Now a new manager has > come on board and he wishes us to revisit the reasons why we choose > Struts.

Re: [OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
No, I'm not saying that JSF or Tapestry will be able to mind read, but I am under the impression (probably very wrong by the way this is going) that they are able to generate content based on XML or Java markup. As I say I haven't had the time to look further into JSF/ Tapestry bar a few ar

Re: [OT] JSP Clutter

2005-08-08 Thread Dave Newton
Christopher Marsh-Bourdon wrote: The anti-Struts/MVC argument, and it isn't mine, is that whereas Tapestry and JSF will generate the HTML/JSP, with Struts it has to be written and maintained. Now I haven't spent that much time with either Tapestry or JSF, but from what little I have read;

Re: [OT] JSP Clutter

2005-08-08 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Christopher Marsh-Bourdon [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 8. August 2005 23:05 > An: Struts Users Mailing List > Betreff: Re: [OT] JSP Clutter > > The anti-Struts/MVC argument, and it isn't mine, is that > whereas Tapestry and JSF will

Re: [OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
I mean where you can specify how a tag is rendered (within your browser) totally using CSS rules, rather than specifying messy and deprecated tags such as . I also exclude using inline CSS styles such as when it could declared as and let a CSS define it's behavior. Inline CSS doesn't re

Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread Jay Sheth
I cannot do that, since the 2 forms are having different fields. Somehow the tomcat 5.5.9 doesnt work with eclipse for my project. I am using ui to start tomcat. thanks anyways. Jay On 8/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Do you use an IDE for development? Like eclipse or som

RE: [OT] JSP Clutter

2005-08-08 Thread Johnson, Kaerstin
I am not understanding what you mean by this (encompassing* CSS), or perhaps I am not familiar with some technique, can you elaborate or provide an example? I am intrigued.. >* By "encompassing', I mean no formatting is used directly in the JSP where >it can be deferred to a style. -Ori

Re: [OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
The anti-Struts/MVC argument, and it isn't mine, is that whereas Tapestry and JSF will generate the HTML/JSP, with Struts it has to be written and maintained. Now I haven't spent that much time with either Tapestry or JSF, but from what little I have read; it would appear that they can gen

Re: [OT] JSP Clutter

2005-08-08 Thread Leon Rosenberg
> > "JSP/HTML/XHTML is a messy mark-up. It is cumbersome to > refactor and a bugger to work out. We could use Tapestry or > JSF and forget about HTML." That's right, but as long as you deliver html to the customer, you have to deal with it, regardless of your technology. At the end of the

Re: A handle to Sessions in ServletContext?

2005-08-08 Thread Rick Reumann
Craig McClanahan wrote the following on 8/8/2005 4:27 PM: Dave is right ... you would need to maintain your own list of currently active sessions (by writing an HttpSessionListener). To be thorough, you'd also want to make your listener implement HttpSessionActivationListener so it could deal w

Re: My first JAAS implementation. A few questions.

2005-08-08 Thread Mark Benussi
Oh I see so if I added other properties to my Principal like their proper name I would loose that. Understood but not a problem as I have a session class for that kind of detail. Thanks for your info though much appreciated. Original Message Follows From: Adam Hardy <[EMAIL PROTECT

[OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
Apologies if this it _too_ off-topic, but I think it might be worth mentioning. In the same vein as my "web framework is better than yours" we, in the office, have been having a fairly heated discussion about which way we go technology wise next. Over the past six months we have been mig

Re: A handle to Sessions in ServletContext?

2005-08-08 Thread Craig McClanahan
On 8/8/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Rick Reumann wrote: > > > I need to create a link to a servlet, that will invalidate all > > Sessions. I'm assuming there is some sort of Collection or Array of > > Sessions that is stored in the ServletContext? > > Hmm, I'm not sure that there

Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread Jay Sheth
I have mapped only for the update**form (the one which works)... field[0] edit_delete

Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread GRamani
Do you use an IDE for development? Like eclipse or something? If you don't, I would suggest you do because then you could set breakpoints and debug that way.. System.out.printlns aren't the best way to debug - as you are probably finding out..:) One more thing you could do is the following: cha

Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread Dave Newton
Jay Sheth wrote: Just one more thing to tell...I have mapped the form for updateoverridepageform in validation.xml but not mapped maintain**form. Even if i map that doesnt help... What do the validation.xml configs look like? Dave -

Re: A handle to Sessions in ServletContext?

2005-08-08 Thread Dave Newton
Rick Reumann wrote: I need to create a link to a servlet, that will invalidate all Sessions. I'm assuming there is some sort of Collection or Array of Sessions that is stored in the ServletContext? Hmm, I'm not sure that there is--I think I remember having to keep a context-scoped list of se

Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread Jay Sheth
checked that... Any other hints ? Is there a way to debug or something...? Just one more thing to tell...I have mapped the form for updateoverridepageform in validation.xml but not mapped maintain**form. Even if i map that doesnt help... I think

Forms/validations/etc. config "issue"?

2005-08-08 Thread Dave Newton
Hi, This wouldn't be an issue if I wasn't trying to break things :/ The scoop: (1) Wildcard Action mapping, uses dummy form bean definition to avoid config/request processing issues (2) Request processor instantiates Action's _real_ form bean based on URL (there's a reason, honest?) Of cour

Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread GRamani
Hi Jay: So the form beans you are using in both cases are different. So are you sure these two form bean names are mapped to the correct classes in your struts-config.xml? i.e. check what 08/08/2005 03:57 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc S

A handle to Sessions in ServletContext?

2005-08-08 Thread Rick Reumann
I need to create a link to a servlet, that will invalidate all Sessions. I'm assuming there is some sort of Collection or Array of Sessions that is stored in the ServletContext? -- Rick - To unsubscribe, e-mail: [EMAIL PROTECT

Re: {Spam?} validate() not called

2005-08-08 Thread Jay Sheth
I am using the system.out. in both classes validate() and checking it out. The working codes struts config & class: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { // TODO Auto-generated method stub

Re: {Spam?} validate() not called

2005-08-08 Thread GRamani
Hi Jay, So how do you know that validate() isn't being called? Have you placed a break point in your validate and execute methods? Can you send us the snippets from struts-config.xml for both the classes and tell us which works and which doesn't? Geeta Jay Sheth <[EMAIL PROTECTED]> 08/08/

[OT]Terrific intro to JSF

2005-08-08 Thread GRamani
Hi all: i know it isn't Friday yet.. ;) but .. in case you have been looking for a nice and clear introduction to JSF, look no further. Here it is: http://www-128.ibm.com/developerworks/java/library/j-jsf1/ I have only just completed the first article - and can't wait to get to the next three!

validate() not called

2005-08-08 Thread Jay Sheth
Hi, I am trying to use the validate() by extending the org.apache.struts.validator.ValidatorForm class. The problem is that the validate() is being called for one form class which I have created, however it is not being called for another similar form class. There are no errors which compiling etc

Re: [OT]Web application for software distribution...any solution

2005-08-08 Thread erikweber
Hey Ashish. Long ago, our team set up an in-house sourceforge. Their software was free back then. As I recall, it is no longer free. But, I thought you could still get it commercially. Not sure if that is still the case. But, it worked well for us. Erik -Original Message- From: Ashish

Re: My first JAAS implementation. A few questions.

2005-08-08 Thread Adam Hardy
Hi Mark, this wasn't really Struts but here goes anyway since I happen to know. If you are using container-managed security in tomcat, then you should be aware that tomcat has not implemented a pathway between JAAS and the session which provides any more than the transfer of the username and

[OT]Web application for software distribution...any solution

2005-08-08 Thread Ashish Kulkarni
Hi We have a developed a inhouse web application for internal clients, these internal clients are at various locations in USA. I need a web application to deliver this developed web application war file, and jar files. So basically some thing like apache website, to deliver software to inte

Re: Problems configuring Tiles

2005-08-08 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Turning validation off and changing tiles-config.dtd into tiles-config_1_1.dtd like suggested by Laurie Harper did not work. So I removed the DOCTYPE declaration and it seems to work. I wonder why the xml parser tries to connect to http://jakarta.apache.org/ for my tiles-

Re: Issue with indexed properties

2005-08-08 Thread Laurie Harper
First of all, check you haven't written usrModList where you meant userModList anywhere, or vica versa (bit of a confusing choice of names, that). Other than that, how are you initializing the userModList property in the form bean? What does the form bean's reset() method do? Finally, how is th

My first JAAS implementation. A few questions.

2005-08-08 Thread Mark Benussi
I am implementing my first JAAS implementation and have some problems/questions. Firstly my commit method of my LoginModule does the following (User and Role both implement Principal) // Create a new User Principal with the user name retrieved from the NameCallback User user = new User(username);

Re: {Spam?} Re: Resin and struts

2005-08-08 Thread Simons Kevin
Hmz, Indeed. I have changed that xml file so many times (except the right dtd) and indeed. I now have another error but I assume that has something to do with the properties file (which I perhaps have not yet created) Ty very much all. Now I can have a look around in the struts world ;) -

Re: [OT] Web application for software distribution..any solution

2005-08-08 Thread DGraham
W h a t ? Ashish Kulkarni <[EMAIL PROTECTED]> 08/08/2005 02:06 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: [OT] Web application for software distribution..any solution --- Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > We have a d

Re: {Spam?} Re: Resin and struts

2005-08-08 Thread GRamani
Hi Simons, I think what Dave is saying is that in this case your form bean should look like this: (look at the type - it should have the fully qualified path name..) Regards, Geeta "Simons Kevin" <[EMAIL PROTECTED]> 08/08/2005 01:53 PM Please respond to "Struts Users Mailing List" To "

Re: [OT] Web application for software distribution..any solution

2005-08-08 Thread Ashish Kulkarni
--- Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > We have a developed a inhouse web application for > internal clients, these internal clients are at > various locations in USA. > I need a web application to deliver this developed > web > application war file, and jar files. > So basically

Re: Resin and struts

2005-08-08 Thread Simons Kevin
package test; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; public class testForm extends ActionForm { private String name; public testForm() {} public void setName(String name) { this.name = name; } public String getName() { return name;

Re: Resin and struts

2005-08-08 Thread Dave Newton
Simons Kevin wrote: [...] My classes are stored in webapps/tests/web-inf/classes/test If they're in WEB-INF/classes/test then (a) do you have a "package test;" at the top of your testForm class file? (b) type would be "test.testForm" Dave -

Re: Struts Basic problem.

2005-08-08 Thread Simons Kevin
Can you post the struts config xml file? I had this problem in the beginning too. Now I am stuck on that other problem I posted here. I am also a newbie. - Original Message - From: "Ayusman dikshit" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, August 08, 2005 7:27 P

Re: {Spam?} Struts Basic problem.

2005-08-08 Thread GRamani
here you go: http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html Hth, Geeta "Ayusman dikshit" <[EMAIL PROTECTED]> 08/08/2005 01:27 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject {Spam?} Struts Basic problem. Hi List, I a

Struts Basic problem.

2005-08-08 Thread Ayusman dikshit
Hi List, I am a new bee to Struts. I am following a book for struts. I obtained this error while trying to follow the tutorial, may be result of my experimentation. Could you give me any idea what mistakes I might have made The following is the error I am getting. I am using Tomcat 5.0 Struts 1.1

Re: Resin and struts

2005-08-08 Thread Simons Kevin
Dave, this is the xml file (dtd contains 1.2 instead of 1.1) http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";> My classes are stored in webapps/tests/web-inf/classes/test I deleted all class files to verify : I have four class files (insertTestAction,

Re: retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
thnks a lot. it worked !!! Jay On 8/8/05, Gareth Evans <[EMAIL PROTECTED]> wrote: > From an Action class you can use: > String dateFormat = getResources( request ).getMessage( "global.format.date" > ); > > Or from anywhere else: > String dateFormat = MessageResources.getMessageResources( > "A

Re: Resin and struts

2005-08-08 Thread Dave Newton
Not really enough info to go on, but: Simons Kevin wrote: Where's the testForm class in real life? Does it live in a package? Where's the compiled class end up? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Resin and struts

2005-08-08 Thread Simons Kevin
Hi all, I am using resin 3.0.14 with struts1.2.7. I get a parser problem when I want to use struts (somewhere in struts-config.Xml) Here is the xml file. Can someone explain me what I am doing wrong? http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"; >

Issue with indexed properties

2005-08-08 Thread Shyam Anand
Hi, I'm using indexed properties to display an array of radio buttons in my Struts 1.1 web application. I get an exception shown below when I use "request" scope for my form bean but things work fine with "session" scope. Could somebody tell me what I'm doing wrong. Is there a way to make this

RE: Using Message Resources with Tiles?

2005-08-08 Thread Mark Womack
JSTL makes this possible. I am surprised this feature was not built into tiles at some point without requiring JSTL. Thank you for the reply and answer. Much appreciated. -Mark > -Original Message- > From: Jason Lea [mailto:[EMAIL PROTECTED] > Sent: Friday, August 05, 2005 6:34 PM > T

Re: retrieving message from application.resources file

2005-08-08 Thread Gareth Evans
From an Action class you can use: String dateFormat = getResources( request ).getMessage( "global.format.date" ); Or from anywhere else: String dateFormat = MessageResources.getMessageResources( "ApplicationResources" ).getMessage( "global.format.date" ) I'm not sure how well this works with s

retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
Hi, I need to read a property global.format.date = dd/mm/ in a form class (eg logonform.java) from application.properties file. How do i do tht ? thanks, Jay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

retrieving message from application.resources file

2005-08-08 Thread Jay Sheth
Hi, I need to read a property global.format.date = dd/mm/ in a form class (eg logonform.java) from application.properties file. How do i do tht ? thanks, Jay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: Javascript + Struts tag problem

2005-08-08 Thread Duane Rosengartner
Thanks for your response. In the code in question, disabled is a local variable passed in as a parameter on the function, and does not refer to the form properties state. Although, this may lead to a hint of the 'reserved word' behavior I was trying to track. I suspected 'locked' was the culprit, b

Re: XSL:FO orJasper Reports

2005-08-08 Thread Rafael Taboada
yeap, that helped... thanks! -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

RE: error page mapping using web.xml

2005-08-08 Thread Vance Karimi
I believe I read somewhere that IE won't display user specific 404 error pages unless they are 512 bytes or more?? In other words, just add more comments to your page. That worked for me. > -Original Message- > From: temp temp [mailto:[EMAIL PROTECTED] > Sent: Monday, 8 August 2005 11:3

error mapping problems with Internet Explorer

2005-08-08 Thread temp temp
I used error-page tag in web.xml to map any 404 Http error code to page default.jsp specified in location tag.It works fine in netscape but does not work in internet explorer .I am using IE 6.0. 404 default.jsp So when I try to acess any unkn

Re: XSL:FO orJasper Reports

2005-08-08 Thread Nick Heudecker
See if this helps: http://jasperreports.sourceforge.net/tutorial/index.html#parameters On 8/8/05, Rafael Taboada <[EMAIL PROTECTED]> wrote: > Talking about JasperReports and iReports... I'm trying to generate my > reports using iReports in order to make my .jrxml. I'm trying to make my SQL > quer

error page mapping using web.xml

2005-08-08 Thread temp temp
I used error-page tag in web.xml to map any 404 Http error code to page specified in location tag.It works fine it netscape but does not work in internet explorer .I am using IE 6.0. 404 default.jsp In Internet explorer I get the page thanks & regard

Re: XSL:FO orJasper Reports

2005-08-08 Thread Rafael Taboada
Talking about JasperReports and iReports... I'm trying to generate my reports using iReports in order to make my .jrxml. I'm trying to make my SQL query but this query needs some parameters. For example I want to generate a report about a specific costumer... So I have to send costumer id in or

Re: XSL:FO orJasper Reports

2005-08-08 Thread Nick Heudecker
I would go with JasperReports. Make sure to also download iReport, which is a great time-saver. On 8 Aug 2005 07:58:16 -, d d <[EMAIL PROTECTED]> wrote: > > I am generating reports from Oracle DB in my struts application, I am > confused whether to use XSL:FO or Jasper Reports to generate

SV: Login with authentication from database

2005-08-08 Thread hermod . opstvedt
Hi Also you might want to look at SecurityFilter (http://securityfilter.sourceforge.net/). It is an easy to use implementation of the mentioned below (JDBCReal, JAAS). Hermod -Opprinnelig melding- Fra: Bill Schneider [mailto:[EMAIL PROTECTED] Sendt: 8. august 2005 15:05 Til: user@struts.

Re: Login with authentication from database

2005-08-08 Thread Bill Schneider
If you're specifically interested in authentication from a database (tables for users, roles and mappings), and using Tomcat, the JDBCRealm is the way to go: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JDBCRealm You might not need to learn about JAAS if all you want is sim

RE: FO orJasper Reports

2005-08-08 Thread David Thielen
www.windwardreports.com is your best bet. Thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: d d [mailto:[EMAIL PROTECTED] Sent: Monday, August 08, 2005 1:58 AM To: user@struts.apache.org Subject: XSL:FO orJasper Reports   I am generating report

Re: Problems configuring Tiles

2005-08-08 Thread Peter . Zoche
Turning validation off and changing tiles-config.dtd into tiles-config_1_1.dtd like suggested by Laurie Harper did not work. So I removed the DOCTYPE declaration and it seems to work. I wonder why the xml parser tries to connect to http://jakarta.apache.org/ for my tiles-defs.xml, I always thought

Re: Problems configuring Tiles

2005-08-08 Thread Laurie Harper
Looks to me like you have an incorrect DOCTYPE declaration. Mine looks like this: http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";> L. [EMAIL PROTECTED] wrote: Hi all! I would like my web-app (using Struts 1.2.7, Tomcat 5.5.9, Windows 2000) to use Tiles, and so I updated my stru

Re: Problems configuring Tiles

2005-08-08 Thread Daniel Schaller
On 8 Aug 2005, at 12:24, [EMAIL PROTECTED] wrote: In my WEB-INF folder there is the following tiles-defs.xml: http://jakarta.apache.org/struts/dtds/tiles-config.dtd";> Then you should change the URI to your local tiles config dtd, or switch validation off. Cheers, Daniel

Re: Problems configuring Tiles

2005-08-08 Thread Gareth Evans
Your xml parser is trying to connect to http://jakarta.apache.org/ to validate your xml file. I have this problem too! i've found a number of solutions 1) remove the doctype declaration from the xml 2) chage the doctype to use SYSTEM rather than PUBLIC 3) switch off xml validation Try setting "

Problems configuring Tiles

2005-08-08 Thread Peter . Zoche
Hi all! I would like my web-app (using Struts 1.2.7, Tomcat 5.5.9, Windows 2000) to use Tiles, and so I updated my struts-config.xml with a tiles plugin In my WEB-INF folder there is the following tiles-defs.xml: http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>

Re: Login with authentication from database

2005-08-08 Thread Robert Taylor
If your using Tomcat 5.5.x, then this may help: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm /robert Laurie Harper wrote: I haven't used container managed security very much but I think the way you'd do that is to set up multiple security realms in Tomcat (one pe

RE: Login with authentication from database

2005-08-08 Thread Albrecht Leiprecht
If you need more information about JAAS, I found this : Using JAAS with Struts - A simple guide to get it up and running http://www.jroller.com/page/tomdz/20041215 and this Struts, JAAS, Tomcat: getting acquainted http://technology.amis.nl/blog/index.php?p=259 extremely helpful. However, using

XSL:FO orJasper Reports

2005-08-08 Thread d d
  I am generating reports from Oracle DB in my struts application, I am confused whether to use XSL:FO or Jasper Reports to generate reports..Can anybody plz guide me on this issue??