RE: Problem going to my Next JSP by Href tag

2004-09-16 Thread Jitender K Chukkavenkata
Hi Priya, I dont think that the action (not being actually a struts action) should have a corresponding mapping in struts-config.xml in your case. Use html:link tag instead of tag. I think this will solve your problem. Jitender Kumar C.V.

Validator - Browser Compatibility Issue

2004-09-16 Thread Seyhan Basmaci
Hi, We have upgraded to Struts 1.2.2 , but we have encountered a problem. Embedded JavaScript validators use the following code function validateRequired(form) { var isValid = true; var focusField = null; var i = 0; var fields = new Array(); var formN

RE: Problem going to my Next JSP by Href tag

2004-09-16 Thread Priya Jotwani
Hi Sachin, Thanks for your reply. You are quite true, I don't have much time to actually go through the whole Documentation. But I assumed that if I'm giving a simple .html name in my tag, it would be a normal HTML call and not follow Struts framework since there is no entry in Struts-config.x

suggestion needed.

2004-09-16 Thread Jitender K Chukkavenkata
Return Receipt Your suggestion needed. document :

suggestion needed.

2004-09-16 Thread viji.george
   hello people,   can anyone suggest a site where i can find a sample application or the solution to the problem in accessing the database, i had mailed earlier?   can anybody suggest a good book???   thanks again.   regards, Viji George

RE: Problem going to my Next JSP by Href tag

2004-09-16 Thread Sachin Bhutada
hi Priya, Seems you havent gone through the struts docs or books properly. Have you created any action mapping for that link ? Unless and untill u dont do that, how come struts framework will know about it ?anyways, you have got two options either include one action mapping for th

problem in db access

2004-09-16 Thread Jitender K Chukkavenkata
Return Receipt Your problem in db access document :

problem in db access

2004-09-16 Thread viji.george
 hello friends,   I have a form in a jsp page, where i have 2 select box . The values of both come from the database(db).  On the selection of first select box, the values should be fetched from the database for the second on the  basis of the value selected in the first.   When i load the pa

RE: Making a file available?

2004-09-16 Thread Joe Hertz
More or less. Note that you can set the response headers with methods of the response object. Far safer. The example Niall posted does this. > > So, you mean something like this? > > public class FileXferAction extends Action { >public ActionForward execute( > ActionMapping actionMapp

RE: Making a file available?

2004-09-16 Thread Mike Elliott
On Thu, 2004-09-16 at 19:49, Joe Hertz wrote: > Absolutely. You have access to all of the response object methods you would > in a servlet to do this with. > > Set the correct content type and content length headers and spit it to the > outputstream. Return a null findForward. > > I've done this

Re: How to treat optional dates?

2004-09-16 Thread jthompson
>Are you sure? Isn't it m-d-y? Yes. Here's the code (getOrderDate returns a java.util.Date) : If row.orderDate is 01-01-0001, blanks are displayed. If row.orderDate is 16-09-2004, '2004-09-16' is displayed. (we do d/m/y in New Zealand). >> Since the posting I made a happy discovery thoug

RE: Making a file available?

2004-09-16 Thread Joe Hertz
Absolutely. You have access to all of the response object methods you would in a servlet to do this with. Set the correct content type and content length headers and spit it to the outputstream. Return a null findForward. I've done this with pdf files, (and this week I asked on this list about im

Re: Making a file available?

2004-09-16 Thread Niall Pemberton
Read the file from its location into a byte[] in your Action and then write the bytes to the response stream and return null from the Action's execute method (rather than an ActionForward). byte[] buffer // read file into a byte[] response.setContentType("application/x-pdf"); response.setCon

Re: How to treat optional dates?

2004-09-16 Thread Mike Elliott
On Thu, 2004-09-16 at 19:28, [EMAIL PROTECTED] wrote: > Since the posting I made a happy discovery though. If I save an optional > date with the value '01-01-0001' (d-m-y), it appears as blank when > displayed - just what I was after. Are you sure? Isn't it m-d-y? ---

RE: Connection pooling problem

2004-09-16 Thread David G. Friedman
I have 4 excellent questions for you, of which #1 could be of EXTREME importance to you... 1. Have you changed your password YET since you posted all of your JDBC oracle details in the below message? 2. Have you logged into your Oracle database on the host chd4.sbc.com and verified that the conne

Re: How to treat optional dates?

2004-09-16 Thread jthompson
Treating them to a nice dinner and a romantic movie usually works ;-) HawHaw - I guess it depends on HOW optional! >Any reason you cant model them as null? The date's already defined as 'not null' on the data-base and I wanted to avoid touching it. Wouldn't null dates appear as 'null' if

Making a file available?

2004-09-16 Thread Mike Elliott
I have an application which gathers information about internal processes. Some of this information is in the form of a text file, an Excel file, a PDF file, etc. What I need to be able to do is to make a URL available to users which will provide a requested file to a user; that is, if the URL ref

RE: Problem in defining tab inside JSP file

2004-09-16 Thread David G. Friedman
+1 that is is probably named getTestVar so you'd likely need -David -Original Message- From: Wayne Fuller [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 10:11 PM To: Struts Users Mailing List Subject: Re: Problem in defining tab inside JSP file On Sun, 12 Sep 2004 22:59:

Re: How to treat optional dates?

2004-09-16 Thread Andrew Hill
Treating them to a nice dinner and a romantic movie usually works ;-) Any reason you cant model them as null? At any rate, your UI should have them blank when they arent entered so as to avoid confusing the users. If you must store them as 1970 internally then I guess like you say, you will nee

Re: Problem in defining tab inside JSP file

2004-09-16 Thread Wayne Fuller
On Sun, 12 Sep 2004 22:59:44 -0700 (PDT), Manisha Sathe <[EMAIL PROTECTED]> wrote: > I am totally new to structs / JSP / Java. I am modifying the existing program. Want > to put one html tag inside the JSP file. I tried > > > > but i always get error > > [ServletException in:RoomListContent.js

[OT] JSP 2.0 tag files and expressions

2004-09-16 Thread Laurie Harper
Sorry for the off-topic post but I'm sure someone here will be able to tell me what's going on with this... I'm trying to use the JSTL forEach tag in a tag file invoked by another tag file and I'm getting an error. Here's an example piece of JSP: v: ${v} That works fine in a JSP. It w

RE: How to treat optional dates?

2004-09-16 Thread Joe Hertz
> Currently I'm storing un-entered optional dates as 1/1/1970. > When I come to display an optional date field on a form, I > need to decide > whether to display a formatted date or a blank (by comparing > the date to > 1/1/1970). > Surely there's a better way? What's wrong with storing null fo

Re: customized webs and advanced localization

2004-09-16 Thread Greg Ludington
It sounds like your problem is: 1) You want to include files in a way that chooses the best match, given a user's language, much like the proper ResourceBundle is discovered. 2) You have another property in play, not just standard language/country/variant. Since, this seems mostly a presentation

RE: Redirecting a Request With params

2004-09-16 Thread Frank Zammetti
It comes down to a question... Are you trying to post to an application in order to get some result, in which case you could just use the standard java.net.* package to do so, or are you actually trying to redirect the user's browser to an outside application? I suspect, based on what you wrote

How to treat optional dates?

2004-09-16 Thread jthompson
Hi all, I'm curious as to the best way to treat dates in a struts form when entry of the date is optional. Currently I'm storing un-entered optional dates as 1/1/1970. When I come to display an optional date field on a form, I need to decide whether to display a formatted date or a blank (by

RE: Redirecting a Request With params

2004-09-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
I don't think there's anything built in to Struts to do this, but maybe there's something in one of the commons projects. Here's an article that you could follow to create your own method. http://www.javaworld.com/javaworld/javatips/jw-javatip34.html - Dave > -Original Message- > F

Re: using JSP2.0 / JSTL1.1 with Struts

2004-09-16 Thread Jason Lea
Erez Efrati wrote: Hi all, Until now I've been using Struts 1.1 with JSP1.2/JSTL 1.0 with the use of JSTL EL extension for Struts tags. Html-el etc.. Now I'd like to move on and take advantage of the JSP2.0 and JST1.1 new features. I am running with JBoss 3.2.5 + Tomcat 5.0. Any special steps? Do I

RE: Redirecting a Request With params

2004-09-16 Thread El Toro
I know of the two HTTP request types. I'm just wondering how do I do this within the context of struts. I did read the mailing list and there was a similar example but it was not relevant to what I need. I need a method to POST params to an external site within a sruts action class...without usi

RE: Redirecting a Request With params

2004-09-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
> From: El Toro [mailto:[EMAIL PROTECTED] > > I have an action class which needs to redirect a > request to an application outside of the current > context. I also need to pass some parameters to the > outside application. One of these parameters is too > big to include on the URL/QueryString.

Re: Redirecting a Request With params

2004-09-16 Thread dhay
Read the Mailing List!!! |-+> | | El Toro | | | | | || | | 09/16/2004 05:03 | | | PM | | | Please respon

Redirecting a Request With params

2004-09-16 Thread El Toro
I have an action class which needs to redirect a request to an application outside of the current context. I also need to pass some parameters to the outside application. One of these parameters is too big to include on the URL/QueryString. Does anyone know how I can redirect the request with th

Re: Think I'm stuck with using Session scope for this..unless a better

2004-09-16 Thread Michael McGrady
Rick Reumann wrote: Actually no:) I'm pretty lost now. Using the Session seems so much easier:) Maybe I am the one lost. Only time, if anything, will tell. ;-) Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Think I'm stuck with using Session scope for this..unless a better

2004-09-16 Thread Michael McGrady
Rick Reumann wrote: Michael McGrady wrote the following on 9/16/2004 3:18 PM: SECOND BeanUtils I would have BeanUtils populate a List and then have the logic in the form populate the Object FooBar. That is, I would do the same thing in populating the FooBar class as mining, retrieving, etc. that

Re: Think I'm stuck with using Session scope for this..unless a better

2004-09-16 Thread Rick Reumann
Michael McGrady wrote the following on 9/16/2004 3:18 PM: SECOND BeanUtils I would have BeanUtils populate a List and then have the logic in the form populate the Object FooBar. That is, I would do the same thing in populating the FooBar class as mining, retrieving, etc. that class. Just use a

Re: German Umlaute

2004-09-16 Thread Henrique VIECILI
I don´t think it worth the effort but you can encode the string in base64 and it will work for sure!! Henrique Viecili - Original Message - From: Philipp Roethl To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 5:01 PM Subject: German Umlaute Hi, I.m currently f

Re: German Umlaute

2004-09-16 Thread Carl-Eric Menzel
> Hi, > I.m currently facing a weired problem. > I use a form to provide a search function. When I do not use any special > character in this form everything is fine. As soon as I enter e.g. "Rö" the > corresponding form value is set to "Rö" If an umlaut appears in the search > result it is disp

Re: Redirect error: Browser or my code?

2004-09-16 Thread Håkon T Sønderland
Bill Siggelkow wrote: Cool -- I got this error the other day when I created a filter -- mapped to /* -- that did a redirect to another page in my app -- can you guess the result? An HTTP Infinite Loop! Wow, ok, I know where to look now ;) Thanks, Håkon ---

German Umlaute

2004-09-16 Thread Philipp Roethl
Hi, I.m currently facing a weired problem. I use a form to provide a search function. When I do not use any special character in this form everything is fine. As soon as I enter e.g. "Rö" the corresponding form value is set to "Rö" If an umlaut appears in the search result it is display correctl

Re: Think I'm stuck with using Session scope for this..unless a better

2004-09-16 Thread Michael McGrady
Hi, Rick, I'm sort of going to answer you in reverse: FIRST: stuff on ActionForm I just created a class reset to mock what the reset() method would do. You have to alter it to do what you want from your standard ActionForm. For example, maybe: ActionForm code: private FooBar outsideFoo

Re: Need example of using DynaActionForm with ArrayList (1.1)

2004-09-16 Thread Niall Pemberton
Another solution ... use "lazy" ActionForms - then you don't need to do anything. http://www.niallp.pwp.blueyonder.co.uk/#lazydynabean Niall - Original Message - From: "Sebastian Hennebrueder" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, Septemb

Re: Think I'm stuck with using Session scope for this..unless a better

2004-09-16 Thread Rick Reumann
(Not commenting inline) Remember though the problem is that BeanUtils is going to try to populate an new Object FooBar (that has nulls for it's inner Collections) with the html request params. Could you post what you are doing in your ActionForm reset() method? I don't see it listed below. I sa

Connection pooling problem

2004-09-16 Thread LINGALA, AMARESHWAR G \(SBCSI\)
> Hi, > I am trying to set-up Connection pooling for my web application, > I have made the following modifications to my server.xml file. > > > > > > > > > > > >className="org.apache.catalina.mbeans.ServerLifecycleListener" > debug="0"/> >className="org.apa

Re: [OT] Good Java tech book?

2004-09-16 Thread DGraham
http://java.sun.com/docs/books/vmspec/ Denis Avdic <[EMAIL PROTECTED]> 09/16/2004 01:39 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PROTECTED]> cc Subject [OT] Good Java tech book? I am looking for a book on

[OT] Good Java tech book?

2004-09-16 Thread Denis Avdic
I am looking for a book on Java, but one focusing on the underlying technologies rather than the programming aspect. I want to learn more about JVM and bytecode and stuff like that, and I am not sure where I should look to find information about that. I figured a book would be a good central repo

Re: Think I'm stuck with using Session scope for this..unless a better

2004-09-16 Thread Michael McGrady
Rick You can get the following FooBar output in [ActionForm].reset() in request scope with the code that follows the result; fooBarMajorDomo 1fooBar 11fooBar 111fooBar 112fooBar 113fooBar 114fooBar 115fooBar 12fooBar 121fooBar 122fooBar 123fooBar 124fooBar 125fooBar 13fooBar 131fooBar 132fooBar 1

Re: Need example of using DynaActionForm with ArrayList (1.1)

2004-09-16 Thread Sebastian Hennebrueder
Hallo, I struggled with the same problem for many days and found finally a workaround. Arron pointed me to a much better workaround for the problem. I compiled a tutorial explaining the background and possible workarounds. The tutorial is on my website http://www.laliluna.de/tutorial/struts-dynam

Dynamic change language on every screen

2004-09-16 Thread Koni Roth
Hi One requirement of my appllication is to have the possibility to change the language on every screen. The content of filled fields must stay in the fields. Has anyone a easy solution for this? Where can I find some examples (code snippet, tutorial) to solve this problem? Thanks a lot. Koni

Re: Validator question

2004-09-16 Thread Niall Pemberton
Are you sure your destinationName validation is correct - seems to me like it should always give a validation error if buttonSelected is not "find"? I think it should be something like the following > destinationName is required only when destinationReference is null AND > the parameter 'butt

Re: Redirect error: Browser or my code?

2004-09-16 Thread Bill Siggelkow
Cool -- I got this error the other day when I created a filter -- mapped to /* -- that did a redirect to another page in my app -- can you guess the result? An HTTP Infinite Loop! Håkon T Sønderland wrote: I'm getting a curious error when I try to navigate in the browser (firefox 1.0RC) from th

Re: ActionErrors

2004-09-16 Thread Richard Tuquet Laburre
I just move my application in Struts 1.1 to Struts 1.2 I made that : Replace all ActionError objects by ActionMessage objects Replace all ActionErrors.GLOBAL_ERROR. by ActionMessage.GLOBAL_MESSAGE Replace all SaveErrors(request, errors) by saveMessages(request,(ActionMessages) errors); and all is

using JSP2.0 / JSTL1.1 with Struts

2004-09-16 Thread Erez Efrati
Hi all, Until now I've been using Struts 1.1 with JSP1.2/JSTL 1.0 with the use of JSTL EL extension for Struts tags. Html-el etc.. Now I'd like to move on and take advantage of the JSP2.0 and JST1.1 new features. I am running with JBoss 3.2.5 + Tomcat 5.0. Any special steps? Do I need to downlo

Re: ActionErrors

2004-09-16 Thread Niall Pemberton
It would, but because the return type of the ActionForm's validate method is an ActionErrors - then that method can't be simply deprecated and a new version added. Changing the return type would create a big compatiblity issue for alot of users and having one of the *core* API methods using a depre

Re: ActionErrors

2004-09-16 Thread Pavel Kolesnikov
On Thu, 16 Sep 2004 12:25:26 -0400, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > But the one and only method of ActionErrors, add, is deprecated. And so is > ActionErrors.GLOBAL_ERROR. > > I thought we were supposed to not use ActionError or ActionErrors, instead > handle error messages with A

static html:javascript

2004-09-16 Thread Renato Romano
I'm trying to use the html:javascript tag with the staticJavascript attribue in order to isolate the static part from the dynamic one, letting the browser caching the static part, as suggested in the tag API doc. What I'm exactly doing is the following: 1) create a file say staticValidation.jsp wh

Re: [ANNOUNCE] Struts 1.2.4 Test Build Available

2004-09-16 Thread Wendy Smoak
From: "Wendy Smoak" <[EMAIL PROTECTED]> > He has a point-- if you go to Download->Binaries it gives you 1.2.2. > > I asked about it on the dev list, hopefully someone can drop the 1.1 files > into some directory and the download page (which is a .cgi) will magically > change. (Well, after all the m

RE: ActionErrors

2004-09-16 Thread Slattery, Tim - BLS
> According to the Javadoc ActionErrors is not deprecated, > ActionError is (you should use ActionMessage instead, > deprecated since 1.2.0) But the one and only method of ActionErrors, add, is deprecated. And so is ActionErrors.GLOBAL_ERROR. I thought we were supposed to not use ActionError or

RE: ActionErrors

2004-09-16 Thread Leung, Albert
which means html:errors is not? -Original Message- From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:15 PM To: Struts Users Mailing List Subject: Re: ActionErrors On Thu, 16 Sep 2004 11:58:17 -0400, Leung, Albert <[EMAIL PROTECTED]> wrote: > Does anyb

Tomcat 4.1 and Tiles including page defined in a putList problem

2004-09-16 Thread Mark Benussi
I have been running my app in WSAD 5 for a month or so and am migrating it to the test environment (Tomcat 4.1). I was pesimistic that it would all work instantly ... and I encountered the following problem. In the jsp that uses the template I have

Re: ActionErrors

2004-09-16 Thread Pavel Kolesnikov
On Thu, 16 Sep 2004 11:58:17 -0400, Leung, Albert <[EMAIL PROTECTED]> wrote: > Does anybody know what to do with ActionErrors now that it is deprecated? > I want to be able to list the errors in the same as way with the html:errors According to the Javadoc ActionErrors is not deprecated, ActionErr

RE: ActionErrors

2004-09-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Does anybody know what to do with ActionErrors now that it is deprecated? I > want to be able to list the errors in the same as way with the html:errors > tag. Someone correct me if I'm wrong, but you can still use the "addErrors" method within your action, but you pass it an ActionMessages obje

ActionErrors

2004-09-16 Thread Leung, Albert
Does anybody know what to do with ActionErrors now that it is deprecated? I want to be able to list the errors in the same as way with the html:errors tag. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Problem going to my Next JSP by Href tag

2004-09-16 Thread Bj
can you access directly your JSP page ? if you type "http://MyHost:MyPort/MyPath/MYJSPpage.jsp"; from your browser does it work ? Check this first. calling a JSP page do not follow Struts framework process but only JSP process. Your JSP page should work on your JSP server and then if the path is

RE: JSTL get a value from map and key variables

2004-09-16 Thread Karr, David
Do you care what scope you get each variable from? If not, just do: $(whateverA[whateverS]} > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > > A dunce question today: > > I have a map that is held in application scope which in turn holds > objects whose keys

Redirect error: Browser or my code?

2004-09-16 Thread Håkon T Sønderland
I'm getting a curious error when I try to navigate in the browser (firefox 1.0RC) from the normal user interface to the administrative login of my struts application. The whole application is running under https. I keep getting this error message (in a modal pop-up window): "Redirection limit for t

RE: Where's that friggin' bean?

2004-09-16 Thread Dave Bender
I got this solved, though I'm not sure why. I'm working in JBuilderX and did a 'clean' and 'rebuild all' and the problem went away. I did have the properly wrapped. This problem was happening with that variation and even when the jsp had just the taglib definition line (<%@ taglib uri="/WEB

RE: popup design (Off the subject)

2004-09-16 Thread Frank Zammetti
Yes, good point about SP2. I have an app here at work that does quite a bit of this sort of thing, and SP2 did cause problems (I fully expected it would). Just had to have the setting changed to allow popups from the site, no problem. If it's an internal-only app, that might not be a problem

RE: Problem going to my Next JSP by Href tag

2004-09-16 Thread Priya Jotwani
Thanks for the reply. But I have actually included my application path. I think there is no problem in the path. All I am worried about is will this calling of MyJSPPage would follow the Struts framework process i.e going to ActionServlet and then to Action Class...etc or would it be just a NORM

Re: Problem going to my Next JSP by Href tag

2004-09-16 Thread Bj
Yes you don't need any processing in your struts-config file. The application path seems to miss, no ? Click Here but you should use struts tag to avoid path issue : or if the page is on another server/application, you should put the complete url (http://MyServerName:8080/MyJSPPAge.jsp) Bj Priya

RE: Think I'm stuck with using Session scope for this..unless a better idea?

2004-09-16 Thread David Suarez
For a generic solution (framework), it seems this wrapper class would come in very handy. Pretty cool how it creates a composition of a bean instantly. If it is a user solution to one problem I would think you would want to go with a potentially more maintainable solution of extending the Foo c

Problem going to my Next JSP by Href tag

2004-09-16 Thread Priya Jotwani
Hi, I want to build my application on existing Struts code. I have a main page where I just want to include a hyperlink. Clicking on the hyperlink should take me to one JSP Page (but since the data fetching logic is still under process, its only the HTML content in MYJSPPage) But this doesn't

Re: Validation for Two Levels of Indexed Properties

2004-09-16 Thread Terry Roe
Niall, Thank you very much! I will give your code a try. Thanks for sharing. TR Niall Pemberton wrote: Terry, Hubert is right - validator doesn't support more than one level of indexed validation. Basically the "indexedListProperty" element in your validator.xml identifies a property in your Acti

[RESOLVED] RE: sslext : Location of org.apache.struts.config.SecureActionConfig

2004-09-16 Thread Mark Benussi
Fixed now. Downloaded the latest version of sslext - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Checkbox Initialization - Got it

2004-09-16 Thread bmf5
I missed(forgot) the fact that validate defaults to true. Add one line to config file & Viola! [EMAIL PROTECTED] wrote on 09/16/2004 09:42:37 AM: > > > > > I'm obviously not understanding something. > > I've got a requirement to initially display a blank form with some > checkboxes checked.

RE: Prevent autocompletion in html:text

2004-09-16 Thread Slattery, Tim - BLS
> But in the input tag (HTML) it's possible to add an > attribute: AUTOCOMPLETE="off". > This dont work in all browsers, but it works in IE. So it's non-standard. And I can tell you absolutely that if it's non-standard, Struts won't support it. Of course, Struts is open-source. You could get t

RE: popup design (Off the subject)

2004-09-16 Thread Mark Benussi
Dont wish to change the subject but XP service pack 2 has severely limited popups. Worth bearing in mind Original Message Follows From: Bj <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: popup design

popup design

2004-09-16 Thread Bj
Hi, I need some tips to design popup calls. I have the main page containing a list in tags with for each row several buttons calling popups (modification/creation/deletion/history/...) For each row parameters passed to the popup are differents. And a popup pages : creation/modification, histor

sslext : Location of org.apache.struts.config.SecureActionConfig

2004-09-16 Thread Mark Benussi
Am using the Struts sslext based on advice from several of you. However when I change my struts config to use the class: org.apache.struts.config.SecureActionConfig i.e. I get The following exception was logged java.lang.ClassNotFoundException: org.apache.struts.config.SecureAc

JSP action form/property names

2004-09-16 Thread David Whipple
If I have a JSP which has a form, I can reference the ActionForm fields like this: This is nice because the JSP does not need to know what the form name it is using. However, if I want to print some plain text, I have not found a way to do it other than: or

SV: Prevent autocompletion in html:text

2004-09-16 Thread Claus Weng - TELMORE
You are partial right. But in the input tag (HTML) it's possible to add an attribute: AUTOCOMPLETE="off". This dont work in all browsers, but it works in IE. Med venlig hilsen Claus Weng, Teamleder TELMORE A/S Carl Gustavsgade 3, 2630 Taastrup Telefon 43327082, Mobil 30242875 www.telmore.dk

RE: Prevent autocompletion in html:text

2004-09-16 Thread Slattery, Tim - BLS
> Does anyone know how to prevent autocompletion in the > html:text tag?? That's done by the browser, and is under the control of the user. Struts runs server-side, and has no control over this. -- Tim Slattery [EMAIL PROTECTED] ---

Checkbox Initialization

2004-09-16 Thread bmf5
I'm obviously not understanding something. I've got a requirement to initially display a blank form with some checkboxes checked. What I have is a TakeoverAuditAssignmentForm with a setDefaults() method that sets the checkboxes to true. My NewDealerAction calls the setDefault() method then g

RE: html:options Help

2004-09-16 Thread Priya Jotwani
Thanks for the Reply Amar ! See, I have a property called 'availableFunds' in my ActionForm(named myForm) and a getAvailableFunds() which returns an ArrayList. Now if I want to populate my ListBox using the same logic, this is what should be doing. Please validate if I'm thinking on the correct l

"Structured" form data

2004-09-16 Thread DGraham
Slightly OT, but I'm stumped. I've got some dhtml to allow a user to build a "tree" object (basically, a b-tree) but, for the life of me, I CAN'T figure out how this structure data can be represented on a form.  Well, I've come up with algorithm to transform this structure to a string and then pa

Re: How To Handle Mis-Typing of URL By Users

2004-09-16 Thread Caroline Jen
Hi, I prepared the error404.jsp (simply typed in a warning sentence) and placed the file in the AppName/WEB-INF/web.xml file this way: index.jsp 404 /error404.jsp /tags/struts-bean /WEB-INF/lib/struts-bean.tld I tested mis-typing. But, my sentence;

OT - tags in the archive text

2004-09-16 Thread bmf5
How do I send a question & include code so that the tags aren't parsed by the browser in the archives? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: html:options Help

2004-09-16 Thread Jirole, Amar
Here is sample usage for Country drop down. Where countryId is property on you form, countryOptions is bean name which holds collection of objects of class country with properties id and name. HTH -Amar -Original Message- From: Priya Jotwani [mailto:[EMAIL PROTECTED] Sent: T

Prevent autocompletion in html:text

2004-09-16 Thread Claus Weng - TELMORE
Hi, Does anyone know how to prevent autocompletion in the the html:text tag?? Med venlig hilsen Claus Weng, Teamleder TELMORE A/S Carl Gustavsgade 3, 2630 Taastrup Telefon 43327082, Mobil 30242875 www.telmore.dk - To unsubs

Re: ??? STRUTS 1.2.4 FEEDBACK ???

2004-09-16 Thread drago . jenko
Works fine for me too. (Runing on WAS 5.0) Drago "Niall Pemberton"

RE: Parsing error processing resource path

2004-09-16 Thread Charl Gerber
Brilliant, it worked. Thanks a lot. Charl --- "David G. Friedman" <[EMAIL PROTECTED]> wrote: > Charl, > > Try adding redirect="true" to force that URL to > redirect the client's > browser so that forward isn't going internally to > Struts. If you do, just > remember to put anything important

RE: Parsing error processing resource path

2004-09-16 Thread David G. Friedman
Charl, Try adding redirect="true" to force that URL to redirect the client's browser so that forward isn't going internally to Struts. If you do, just remember to put anything important in the Session scope or it'll be lost during the HTTP redirect (for that particular forward). Regards, David

Re: OT: file chooser

2004-09-16 Thread Michael McGrady
andy wix wrote: Hi, I am going to implement a file upload facility and, from the archives, see that Jakarta commons file upload will do the trick. Does anyone know of any 'file select' functionality for the client side? Cheers, Andy

Re: Think I'm stuck with using Session scope for this..unless a better idea?

2004-09-16 Thread Rick Reumann
Thanks for the detailed info Niall. I might try something like this. Niall Pemberton wrote the following on 9/16/2004 3:15 AM: Sorry, should have read the whole thread - I missed the fact you don't have control of FooBar. You're probably right, session scope is probably the easiest, although you co

Parsing error processing resource path

2004-09-16 Thread Charl Gerber
Hi, I have an action defined with a Ie, forwarding to a 'normal' servlet. This causes struts to throw "Parsing error processing resource path". If I replace the path with something more normal (without the parameters), it works. Any ideas why struts cannot parse this path string? Thanks ---

customized webs and advanced localization

2004-09-16 Thread Mato Mira, Fernando
I have started looking at Struts, and it seems to have aserious shortcoming with respect to the customization of web pages: One of our main services offers a standardized, as well as custom interfaces, so for example the standard service is accessed via http://www.datastarweb.com/ , but a company

RE: Can anyone recommend a UK based Tomcat Struts MySql hosting solution?

2004-09-16 Thread Daniel Perry
Personally, i've never used shared tomcat/struts/mysql hosting. We use uk2 (http://uk2.net/) dedicated servers. Cheapest ones are £29 per month (3 years up front tho!) for an intel 2.4ghz, 512mb ram, 40gb hdd server with fedora. Easy enough to set up tomcat on it, and works a treat! Initialy bou

RE: html:options Help

2004-09-16 Thread Priya Jotwani
I have seen the Struts Documentation for the same but couldn't really gather much !! Can someone give me an example of using TIA, Priya -Original Message- From: Priya Jotwani Sent: Wednesday, September 15, 2004 8:27 PM To: [EMAIL PROTECTED] Subject: html:options Help Can somebody give

Validator question

2004-09-16 Thread Marco Mistroni
Hi all, I have following issue with Validator I have a form that has, between other fields, two fields, destinationReference and destinationName. destinationName is required only when destinationReference is null AND the parameter 'buttonSelected' is 'find' destinationReference is ALWAYS

Can anyone recommend a UK based Tomcat Struts MySql hosting solution?

2004-09-16 Thread Mark Benussi
Subject says it all Does anyone have any good or bad recommendations. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How To Handle Mis-Typing of URL By Users

2004-09-16 Thread Craig McClanahan
On Wed, 15 Sep 2004 13:06:01 -0400, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Place this stancza below your welcome-file-list in your web.xml. You can > use a static HTML page or a JSP. > > > 404 > /error404.jsp > > In a servlet 2.4 environment, you could also map this condition di

Wizard back button solution

2004-09-16 Thread Langdon Stevenson
I hit a wall with validation in my wizard today. The Next and Cancel functionality worked fine, validating using automatic validation and forwarding just fine, and canceling when Cancel was clicked. The problem was with the Back button. As it was a regular Image Submit button it caused the vali

  1   2   >