Re: [OT]Help needed in wring regular expression

2004-06-16 Thread Navjot Singh
try this [1-9]|[0-9]{1}[0-9]{1,3} add rest of your many, few etc HTH navjot [EMAIL PROTECTED] wrote: Chris: thank you for your help. yes, I need to accept any leading zeros but it should be followed by any non-zero integer in that case. ([1-9][0-9]{0,3})|([Ff][Ee]

Re: how to find struts version

2004-06-16 Thread Eyup TEKIN
hi thanks. it uses 1.1 version sincerely - Original Message - From: "klute" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 5:15 PM Subject: Re: how to find struts version > if you have access to the struts.jar being migrated, > fi

Re: j2EE question

2004-06-16 Thread Navjot Singh
it seems this is big misconception that ejb == j2ee j2ee is not just ejb. It includes a lotmore like servlet/jsp/taglibs/jmx/jaxr/jms...so on Richard Raquepo wrote: Hi everyone, does using struts means your a j2ee programmer/developer? we have built our own OR library, used javamail, some threads,

Re: Rendering Images

2004-06-16 Thread mike
Hi, Niall, Could you amplify on your note about "the right headers"? Thanks! I hope to learn something from you on this one. Michael At 07:33 PM 6/16/2004, Niall Pemberton wrote: No! :-( This wouldn't be as simple as just adding an "imageNotFound" property and for it to work it wouldn't be desi

Navigation control.

2004-06-16 Thread Amit Kumar Sharma
Friends, How do we associate a form(JSP) which has got multiple values in each input field(s) with custom written ActionForm (or is there anything that is available in struts for this type of implementation). Does the allow type to be a JavaBean, Vector, ArrayList etc. If so, Which one would be

Re: The Same Action With and Without a Form

2004-06-16 Thread Caroline Jen
OKay, you caught my mistake. But, I already have String sort = request.getParameter( "sort" ); String order = request.getParameter( "order" ); in my servlet that extends Action. 'sort' and 'order' have been defined. I cannot add: String sort = BeanUtils.getProperty( form, "sort"); Stri

RE: The Same Action With and Without a Form

2004-06-16 Thread David Friedman
Caroline, You could always reference the API to check your method name and parameters. The Commons BeanUtils API can be found here: http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils /BeanUtils.html The api states the method and parameter are: --- s

Re: The Same Action With and Without a Form

2004-06-16 Thread Chris Cranford
Why does one line have getproperty and the other have getProperty ??? Both should read getProperty ;-) Chris - Original Message - From: "Caroline Jen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 11:36 PM Subject: Re: The Same Act

Re: The Same Action With and Without a Form

2004-06-16 Thread Caroline Jen
I am confused. First, the compiler complains about the statements: String sort = BeanUtils.getproperty( form, "sort" ); String order = BeanUtils.getProperty( form, "order" ); error: cannot resolve symbol symbol: method getProperty Note: I did import org.apache.commons.beanutils.BeanUtils;

Re: Html:messages tag (Resolved)

2004-06-16 Thread Niall Pemberton
I did elaborate in a code snippets. The tag is designed to have a body, and process it iteratively - in your example it will iterate over all messages with a property "x" processing the body of the tag for each message it finds. The reason your code works is by accident - it stores each message un

j2EE question

2004-06-16 Thread Richard Raquepo
Hi everyone, does using struts means your a j2ee programmer/developer? we have built our own OR library, used javamail, some threads, XML configurations,etc... what i know that is part of j2ee but we never actually used is EJB/CMP. and we only deploy our apps on Tomcat and/or Causho Resin...

Re: Rendering Images

2004-06-16 Thread Niall Pemberton
No! :-( This wouldn't be as simple as just adding an "imageNotFound" property and for it to work it wouldn't be desirable in this tag. The tag doesn't know whether the image exists or not, all it does is render the markup with the "src" attribute pointing to the location of the image - its then

RE: Html:messages tag (Resolved)

2004-06-16 Thread Betty Koon
I am sorry but I am not clear on what suggestion? Can you elaborate your suggestion in code snippnet. Thanks. In my case, I am sure, I will only have 1 message set up for property x. -Betty -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 20

Re: Html:messages tag (Resolved)

2004-06-16 Thread Niall Pemberton
This isn't the correct way to use . It iterates over either all the messages (if you don't specify a property) or all messages for a property storing each message as a page scope variable. The way your using it it will only display the last message (try putting two messages for property "x") - you

why I cant unsubscribe

2004-06-16 Thread Mu Mike
I sent a mail to [EMAIL PROTECTED], kept getting mail sending failure message. How can i unsubscribe? Thanks&Regards _ 免费下载 MSN Explorer: http://explorer.msn.com/lccn/

Re: Html:messages tag (Resolved)

2004-06-16 Thread Chris Cranford
Yup :-) ... that is correct ... :-) - Original Message - From: "Betty Koon" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 8:33 PM Subject: RE: Html:messages tag (Resolved) > I didn't know I have to do the following: > > > Msg=

