modules and tiles

2003-09-02 Thread Nathan Coast
Hi, is it be possible to configure layouts using tiles-defs.xml when using multiple modules? I had a go but couldn't get it to work. The configuration I tried was two modules each with their own tiles-defs layout configuration file. Also, is there an example app that uses modules (with or wi

Problem switching to Struts 1.1...Solved (Thanks Sgarlata)

2003-09-02 Thread Marco Tedone
Yes, thanks, this is the key!! I had in my commons-logging.properties file the following line: org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4jLogger which messed everything up. I changed to what you suggested and now everything works fine. Thanks, Marco Yes, this does loo

Struts and XHTML...Problem solved (Thank you David)

2003-09-02 Thread Marco Tedone
Hi, I applied the updated you suggested and now the documents are well-formed. Thanks! Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Bad URL transformation with Opera Browser and frames

2003-09-02 Thread Jose Ramon Diaz
Hi all, I have an action frames.fo, which load a frame according to some arameters. It works rigth in explorer and Netscape, but when I load the URL in Opera browser, the pages URL of each frame is changed and it´s added the "WEB-INF/jsp" directory in the URL. I mean, for example, if the frames

RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundled with Struts 1.1]

2003-09-02 Thread Andrew Hill
Thanks Craig, but I think Im still not grokking it fully. Put your replacement parser into the "JDK Extensions" directory, either $JAVA_HOME/jre/lib/ext or whatever directory you define on the command line with the "java.endorsed.dirs" system property. This is how Tomcat 4.1, 5.0, and

RE: Help needed in using the file upload to databse tag

2003-09-02 Thread Andrew Hill
Thats strange. It doesnt seem very urgent to me mate. http://www.catb.org/~esr/faqs/smart-questions.html I was thinking of letting my reply sit in the 'drafts' folder for a while before sending it, but what with the wierd list behaviour at the moment I figure it will be ages till the reply arrives

RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versionsbundled with Struts 1.1]

2003-09-02 Thread Craig R. McClanahan
On Wed, 3 Sep 2003, Andrew Hill wrote: > Date: Wed, 3 Sep 2003 11:58:13 +0800 > From: Andrew Hill <[EMAIL PROTECTED]> > To: Craig R. McClanahan <[EMAIL PROTECTED]> > Cc: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions > bu

Help needed in using the file upload to databse tag

2003-09-02 Thread SriDevi C
Hi All, I am new to using Struts. I want to use struts in uploading a file to database.Kindly guide me in this regard. Kindly let me know which tld file to copy and where to copy and what is the tag to use etc It would be very kind of you if anyone can give me a sample code. I am developing

Using a custom ActionForward subclass

2003-09-02 Thread Andrew Hill
Im trying to make use of my own subclass of ActionForward (or subclass of ForwardingActionForward to be precise). Ive set the type in the appropriately: That seems to work ok. (Ive not actually tested that its really instantiating the subclass for the global forwards yet, just taking it on fait

RE: Tabindex missing in generated code.

2003-09-02 Thread deepaksawdekar
Thanks mark, I tried it but its not working at my end. Even I tried to put sparrow, but in vain. I am using struts 1.1 , Can you please send me you code snippet. Deepak .. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 11:10 PM To: Struts

RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundled with Struts 1.1]

2003-09-02 Thread Andrew Hill
In other words, if Im running on a 1.4 JVM, _all_ the applications running in that container _must_ share the same parser? :-( -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 11:54 To: Andrew Hill Cc: Struts Users Mailing List Subjec

Re: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versionsbundled with Struts 1.1]

2003-09-02 Thread Craig R. McClanahan
On Wed, 3 Sep 2003, Andrew Hill wrote: > Date: Wed, 3 Sep 2003 11:21:55 +0800 > From: Andrew Hill <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions > bundled with Struts 1.1] > >

Is there a way to disable the browser's Back button without sending an http request?