RE: Html:messages tag (Resolved)

2004-06-16 Thread Betty Koon
I didn't know I have to do the following: Msg= -Betty -Original Message- From: Betty Koon [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 5:31 PM To: 'Struts Users Mailing List' Subject: RE: Html:messages tag I did, it doesn't help. Nothing get printed out at all. -Betty

Re: Html:messages tag

2004-06-16 Thread Chris Cranford
How are you creating the message inside your action? Can you post that code snippet? - Original Message - From: "Betty Koon" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 8:30 PM Subject: RE: Html:messages tag > I did, it doesn'

RE: Html:messages tag

2004-06-16 Thread Betty Koon
I did, it doesn't help. Nothing get printed out at all. -Betty -Original Message- From: Chris Cranford [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 5:27 PM To: Struts Users Mailing List Subject: Re: Html:messages tag Have you tried removing "property" from the messages tag

Re: Html:messages tag

2004-06-16 Thread Chris Cranford
Have you tried removing "property" from the messages tag to see if the message you're wanting to print out exists in the collection at all ? Hope this helps! Chris - Original Message - From: "Betty Koon" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wedne

Html:messages tag

2004-06-16 Thread Betty Koon
Hi All, I seem not to be able to get html:message print out the message I set up in the action at all. I have looked at the request attribute, it does contain the ActionMessages and I was able to retrieve the message for a particular property in my JSP, but the tag just doesn't work. Here is the

RE: getInputForward() question

2004-06-16 Thread Ram Venkataswamy
Yep, your colleague is right - input attribute is used to re-direct the control if validation fails - not for Success / user defined forwards V.K.Ram NitroX Struts Team -Original Message- From: Carl Fyffe [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 4:36 PM To: [EMAIL PRO

getInputForward() question

2004-06-16 Thread Carl Fyffe
For the past year or so, I have been using getInputForward() and the input attribute in the to define the "default" end point for that action. I did that because normally there is only one tile for the action to go to, so being lazy I wouldn't create a forward I would just use the input to act as

Re: The Same Action With and Without a Form

2004-06-16 Thread Chris Cranford
Correction to the two BeanUtils calls, it should be: String sort = BeanUtils.getProperty(form,"sort"); String order = BeanUtils.getPropety(form, "order"); But in either case it would yield the same result :-) Chris - Original Message - From: "Chris Cranford" <[EMAIL PROTECTED]> To

Re: The Same Action With and Without a Form

2004-06-16 Thread Chris Cranford
Hmm, checkin' something here :-) I defined a form just like the following form is defined below. I then defined an action mapping as follows: Then in my ChrisTestAction executeAction function, I did the following: String sort = BeanUtils.getSimpleProperty(form,"sort"); String or

Re: Resultsets and multi-check forms

2004-06-16 Thread Chris Cranford
There ya go! I knew you'd see my problem ;-) So I could have a form that contains: String[] checkedItemsRender; // Rendered collection String[] checkedItemsSubmit; // Submitted collection LabelValueBean[] pageItems; // data/id to show in form Then the form takes the checkedItemsRender and

RE: The Same Action With and Without a Form

2004-06-16 Thread Caroline Jen
The property of the 'initial' attribute inside the tag (i.e. initial="postDate") does not seem to become the default value. The query method (with sort and order among the parameters) that retrieve articles from the database got the NullPointerException. I know the query method works well becaus

getMessageResources in webLogic?

2004-06-16 Thread Jacob Weber
In my Struts app, I need to get data from a resource bundle. So I make a call to: MessageResources.getMessageResources("myFile") The file name is actually myFile_en_US.properties, and when I run this code on Tomcat, it's able to find the right file. But when I run the same code on WebLogic, i

Re: Resultsets and multi-check forms

2004-06-16 Thread DGraham
Ah ha.  I think I just understood the real problem; each subsequent submission of the form wipes out the current collection of selected checkboxes.  If that's your problem, then I believe you're going to have to modify the way you're modelling the collection of as well as the behavior of the acces

Re: Tiles problem

2004-06-16 Thread mike
At 12:54 PM 6/16/2004, Bob Thomas wrote: Here's the stack trace: java.lang.IllegalStateException: Cannot forward after response has been committed at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:371) at org.apache.catalina.core.ApplicationDi

Re: Tiles problem

2004-06-16 Thread James Mitchell
I typically use this kind of structure: (struts-config.xml) (tiles-defs.xml) -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Bob Thomas" <[EMAIL

Re: ServletContextListener

2004-06-16 Thread gdeschen
Sure, my idea of using a Bean in the application scope is to not have to do the creation of the List of months in every Action class and just reference the Bean in the application scope from the JSP page.. So I guess that the Action class can obtain the Months from the Bean in the application s

Re: Resultsets and multi-check forms

2004-06-16 Thread DGraham
Sounds like you're describing a struts Multibox: http://jakarta.apache.org/struts/userGuide/struts-html.html#multibox Ted Husted has a nice intro here: http://www.jguru.com/faq/view.jsp?EID=925277 Dennis   "Chris Cranford" <[EMAIL PROTECTED]> 06/16/2004 04:06 PM Please respond to "Stru

Re: Tiles problem

2004-06-16 Thread Joe Germuska
At 12:23 PM -0700 6/16/04, Bob Thomas wrote: When I do this ... ... I get the following error message: java.lang.IllegalStateException: Cannot forward after response has been committed What am I doing wrong? James' point is that if your servlet detects an error and you have a configured err

Re: Tiles problem

2004-06-16 Thread Bob Thomas
So, how do I get the result of main.do into a tile? How do developers typically get the results of a DispatchAction class method into a tile? James Mitchell <[EMAIL PROTECTED]> wrote:As mike mentionedyou should not be trying to forward after your /main.do completes. -- James Mitchell Soft

Re: Resultsets and multi-check forms

2004-06-16 Thread Chris Cranford
Sort-of Yes. We never really "persist" what is selected to any layer beyond the form because we're only gathering attributes that which are provided to our "search" action once all the selectable attributes. So from a technical use-case perspective I understand that: 1. Form session scoped for

Re: Tiles problem

2004-06-16 Thread James Mitchell
As mike mentionedyou should not be trying to forward after your /main.do completes. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Bob Thomas" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EM

Re: ServletContextListener

2004-06-16 Thread mike
You are using struts so, instead of calling a jsp page for the response, call an action class that sets an appropriate "months" in the request scope and forwards to your jsp page and then just call the correct "months" from request scope in the jsp page. At 12:47 PM 6/16/2004, [EMAIL PROTECTED]

Re: Tiles problem

2004-06-16 Thread Bob Thomas
Here's the stack trace: java.lang.IllegalStateException: Cannot forward after response has been committed at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:371) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.j

Re: Tiles problem

2004-06-16 Thread mike
I haven't looked at the flush in the tiles tag, but that may commit the response and, so, when you do the init with your /main.do?method=doInit" the forward at the end of your action is not possible. Something like that seems to be indicated by the error message. Do you have a stack trace? At

Re: ServletContextListener

2004-06-16 Thread gdeschen
My apologies for being unclear... Yes the Bean has one method called getMonths()... and in this method I will return the appropriate months based on the locale. It is just that getting/passing the Locale to the getMonths() in a JSP is not really elegant. JSP code: And wondering if there

Re: Struts/Lunar Pages/Resin Issues

2004-06-16 Thread mike
Yes, thanks. They had another instance of Resin setting before my website was initialized and when my website was initialized the Resin instance default port conflicted with the other instance. There was nothing wrong with my code or Struts. They just assumed that since Resin kept resetting

Re: Resultsets and multi-check forms

2004-06-16 Thread DGraham
You might want to re-present the problem.  When I read your email, it seemed like you were describing a typical use-case: 1. Get data from a persistent store 2. Populate form.  If attribute indicates "selected", preselect checkbox 3. Render form (allowing user to edit) 4. Persist edits. Dennis

Re: Resultsets and multi-check forms

2004-06-16 Thread Chris Cranford
I haven't seen any comments on this .. any ideas? > To broaden the prior discussion on resultset caching, I'd like to also ping > the group on the concept of being able to have this "resultset" of data and > paging through it but extendeding it to where a checkbox exists for each > viewable record

Re: Tiles problem

2004-06-16 Thread Bob Thomas
We have an error 404 page: 404 /error.jsp I'm not sure why the 'main.do?method=doInit()' doesn't get put into the tile. James Mitchell <[EMAIL PROTECTED]> wrote: Did you configure an error page in your web.xml? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc

Re: Struts/Lunar Pages/Resin Issues

2004-06-16 Thread DGraham
I'm curious.  Did you get this resolved? Dennis mike <[EMAIL PROTECTED]> 06/14/2004 02:57 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Developers List" <[EMAIL PROTECTED]>, "Struts Users Mailing List" <[EMAIL PROTECTED]> cc "Struts Developers Li

Re: Tiles problem

2004-06-16 Thread James Mitchell
Did you configure an error page in your web.xml? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Bob Thomas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 3:23 PM Subject: Ti

Re: ServletContextListener

2004-06-16 Thread mike
At 12:13 PM 6/16/2004, [EMAIL PROTECTED] wrote: Greetings, I have created a ServletContextListener that sets a Bean in the application scope. This Bean contains 2 list of Months... and these lists contain LabelValueBeans. My uncertainty is on the best way to get my JSP to use the appropriate List d

RE: Using a servlet code within Struts

2004-06-16 Thread Pingili, Madhupal
Yes. You can return null inside the Action's execute method just like follows: OutputStream out = response.getOutputStream(); out.write(data.getBytes()); //This action sends the response itself, so return null. return null; Reddy Pingili > -Original Message- >

RE: Rendering Images

2004-06-16 Thread mike
No worries, Ken. Seeing you thinking the same way was a bit edifying. I am not sure why people continue to use URLs when protocols will do and are so much general a solution. I use this, by the way, to convert all my jpegs to Flash inside ActionScript without having to introduce any image in

RE: Using a servlet code within Struts

2004-06-16 Thread mike
Just return null in the Action code. At 10:33 AM 6/16/2004, Kommana, Sridhar wrote: Look at it here: http://www.jguru.com/faq/view.jsp?EID=531024 -Original Message- From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 11:28 AM To: [EMAIL PROTECTED] Subject:

Tiles problem

2004-06-16 Thread Bob Thomas
When I do this ... ... I get the following error message: java.lang.IllegalStateException: Cannot forward after response has been committed What am I doing wrong? Thanks in advance, Bob - Do you Yahoo!? Take Yahoo! Mail with you! Ge

ServletContextListener

2004-06-16 Thread gdeschen
Greetings, I have created a ServletContextListener that sets a Bean in the application scope. This Bean contains 2 list of Months... and these lists contain LabelValueBeans. My uncertainty is on the best way to get my JSP to use the appropriate List depending on the locale. JSP code:

Newbie: Using Struts with JAAS?

2004-06-16 Thread charles gay
hi adam, if you want to use an inner java mechanism(included in j2se since java 1.4), well-suited like JAAS, you should look at http://sourceforge.net/projects/jguard/ jGuard helps you to use easily JAAS, in a pluggable manner, in your j2ee web application. you can with it,manage access and a

RE: help plz

2004-06-16 Thread Ram Venkataswamy
FYI: setting contextRelative=true is required only for switching modules (that is call to action defined in other module) V.K.Ram NitroX Struts Team -Original Message- From: Arif ERSIN [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 10:53 AM To: [EMAIL PROTECTED] Subject: he

RE: help plz

2004-06-16 Thread Ram Venkataswamy
Hi, Web.xml of Struts module need little extra configuration, basically the default struts-config.xml is defined as config parameter and then all the module struts config as config/moduleName. In your case you have to define struts-m1.xml in web.xml as below config/mod1 /WEB-INF/str

Re: How do I put a JSP via a DispatchAction class into a tile?

2004-06-16 Thread Ron Grabowski
> Date: Wed, 16 Jun 2004 16:50:17 +0200 > From: bojke <[EMAIL PROTECTED]> > To: Struts Users Mailing List > <[EMAIL PROTECTED]>, >[EMAIL PROTECTED] > Subject: How do I put a JSP via a DispatchAction > class into a tile? > > I understand how to put a static page into a tile > ... > >

help plz

2004-06-16 Thread Arif ERSİN
Hi all, I have a problem, I was split my application to 3 modules. They have a configuration file, struts-m1.xml struts-m2.xml struts-m3.xml and one global conf. file struts-congig.xml. I am define action in struts-m1.xml, like this, in we

R: Using a servlet code within Struts

2004-06-16 Thread Amleto Di Salle
Hi, you can return null inside the Action as ActionForward. In this case Struts doesn't dispatch the request to view. BR Amleto -Messaggio originale- Da: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] Inviato: mercoledì 16 giugno 2004 18.28 A: [EMAIL PROTECTED] Oggetto: Using a serv

RE: Using a servlet code within Struts

2004-06-16 Thread Kommana, Sridhar
Look at it here: http://www.jguru.com/faq/view.jsp?EID=531024 -Original Message- From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 11:28 AM To: [EMAIL PROTECTED] Subject: Using a servlet code within Struts Hello everyone I want to make some servlet co

Using a servlet code within Struts

2004-06-16 Thread Ricardo Andres Quintero
Hello everyone I want to make some servlet code to work in Struts. i dont want to make the servlet to work. i want to rewrite the code into Struts. The servlet uses out = response.getOutputStream() and then out.write(); I know Struts uses the model 2, so that the view is a jsp. Im thinking of u

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
Satish, it does not seem to work in the actionform. The properties are not getting set for the individual site objects using the nested tags. I have a setSitesList(arraylistOfSiteTransferObjects). What am I missing? Thanks. -Asif - Original Message - From: "Asif Rahman" <[EMAIL PR

RE: The Same Action With and Without a Form

2004-06-16 Thread CRANFORD, CHRIS
Define your form in struts-config.xml like: .. Other properties here Then define your action mapping to use this formbean. When your form posts, it will assume the default values for sort/order if they not present in the request. If they're present in the HttpRequest object, then the

[OT] jasper.runtime.BodyContentImpl problem

2004-06-16 Thread Barnett, Brian W.
I must have done something to mess up my dev environment. My jsp pages will not render now. This is what displays in the browser now: [ServletException in:/WEB-INF/jsp/AgentList.jsp] org.apache.jasper.runtime.BodyContentImpl.clearBody()V' I upgraded Tomcat (5.0.16 to 5.0.25), Eclipse (M4 to

The Same Action With and Without a Form

2004-06-16 Thread Caroline Jen
I have a "list" of articles to be retrieved from the database and displayed. The first time I display the list, I simply sort the list by posting date and descending order (without providing a form) when I query the database. Thereafter, users are offered opportunities on top of the table of the

RE: Rendering Images

2004-06-16 Thread CRANFORD, CHRIS
YES! ;-) -Original Message- From: Linck, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 11:57 AM To: Struts Users Mailing List Subject: RE: Rendering Images On a sidenote, it would be kind of nice to add some kind of imageNotFound property to the tag where you could speci

Re: How do I put a JSP via a DispatchAction class into a tile?

2004-06-16 Thread Asif Rahman
Example: I have a DispatchAction called OpportunityCustomerAction that is forwadring to a tile: //*snippet start in struts config // //*snippet end struts config// Whether the validation fails or succeeds it will forwarded to the CustomerDef tile. //*snippet start

RE: Rendering Images

2004-06-16 Thread Linck, Ken
On a sidenote, it would be kind of nice to add some kind of imageNotFound property to the tag where you could specify an alternate image instead. It seems like a common challenge in many places. -Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 11:48

RE: Rendering Images

2004-06-16 Thread Linck, Ken
Sorry..didnt make the connection initially between your initial proposal and mine. Some subtle differences but mostly identical. -Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 11:14 AM To: Struts Users Mailing List; Struts Users Mailing List Subjec

RE: Rendering Images

2004-06-16 Thread mike
I should say also, Jacob, that if you think the simple "URL" or "protocol" is important and you wanted to complicate the code you could easily change the request in the response to: /resource.do?hello.gif. I use /resourcedo?file_type=gif&file_name=hello.gif because in fact there are other uses

RE: Rendering Images

2004-06-16 Thread mike
The reason is that I use jsp behind WEB-INF and want to avoid all the difficulties with HTML and URLs behind WEB-INF. It also gives me a great interface for solving all sorts of problems like this one. This allows the page designer just to ask for whatever they want in a standard way that nev

RE: Rendering Images

2004-06-16 Thread Hookom, Jacob
Why would you use something like that? I'm maybe not following the code? Is this so instead of writing: /images/hello.gif you can write: /resource.do?file_type=gif&file_name=hello.gif ?? -Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 10:14 AM T

RE: Rendering Images

2004-06-16 Thread mike
I forgot. I have the entire solution I use at the struts wiki at http://wiki.apache.org/struts/StrutsCatalogEschewUrlForProtocol. All you have to do is to examine the input and give a different output for your problem. I use Wendy's get the data right solution, but I don't have your problem.

RE: Rendering Images

2004-06-16 Thread mike
With respect, I think this is a great solution (and the exact one I offered long ago in this thread with the code to do it) but a wrong description of the problem. He is trying to create a response and as part of that has to request an image, which is a typical and unexceptional requirement, bu

How do I put a JSP via a DispatchAction class into a tile?

2004-06-16 Thread bojke
I understand how to put a static page into a tile ... ... ... but how do I put a dymanic page ... that is, a JSP via a DispatchAction class into a tile? When I use the action path from struts-config.xml (i.e. "main.do"), It does not work. Thanks. --

RE: Vexing session creation issue

2004-06-16 Thread Frank Zammetti
Never mind... as usual, it was a stupid developer trick... Turns out I forgot two JSP's that get loaded, and they didn't have session=false in them, so that explains it. My bad. Well, I still do have another problem (I think... could be me again!)... When you execute an Action, assume it's the

Re: Respond Differently based upon host name

2004-06-16 Thread Joe Germuska
At 10:10 AM -0400 6/16/04, Jeremy Cowgar wrote: Greetings. I run lifewithchrist.org, a blogging system. I writing version 2.0 and doing so in struts (1.0 is PHP). I am not certian of one thing. Currently (and it must remain this way), I have DNS setup to a wildcard, and it ships it all to the sa

Vexing session creation issue

2004-06-16 Thread Frank Zammetti
Argh, this one is hurting my head... I have an application that starts out by returning index.jsp (it's the welcome file). This JSP opens a new window via JavaScript and loads into it index1.jsp. index1.jsp populates five frames of a frameset. At the end of all this, my logon screen is seen.

RE: [OT]Help needed in wring regular expression

2004-06-16 Thread RDoss
Chris: thank you for your help. yes, I need to accept any leading zeros but it should be followed by any non-zero integer in that case. ([1-9][0-9]{0,3})|([Ff][Ee][Ww])|([Mm][Aa][Nn][Yy]) is working fine but could not enter any leading zeros. thank

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
*blush* sorry, forgot the taglib directive. -Asif - Original Message - From: "Asif Rahman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 9:50 AM Subject: Re: Struts alternative to using request.getParameterValues in an actionform?

RE: multiple tilesdef

2004-06-16 Thread Ricardo Cortes
What's the issue? When you specify the value for the "definitions-config" property in the TilesPlugin, you can list as many Tiles-def.xml files as you want. An example is below. -Original Message---

Re: how to find struts version

2004-06-16 Thread klute
if you have access to the struts.jar being migrated, find manifest.mf file there and open it. Look for Specification-Version and Implementation-Version values. Hope this helps, James ___ http://www.devbistro.com <- web dev jobs --- Eyup TEKIN <[EMAIL PROTECTED]> wrote: > hi > there is a projec

Respond Differently based upon host name

2004-06-16 Thread Jeremy Cowgar
Greetings. I run lifewithchrist.org, a blogging system. I writing version 2.0 and doing so in struts (1.0 is PHP). I am not certian of one thing. Currently (and it must remain this way), I have DNS setup to a wildcard, and it ships it all to the same webserver (apache). The webserver then direc

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
I tried this, it should work theoretically, but my form is empty now, none of the textfields are showing up. I do have a property called sitesList in the OpporutnitySitesForm and it is already populated when I arrive at this page. Please advise. Thanks. -Asif - Original Message - From

how to find struts version

2004-06-16 Thread Eyup TEKIN
hi there is a project developed with jbuilderX and struts i tried to migrate it from tomcat4.1.x to oracle9ias10g but i cant find struts version in the project. i downloaded struts1.1 and there are errors while tried to install tiles-documentation.war to oc4j.i used jdeveloper10G sincerely -

[OT] java server mode vs. client mode

2004-06-16 Thread Matt Bathje
So I was reading the stories here: http://www.sys-con.com/story/?storyid=45250 http://www.kano.net/javabench/ Summary: Java in server mode is faster than C++ in the benchmarks run. Java in client mode is much more iffy, sometimes faster, sometimes slower, and sometimes the same. So my question

user@struts.apache.org

2004-06-16 Thread James Mitchell
No problem my friend, glad I could help. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "bojke" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 9:12

user@struts.apache.org

2004-06-16 Thread bojke
Very polite from you, Thanks, dear evangelist Bojan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

user@struts.apache.org

2004-06-16 Thread James Mitchell
http://www.htmlgoodies.com/tutors/fram.html -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "bojke" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 9

user@struts.apache.org

2004-06-16 Thread James Mitchell
Does JSP work with Frames? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "bojke" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 9:02 AM Subject: T

user@struts.apache.org

2004-06-16 Thread James Mitchell
Does PHP work with Frames? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "bojke" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 9:02 AM Subject: T

user@struts.apache.org

2004-06-16 Thread bojke
Hi, Do Tiles work with FRAMES ? Thank you, Bojan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reporting Tool

2004-06-16 Thread Susan Bradeen
"Shailender Jain" <[EMAIL PROTECTED]> wrote on 06/16/2004 02:37:00 AM: > Hi, > > I want to generate some reports in my application. > I am currently using Struts as a framework. > > The current architecture for generating reports uses Crystal > Report 9.0 >

RE: Caching data from resultset

2004-06-16 Thread Viral_Thakkar
Should we need to store the X and Y values in session? -Original Message- From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 3:21 PM To: 'Struts Users Mailing List' Subject: RE: Caching data from resultset > -Original Message- > From: Kies, Daniel [mai

RE: exception handling

2004-06-16 Thread Rajat Pandit, Gurgaon
:) lol -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 5:12 PM To: Struts Users Mailing List Subject: RE: exception handling I just want to verify my approach from the experts. Thanks Viral -Original Message- From: Pilgrim, Pete

Resultsets and multi-check forms

2004-06-16 Thread CRANFORD, CHRIS
To broaden the prior discussion on resultset caching, I'd like to also ping the group on the concept of being able to have this "resultset" of data and paging through it but extendeding it to where a checkbox exists for each viewable record. I need to be able to pre-select values from a database

RE: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Satish Kataria
You can use nested tags to automatically retrive and populate information. A snippet of code is as follows It assumes you have a attribute named sitesList in ur action form This way you can access any type of attribute from ur action form -Or

RE: can i have multiple struts-config.xml

2004-06-16 Thread Viral_Thakkar
I tried this but still same error 503 Service Unavailable Servlet error: Parsing error processing resource path /WEB-INF/struts-config.xml,/WEB-INF/a-config.xml -Original Message- From: Satish Kataria [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 5:45 PM To: Viral_Thakkar Su

Re: [OT]Help needed in wring regular expression

2004-06-16 Thread Christopher Schultz
Ram, Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many) and eventually we found that it is accepting 0(zero) when we enter a integer value as 0(zero) or which is invalid. anybody have any idea about how to achieve the above using regular expression. I tried finding any document to ref

RE: exception handling

2004-06-16 Thread Viral_Thakkar
I just want to verify my approach from the experts. Thanks Viral -Original Message- From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 4:57 PM To: 'Struts Users Mailing List' Subject: RE: exception handling Please, really! Do you really want to us to design

  1   2   >