2003-09-02 Thread Jing Zhou
It looks to me the answer is NO, although we could use Java script location.replace('url'). But the statement sends out an http request. I would like to know if there is a different answer to it. Jing Netspread Carrier http://www.netspread.com

FW: help: request.getParameter("action")

2003-09-02 Thread hari_s
How about if you use 3 different jsp file... You can use 3 with 3 different value For example : , , , and in Action class you can use this code : Assumption your ActionForm name is ActForm.. And your action class is act...

[OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundled with Struts 1.1]

2003-09-02 Thread Andrew Hill
So whats the deal with XML parsers? For example lets say I need my web app to use xerces-1.4.3 as later versions have various bugs with some of the things Im trying to do (for example xerces-1.4.4's Document.cloneNode() is screwed, and 2.something's EntityResolver gets fed incorrect info, etc... (

RE: how can I get Chekbox value

2003-09-02 Thread hari_s
-Original Message- From: Budi Rostiarso [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:03 AM To: [EMAIL PROTECTED] Subject: RE: how can I get Chekbox value halo mas hari, barusan baca2 mail dari struts-list, ternyata ada rekan dari indonesia juga yah. Pengen bantu nih,

RE: help: request.getParameter("action")

2003-09-02 Thread Andrew Hill
Firstly I should point out that naming a field (and a submit button qualifies in this category) on your form "action" is a very bad idea (as it shadows the action property of the form object in the client side object model - so if you ever need to play with a forms action path in javascript on the

Re: Warning: Page has Expired The page you requested was created using information

2003-09-02 Thread Jing Zhou
In Struts, if you set the nocache property in ControllerConfig to true then for each http response the no-cache http header is set. In browsers, you could use the meta element to set the same http header, which, I believe, will override servers' setting if any. One of confusing thing is that if yo

RE: how can I get Chekbox value

2003-09-02 Thread hari_s
Yes and this is the code.. - package pak; public class help { private String nilai,nama; public help(String nilai,String nama ) { setNilai(nilai); setNama(nama); } public String getNilai() { return nilai; } public vo

RE: how can I get Chekbox value

2003-09-02 Thread Mohd Amin Mohd Din
Just checking, in your action before putting 'halForm' in a scope, was there any value for 'nilai' in 'tanda'? -Original Message- From: hari_s [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:49 AM To: 'Struts Users Mailing List' Subject: RE: how can I get Chekbox value I'

RE: how can I get Chekbox value

2003-09-02 Thread hari_s
I'm already try that tips but it's didn't work, I can't get the value from > Any other idea, but anyway thank you for the tips. This is my complete code in jsp:   I want to view the value from bean write with the following code and it's didn't appear... and this is my formAct

Re: Struts html tags and XHTML 1.0....Again

2003-09-02 Thread David Graham
--- Mark Lowe <[EMAIL PROTECTED]> wrote: > I guess this bug was fixed , at least with the html:base tag. So it > will be a matter of upgrading struts to a version where this has been > fixed. Struts 1.1 shipped with this functionality. David > > Likewise the form elements, the source that app

Re: Struts html tags and XHTML 1.0....Again

2003-09-02 Thread Mark Lowe
I guess this bug was fixed , at least with the html:base tag. So it will be a matter of upgrading struts to a version where this has been fixed. Likewise the form elements, the source that appends /> or > is all there in the latest source. So I guess its a matter of updating your struts. You'l

RE: [OT] Scheduling

2003-09-02 Thread Adam Levine
http://www.part.net/quartz.html > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: 01 September 2003 06:37 > > To: [EMAIL PROTECTED] > > Subject: [OT] Scheduling > > > > > > Hi All, > > What would be the best implementation for scheduling a job in > >

Re: Warning: Page has Expired The page you requested was created using information

2003-09-02 Thread Mark Lowe
Another guess for the mix.. but have you checked the <%@ page language="java" %> for any differences between the ones that do and those that don't? There's a cache attribute (or something like that). Could be donkey's jiz you never know. Cheers Mark On Tuesday, September 2, 2003, at 10:23 P

Re: Struts html tags and XHTML 1.0....Again

2003-09-02 Thread Mark Lowe
It is a tad strange that the tags don't close as valid xhtml. There is a mechanism for this in the source of BaseTag in the renderBaseElement method. .. if (TagUtils.getInstance().isXhtml(this.pageContext)) { tag.append(" />"); } else { tag.append(">"); } .. I guess its j

Re: Migrating to struts

2003-09-02 Thread Mark Lowe
On Tuesday, September 2, 2003, at 10:01 PM, Adam Hardy wrote: Man, I'd just start again from scratch if I could. Wouldn't we all. Not sure thats very realistic, but if you've the biggest budget in the world then i guess it would be okay. But then if you're pulling that kind of revenue in i doubt

RE: [OT] Scheduling

2003-09-02 Thread Hue Holleran
Yep, sure. As for configuring cron - I think someone else has already posted this. My preferred option is to use wget: wget --non-verbose --output-document=- http://www.host.tld/page.ext $1 $2>/dev/null I use the following bash script - which allows notification if a process fails a configurable

RE: basic struts question...

2003-09-02 Thread David Friedman
Pady, Your external url of http://myserver/taglib/jsp/submit.do, suggests your application is mapped to "/taglib/". That means your directory structure should be: taglib/jsp taglib/WEB-INF/struts-config.xml taglib/WEB-INF/web.xml taglib/WEB-INF/classes taglib/WEB-INF/lib (and so forth Then your

RE: Warning: Page has Expired The page you requested was created usinginformation

2003-09-02 Thread Anand M S
No, i'm not using any proxy, and I'm still not able to find out how to set browser cache option, I was trying, but I could not find that option. From: "David Friedman" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]

Re: Warning: Page has Expired The page you requested was created usinginformation

2003-09-02 Thread Anand M S
Yep, Thats right, I'm using From: "Sgarlata Matt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Warning: Page has Expired The page you requested was created using information Date: Tue, 02 Sep 2003 17

Re: Warning: Page has Expired The page you requested was createdusing information

2003-09-02 Thread Sgarlata Matt
Are the pages where this is happening the ones that are using form posts? I believe that post is the default when you use the tag. Matt Anand M S wrote: but its happening only for few pages, I'm sure I did not configured in struts-config.xml. Thanks, Anand From: Adam Hardy <[EMAIL PROTECTE

RE: Warning: Page has Expired The page you requested was created using information

2003-09-02 Thread David Friedman
Anand, Is your browser cache setting set to check the page every time, "automatically", or some other option? Is your browser set to use a proxy or cache, or are you behind a transparent (no settings needed as pages are simply intercepted) corporate proxy server? Can you try using a HTTPS:// url

Re: Warning: Page has Expired The page you requested was created usinginformation

2003-09-02 Thread Anand M S
so how to fix this problem, meta tags will be added automatically to the header? but the its happening only for few pages of the app. From: Adam Hardy <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Warn

Re: Warning: Page has Expired The page you requested was created usinginformation

2003-09-02 Thread Anand M S
but its happening only for few pages, I'm sure I did not configured in struts-config.xml. Thanks, Anand From: Adam Hardy <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Warning: Page has Expired The page

Weird messages sent to tomcat from struts tags

2003-09-02 Thread David Erickson
Hi all was just looking at what we are logging and we are getting a bunch of stuff from struts tags it appears.. but I do not know what is causing it, here is what we get in tomcat's console: Sep 2, 2003 3:19:56 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='com.fg

RE: basic struts question...

2003-09-02 Thread Pady Srinivasan
I tried all the changes recommended here, but it doesn't work. I hope you meant changing to That didn't work. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 4:32 PM To: Struts Users Mailing Lis

Re: Struts html tags and XHTML 1.0....Again

2003-09-02 Thread David Graham
Place this at the top of your page: David --- Marco Tedone <[EMAIL PROTECTED]> wrote: > Hi, I discovered that not only the tag doesn't render a tag > closure but also all the elements (text, password and so > on). > This unfortunately results in a document which is not valid conforming > to >

Re: Warning: Page has Expired The page you requested was createdusing information

2003-09-02 Thread Adam Hardy
Sometimes the meta tags are in the page header with cookies etc so you don't see them in the source code. For instance, struts can be configured to do this for all pages in a webapp. On 09/02/2003 09:56 PM Anand M S wrote: I'm not sure how to enable or disable the caching from browser, even if

Struts html tags and XHTML 1.0....Again

2003-09-02 Thread Marco Tedone
Hi, I discovered that not only the tag doesn't render a tag closure but also all the elements (text, password and so on). This unfortunately results in a document which is not valid conforming to the XHTML 1.0. Would it be possible to add the HTML tags closure for the tags? The fugure of HTML s

Re: Migrating to struts

2003-09-02 Thread Adam Hardy
Man, I'd just start again from scratch if I could. Migrating a taglibs-based app across to a struts-framework could unleash all sorts of difficult problems. Adam On 09/02/2003 06:10 PM Mark Lowe wrote: I don't know of a url. but I'd start with just using you jsp's as they are, and then map all

Re: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Adam Hardy
Guess I should have seen that earlier, but thanks. Hits the nail right on the head. On 09/02/2003 06:25 PM Craig R. McClanahan wrote: On Tue, 2 Sep 2003, Adam Hardy wrote: On a related subject, what criteria does one use to decide whether to put these in tomcat's commons/lib directory, or in th

Re: renders an invalid XHTML 1.0 output

2003-09-02 Thread David Graham
Nest the tag within or put before the base tag. David --- Marco Tedone <[EMAIL PROTECTED]> wrote: > Hi, I found myself visiting the following site: > > http://validator.w3.org/ > > I'm using JSP with tiles and actually running the validation through > this > site has been very useful. At the

RE: basic struts question...

2003-09-02 Thread Mark Galbreath
Specifically, the URL in your action path in struts-config.xml. -Original Message- From: Bradley Handy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 4:28 PM To: Struts Users Mailing List Subject: RE: basic struts question... You need to append the ".do" extension to your re

RE: basic struts question...

2003-09-02 Thread Bradley Handy
You need to append the ".do" extension to your request URL. > -Original Message- > From: Pady Srinivasan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 02, 2003 3:35 PM > To: [EMAIL PROTECTED] > Subject: basic struts question... > > > > If I have an action-mapping defined as > >

renders an invalid XHTML 1.0 output

2003-09-02 Thread Marco Tedone
Hi, I found myself visiting the following site: http://validator.w3.org/ I'm using JSP with tiles and actually running the validation through this site has been very useful. At the end I solved all the problems but one: Below are the results of attempting to parse this document with an SGML pa

[OT] Profiling web apps

2003-09-02 Thread Susan Bradeen
I am using the Profiling Tool that comes with WSAD 5.1 to profile my Struts application. I have no problems with collecting data, but I'm not sure how to analyze it. Nothing seems to really stick out in terms of long load/process times, but I am sure this application is far from perfect. I hav

Re: Warning: Page has Expired The page you requested was created usinginformation

2003-09-02 Thread Anand M S
I'm not sure how to enable or disable the caching from browser, even if its disabled, the behaviour should be the same for all the pages, but only few pages I'm getting this messages. From: "Sgarlata Matt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts

Re: basic struts question...

2003-09-02 Thread Sasha Borodin
If your context root is /taglib, then you should specify the action mapping relative to this root - /jsp/submit. -Sasha > From: Pady Srinivasan <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Tue, 2 Sep 2003 15:34:54 -0400 > To: [EMAIL PROTECTED] > Subject:

basic struts question...

2003-09-02 Thread Pady Srinivasan
If I have an action-mapping defined as When I access http://myserver/taglib/jsp/submit.do I get an error Invalid path "/jsp/submit" was requested. My web.xml does have *.do mapped to ActionServlet. What am I doing wrong ? Thanks -- pady [EMA

Re: Warning: Page has Expired The page you requested was createdusing information

2003-09-02 Thread Sgarlata Matt
Do you have the browser's cache disabled in your browser? If that's not what's causing the message then I'm stumped :) Matt Anand M S wrote: I looked into code, I did not have any meta tags in my code, but still the cache is disabled. From: "Sgarlata Matt" <[EMAIL PROTECTED]> Reply-To: "Str

Re: Warning: Page has Expired The page you requested was created usinginformation

2003-09-02 Thread Anand M S
I looked into code, I did not have any meta tags in my code, but still the cache is disabled. From: "Sgarlata Matt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Warning: Page has Expired The page you r

How to reset servlet in ActionForm

2003-09-02 Thread Sasha Borodin
I'm really at my wit's end on this, I can't believe no one's ran into this problem before... How does one reset the servlet transient variable of an ActionForm? It's null after serialization. And why does the programmer have to do this? -Sasha -

Re: Warning: Page has Expired The page you requested was createdusing information

2003-09-02 Thread Sgarlata Matt
Here is the beginning of one of my web pages... EBS Plans & Programs - Link Detail View Matt Anand M S wrote: Thanks for your reply Matt. Please can you provide code sample of meta tags. Thanks, Anand From: "Sgarlata Matt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Maili

RE: Bars Graph

2003-09-02 Thread Richard Mixon (qwest)
If you need relatively standard bar charts/graphs then one of the suggested charting packages is best. However if you need to do anything non-standard and end up needing to roll-your-own, we have found using SVG (Scalable Vector Graphics) to be relatively easy to generate from Struts. Its just ano

RE: Bars Graph

2003-09-02 Thread Mike Jasnowski
>From there and From there... sorry for the bad grammar -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 2:37 PM To: Struts Users Mailing List Subject: RE: Bars Graph Their demo code was enough for me to see how to set up some pretty

RE: Bars Graph

2003-09-02 Thread Mike Jasnowski
Their demo code was enough for me to see how to set up some pretty good graphs. From their javadoc was good enough. From their the rest is pretty easy. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 12:18 PM To: Struts Users Mailing List

Re: Warning: Page has Expired The page you requested was created usinginformation

2003-09-02 Thread Anand M S
I do not have any meta tags, but still my browsers cache is disabled in some cases. Thanks. From: "Sgarlata Matt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Warning: Page has Expired The page you

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Erez Efrati
At least by the struts srcs build.properties it's 2.0.6 and later HTH, Erez -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 3:41 PM To: Struts Users Mailing List Subject: RE: Commons Versions bundled with Struts 1.1 btw: Anyone have a clu

Re: Warning: Page has Expired The page you requested was created usinginformation

2003-09-02 Thread Anand M S
Thanks for your reply Matt. Please can you provide code sample of meta tags. Thanks, Anand From: "Sgarlata Matt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Warning: Page has Expired The page you requ

Re: ANYONE Know How To Validate Nested Form Beans?

2003-09-02 Thread Mark Lowe
Okay Sorry i took a while i forgot about it. So we've a nested user bean as a form property //struts config //in validator .. //jsp Cheers Mark On Monday, September 1, 2003, at 05:55 PM, Terry Brick wrote: Well it seems to be a mystery still whether it does or does not. Sounds like Mark h

Re: Warning: Page has Expired The page you requested was createdusing information

2003-09-02 Thread Sgarlata Matt
I think that happens when you combine a form POST with meta tags that specify to the web browser that cacheing of the web page shoudl be disabled. Matt Anand M S wrote: Hi All, Its not related to struts, but I need help. If I submit a form and if I come back using browser back button browser d

Warning: Page has Expired The page you requested was created using information

2003-09-02 Thread Anand M S
Hi All, Its not related to struts, but I need help. If I submit a form and if I come back using browser back button browser displaying the following message, but it not consistent all the times, please can anybody tell when the browser displays the following message. Warning: Page has Expired T

Re: Tabindex missing in generated code.

2003-09-02 Thread Mark Lowe
After seeing your posting I gave it a go, and it worked.. My understanding is that its just an attribute thats passed straight through nothing clever going on, it should even work if you don't stick a number in there. For example try tabindex="sparrow" and it should render okay. Although any j

RE: Bars Graph

2003-09-02 Thread Mark Galbreath
yeahsure. JFreeChart may be free but unless you are a friggin genius, you have to pony up $150 for the documentation in order to be able to use it. Mark -Original Message- From: Ronald Rotteveel [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 11:41 AM To: Struts Users Mai

Re: Bars Graph

2003-09-02 Thread Vijay Pawar
Hi Ronald, See this link, http://www.javaside.com/asp/mus.asp?page=/us/tchart.shtml Its good ! Caio Vijay Hello, I'm not going to say anything about choosing struts is the right choice. And I think some people won't call it a TOOL, it's more like a framework... What I can say is somet

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread David Graham
--- Wendy Smoak <[EMAIL PROTECTED]> wrote: > Adam wrote: > > On a related subject, what criteria does one use to decide whether to > > put these in tomcat's commons/lib directory, or in the webapp's own > lib > > directory when deploying? > > I've never considered putting them in a common area. I

Re: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Craig R. McClanahan
On Tue, 2 Sep 2003, Adam Hardy wrote: > > On a related subject, what criteria does one use to decide whether to > put these in tomcat's commons/lib directory, or in the webapp's own lib > directory when deploying? > http://jakarta.apache.org/struts/userGuide/configuration.html#config_add Craig

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Wendy Smoak
Adam wrote: > On a related subject, what criteria does one use to decide whether to > put these in tomcat's commons/lib directory, or in the webapp's own lib > directory when deploying? I've never considered putting them in a common area. I like my webapps to be as self-contained as possible, so

Re: Migrating to struts

2003-09-02 Thread Mark Lowe
I don't know of a url. but I'd start with just using you jsp's as they are, and then map all them all to forwards in struts-config. Struts console is useful and it validates config files also. So you'll then have a struts config file with or ( I think ) This will help to start thinking in a e

Re: Commons Versions bundled with Struts 1.1

2003-09-02 Thread David Graham
--- Adam Hardy <[EMAIL PROTECTED]> wrote: > On a related subject, what criteria does one use to decide whether to > put these in tomcat's commons/lib directory, or in the webapp's own lib > directory when deploying? Place all jars that come with Struts in your app's WEB_INF/lib directory. Strut

running processPreprocess

2003-09-02 Thread Jiri Chaloupka
Hallo, I need do some code in processPreprocess 9setting characted encoding for data from forms), so I do as I read in Programing Struts book: public class ExtActionServlet extends ActionServlet{ protected boolean processPreprocess(HttpServletRequest request,

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Norm Deane
The main consideration is whether or not you want all your applications to run on the same versions of these components. By putting them in commons/lib you are assuming all applications (running in this instance of Tomcat) will use the same component versions. I have on many occasions had applica

Problem with tiles and protected jsps

2003-09-02 Thread Wes Kubo
I originally had my jsps under WEB-INF to prevent them from direct access, which worked just fine. However, the standards I'm working with dictate that the jsps be located above WEB-INF. In order to prevent access to my jsps I added a security-constraint in web.xml, blocking access to the jsps. Unf

Re: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Adam Hardy
On a related subject, what criteria does one use to decide whether to put these in tomcat's commons/lib directory, or in the webapp's own lib directory when deploying? On 09/02/2003 03:44 PM Kris Schneider wrote: http://jakarta.apache.org/struts/userGuide/release-notes-1.1.html: Commons BeanU

RE: Bars Graph

2003-09-02 Thread Mike Jasnowski
I built such an app with Struts and JFreeChart, I would look at that charting lib. Other than that, there's nothing special about the web app. -Original Message- From: NYIMI Jose (BMB) [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: Bars

Tabindex missing in generated code.

2003-09-02 Thread deepaksawdekar
Hi, I am using tabindex to set my tab sequence. jsp as a code . . Create new . . Generated html code for the above jsp is Create new ... missing tabindex am i doing something wrong... Deepak - To unsubscribe, e-mail

Re: Bars Graph

2003-09-02 Thread Ronald Rotteveel
Hello, I'm not going to say anything about choosing struts is the right choice. And I think some people won't call it a TOOL, it's more like a framework... What I can say is something about the Bars Graph tool/library you need. I personally think that http://www.jfree.org/jfreechart/index.html i

Hash Backed Forms and the displaytag lib

2003-09-02 Thread Mehta, Chirag (IT)
Is it possible to use the displaytag lib with a collection of map-backed or list-backed actionforms? If so how would you do it? Thanks Chirag -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

RE: Migrating to struts

2003-09-02 Thread Edgar P Dollin
This would depend how your application was architected. If you do ONLY jsp (i.e. sql and logic in the page), then basically you are re-writing the application by cutting back-end code out of your jsp pages and creating business logic classes and action class. If your application is reasonably wel

Bars Graph

2003-09-02 Thread NYIMI Jose (BMB)
Hello, I have following needs: * parse a text files on daily basis * put the result into database * buit a web application upon above database * provide the client a web form where he can choose which graph to see * on submit, connect to database, plot the graph(bars) and render it to the client

help: request.getParameter("action")

2003-09-02 Thread yan
I am using a single jsp (registration.jsp) that can be used in one of three different ways: 1. create a new registration, user clicks on hyperlink 2. edit existing registration details, user clicks on hyperlink 3. user confirms a new registation or confirms update existing details (i.e registr

RE: How to get the url containing anchor from request

2003-09-02 Thread Hue Holleran
Hi Marius, I wondered this too - so I had a look. I think the problem here is more of a HTTP one - if you use netcat - one of my most favouritest tools, available from: http://www.atstake.com/research/tools/network_utilities/ ... and run netcat with the following command: X:\>nc

Re: Calendar Popup taglib

2003-09-02 Thread Vic Cekvenich
It works great in Servlet 2.3. But when I change web-inf to Servlet 2.4 (which works w/JSTL 1.1, display tag 0.9, latest struts menu, html-el, tiles, etc.) I get attached error. Any news? .V Kruse, Matt wrote: I now have a (very beta) version of the calendar popup taglib available for download a

RE: Migrating to struts

2003-09-02 Thread Wendy Smoak
> i asked this question previously and i havent got reply... > I need to know how best can we migrate from present running > application which uses jsp[and lot of custom taglibs] to struts... > Any url reference would also be usefull Thanks in advance Prashanth The question is too vague for any

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Erez Efrati
At least by the struts srcs build.properties it's 2.0.6 and later HTH, Erez -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 3:41 PM To: Struts Users Mailing List Subject: RE: Commons Versions bundled with Struts 1.1 btw: Anyone have a clu

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Kris Schneider
Pretty sure it's 2.0.7 Quoting Andrew Hill <[EMAIL PROTECTED]>: > btw: Anyone have a clue as to the version for the "jakarta-oro" jar? > (Its manifest doesnt say) > > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 2 September 2003 21:31 > To: Struts > S

Re: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Kris Schneider
http://jakarta.apache.org/struts/userGuide/release-notes-1.1.html: Commons BeanUtils 1.6.1 Commons Collections 2.1 Commons Digester 1.5 Commons FileUpload 1.0 Commons Lang 1.0.1 Commons Logging 1.0.3 Commons Validator 1.0.2 Quoting Andrew Hill <[EMAIL PROTECTED]>: > Ive been trying to find out t

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Andrew Hill
btw: Anyone have a clue as to the version for the "jakarta-oro" jar? (Its manifest doesnt say) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 21:31 To: Struts Subject: Commons Versions bundled with Struts 1.1 Ive been trying to find out the

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Andrew Hill
Doh! Howd I miss that? Right under my nose the whole time! Thanks Kris! :-) -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 21:44 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Commons Versions bundled with Struts 1.1 http

RE: Struts plugins and modules

2003-09-02 Thread Carlos Sánchez
I know how to extend tiles definitions from the same module, but I don't know how to do that with definitions from other modules. > -Mensaje original- > De: Mark Lowe [mailto:[EMAIL PROTECTED] > Enviado el: martes, 02 de septiembre de 2003 14:36 > Para: Struts Users Mailing List > Asunto:

Re: Struts + JSTL integration

2003-09-02 Thread David Graham
--- Carlos_Sánchez <[EMAIL PROTECTED]> wrote: > Hi > > Have messages been integrated with JSTL so I don't needed to declare > them in > web.xml for JSTL and in struts-config.xml for Struts? You still need to declare them in both places. The Struts 1.x series is based on Servlet 2.2 which prevent

RE: validating mapped properties

2003-09-02 Thread Gandle, Panchasheel
Here iit is, let me know how it works for you its three parts... MapValidator Class entries in validation.xml entries in validator-rules.xml Here iit is, let me know how it works for you its three parts... MapValidator Class entries in validation.xml entries in validator-rules.xml let me know h

RE: ActionForward usage

2003-09-02 Thread Andrew Hill
When you lookup the ejb in your LogonAction you can create a bean wrapping that info (or even just reuse the EJB bean) and you store this bean under a request attribute (not parameter). Make sure your success forward is a non-redirecting forward and this means the forward will be a server side. In

Commons Versions bundled with Struts 1.1

2003-09-02 Thread Andrew Hill
Ive been trying to find out the versions of the commons libraries bundled with Struts 1.1 Final, but haven't found where its definitively documented (links welcome please!) I went through the various manifest files and got this, but Im not sure how up to date the manifests are: struts 1.1 (Yeh. O

Migrating to struts

2003-09-02 Thread Prashanth.S
Hi all, i asked this question previously and i havent got reply...I need to know how best can we migrate from present running application which uses jsp[and lot of custom taglibs] to struts... Any url reference would also be usefull Thanks in advance Prashanth --

AW: How to pre-populate - Husted post doesn't work (or I'm implementing it wrong)

2003-09-02 Thread sem . Gottofrey
Hi, didn't you forgot the .do? http://localhost/account/setup/pre.do Robert > -Ursprüngliche Nachricht- > Von: David Thielen [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 2. September 2003 00:55 > An: Struts-Users > Betreff: How to pre-populate - Husted post doesn't work (or I'm > imp

RE: How to pre-populate - Husted post doesn't work (or I'm implementing it wrong)

2003-09-02 Thread Hue Holleran
Hi David, Try the following explanation: http://marc.theaimsgroup.com/?l=struts-user&m=106123062505746&w=2 > -Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] > Sent: 01 September 2003 23:55 > To: Struts-Users > Subject: How to pre-populate - Husted post doesn't work (or

[OT] Invoking a Task.

2003-09-02 Thread rajendra . x . yadav
Hi All, I have defined a task using Timer and TimerTask. I am running a Web Application in Weblogic domain. I want to invoke this Task program fom somewhere. I don't want to use WL start up class and cannot put it in a load on startup. Please let me know what other options i have ? thanks -raj

Re: Struts plugins and modules

2003-09-02 Thread Mark Lowe
If you're saying what i think you are, inheritance works fine in tiles. You have one definition that specifies the layout and then have the sub definitions extend your initial one. Cheers Mark On Tuesday, September 2, 2003, at 10:45 AM, Carlos Sánchez wrote: Hi. I'm using Struts modules (in 1

  1   2   >