None has replyied this. Pls Try.

2003-09-18 Thread Abhijeet Mahalkar
Subject: CHKJ2907E: Type *** cannot be reflected. Check the classpath. IN WEBSPHERE hi ALL , I have no entry for any of my bean in the web.xml is that is MUST ? When I run the simple Session bean with struts i get the following error the same is for Entity bean.. this is the log output of ejbDe

URL Rewriting

2003-09-18 Thread Vikram Goyal
Hello all, A curious, but not totally unexpected, thing happens when I try to access my Apache httpd-Tomcat (4.1.24) site for the first time via mod_jk2 connector. Since Tomcat/Struts resorts to a URL rewrite of every link (because it doesn't know that the browser is going to accept a cookie the f

managing alternate jsp/velocity files: how?

2003-09-18 Thread Gary Shea
Newbie question here... The development and production jsp/templates for the application I'm working on have historically been separate. The development pages are ugly but guaranteed to work right because the content people never hack them; the production pages are pretty. The development pages

Re: Multiple modules

2003-09-18 Thread Puneet Agarwal
So its little "funky"...what's trick its not working for me I did RequestUtils.selectModule(); and then return new ActionForward(path); at the loading time of the JSP it gives an error that Cannot retrieve mapping for action /iny/INY0110S Any help may be very useful

RE: REPOST: IMP :: Defining a single parameter when returning Col lection of F orm Beans as Request Attribute

2003-09-18 Thread Chawla, Yogesh
Thanks Matt. Not able to find relevant info for what to do for Search in the archives too.. -Original Message- From: Sgarlata Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 8:27 PM To: Struts Users Mailing List Subject: Re: REPOST: IMP :: Defining a single parameter when

Re: Map Backed Form

2003-09-18 Thread Navneet Karnani
I suggest that you look at the code once more. There is a possibility that the error is not due to the problem that you see but something else. And i'm nearly sure that the problem is not as complex as it seems. If you want, I can look at the sources and test a fix at my side. Let me know. - N

Re: Multiple modules

2003-09-18 Thread Craig R. McClanahan
On Thu, 18 Sep 2003, Manish Singla wrote: > Date: Thu, 18 Sep 2003 20:51:59 -0600 > From: Manish Singla <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Multiple modules > > What are the advantages of havin

RE: Refreshing Form Submission and Duplicates

2003-09-18 Thread Craig R. McClanahan
On Fri, 19 Sep 2003, Mohd Amin Mohd Din wrote: > Date: Fri, 19 Sep 2003 10:42:13 +0800 > From: Mohd Amin Mohd Din <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Refreshing Form Submission and Duplic

Re: Struts module and behind WEB-INF both

2003-09-18 Thread Manish Singla
You may set an attribute (..can't recall which one ) which specifies the path for every module. Puneet Agarwal wrote: > One step ahead. > > I read the RequestUtils and RequestProcessor code and came to know that it > will not prefix the module name if there is no "/" in the begining of the > >

Re: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Craig R. McClanahan
On Thu, 18 Sep 2003, Max Cooper wrote: I'll admit it -- my opinions on this topic are undoubtedly not mainstream. But, when dealing with the realities of the technologies we have been handed (HTTP and HTML), I don't buy the "deal with whatever the user throws at you" dictum. It's not technically

Re: Struts module and behind WEB-INF both

2003-09-18 Thread Puneet Agarwal
One step ahead. I read the RequestUtils and RequestProcessor code and came to know that it will not prefix the module name if there is no "/" in the begining of the So I am out of that problem now but I still get the error Cannot retrieve mapping for action /iny/INY0110S Can someone help me s

Re: Multiple modules

2003-09-18 Thread Manish Singla
> What are the advantages of having multiple struts-config modules defined in > web.xml vs comma separated struts-config.xml from design point of view. > > I am ok with slight overhead of multiple struts-config file (in web.xml > approach). > Again, what design problem multiple struts-config prob

Two Data Source

2003-09-18 Thread virupaksha
Dear All, I need to connect to two different databases,MS Access & MYSQL. I am connecting databases using JNDI lookup,so to connect using JNDI lookup i need to give database name in my code. Can any one help me how i can configure two datasource name in struts-config.xml. Waiting for ur help...

two different data source in struts-config.xml

2003-09-18 Thread virupaksha
Dear All, I need to connect to two different databases,MS Access & MYSQL. I am connecting databases using JNDI lookup,so to connect using JNDI lookup i need to give database name in my code. Can any one help me how i can configure two datasource name in struts-config.xml. Waiting for ur help...

Data Source in struts-config.xml

2003-09-18 Thread virupaksha
Dear All, I need to connect to two different databases,MS Access & MYSQL. I am connecting databases using JNDI lookup,so to connect using JNDI lookup i need to give database name in my code. Can any one help me how i can configure two datasource name in struts-config.xml. Waiting for ur help...

multiple forms with same form bean

2003-09-18 Thread Rajat Pandit
hello, my question in one line.. how do u handle multiple forms attached to the same form bean in one bean? longer question --> say i have a list of products and each product has a list of states. i store all the states in an ArrayList and add that as a property of product and then add all the

Multiple modules

2003-09-18 Thread Manish Singla
What are the advantages of having multiple struts-config modules defined in web.xml vs comma separated struts-config.xml from design point of view. I am ok with slight overhead of multiple struts-config file (in web.xml approach). Thanks

how to manage the value from multibox

2003-09-18 Thread hari_s
Hi all I really need some help, I have code like this This is my input form jsp from that form users can checked one or more of the checkbox that show up and the output value show in my output form jsp and this is my actionForm package pak; import org.apache.struts.action

RE: Refreshing Form Submission and Duplicates

2003-09-18 Thread Mohd Amin Mohd Din
An easier way would be to do a redirect once submitting the form to listing the page. -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 10:26 AM To: 'Struts Users Mailing List' Subject: RE: Refreshing Form Submission and Duplicates I notice

RE: Refreshing Form Submission and Duplicates

2003-09-18 Thread Shane Mingins
I noticed this the other day at http://husted.com/struts/catalog.html Use the Action Token methods to prevent duplicate submits There are methods built into the Struts action to generate one-use tokens. A token is placed in the session when a form is populated and also into the HTML form as a hid

SOLVED: Re: bizzare indexed form bean problem

2003-09-18 Thread Michael Muller
ok, i think i have it: in the jsp, the id attribute of iterator tag has to match the name of the indexed property of the form bean. -- mike Michael Muller wrote: more info: it turns out that the data i was seeing in the form bean was the data that i pre-populated -- data from the form is NO

Refreshing Form Submission and Duplicates

2003-09-18 Thread John Reynolds
Hi, I have a question about a bug in my application using a Struts Form. This happens in multiple areas of my site, but the one example I will use is a Message Board feature. The problem is that when a user goes to a list of messages, fills out the form to post a message and ends up back on the l

RE: I webshpere Struts

2003-09-18 Thread guo yingshou
"java:comp/..." is a component's logical name,In order to use this naming context prefix to look up your component,you usually have to do 2 things: 1,declare your component in standard dd using ejb-ref or resource-ref,depending on what it is. 2,mappping the name to the real jndi name using vend

RE: Tool to diagnose J2EE/Struts/Oracle problem

2003-09-18 Thread Mohd Amin Mohd Din
http://hibernate.bluemars.net/80.html -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 12:06 AM To: 'Struts Users Mailing List' Subject: RE: Tool to diagnose J2EE/Struts/Oracle problem Amin: Yes we have have multiple users using sqlpl

Re: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Max Cooper
I agree with Matt here wholeheartedly. If you build an app that runs in a web browser, your app should work properly in that environment. Asking users not to use the Back button is not a reasonable expectation, and trying to hide it with JavaScript or other hacks is folly. However, there are MANY

RE: is this legal

2003-09-18 Thread Marcos Oliva
can I evaluate this assuming that start is > 0? I am trying to do recordset pagination on my strust app and I am not using the pagination tag lib. Thank you Marcos Oliva - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: Map Backed Form

2003-09-18 Thread Jason Lea
You don't have any other setElementMap() methods in there do you? eg public void setElementMap(String key, Object value) public void setElementMap(String key, String value) There should only be 1. Ray Madigan wrote: Jason - thanks for your help. I do appreciate it. This code worked in

RE: Map Backed Form

2003-09-18 Thread Ray Madigan
Jason - thanks for your help. I do appreciate it. This code worked in 1.1 beta and I haven't had a chance to look at it since then. I have found that the exception I am getting is caused by Struts via BeanUtils attempting to access a setter on a bean when the setter method doesn't exist. I added

Re: [SCAFFOLD] How get application context path

2003-09-18 Thread Lázaro Miguel Fung
Thanks for your quick reply Ted. - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 3:45 PM Subject: Re: [SCAFFOLD] How get application context path > If you need the application's path, then

Re: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Jing Zhou
Sometime I think /struts/* is another alternative. But we have been massively *corrupted* by /*.do and might still feel not too bad :-) Jing Netspread Carrier http://www.netspread.com - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL P

Re: [SCAFFOLD] How get application context path

2003-09-18 Thread Ted Husted
If you need the application's path, then I wouldn't recommend using a ProcessAction. These are meant to be a fast lane to the business layer. The business layer shouldn't need to know the application's path. If you need to load a resource into application scope, then use a plug-in or another se

Re: Map Backed Form

2003-09-18 Thread Jason Lea
Perhaps you need to step through the struts-config to make sure you are referencing the correct form bean. Do you access the .jsp page directly or go through an action first? I would also look at your initialisation of the elementMap. Perhaps you should be using private Properties element

Re: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Jing Zhou
- Original Message - From: "Kruse, Matt" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 3:42 PM Subject: RE: Is it possible to remove *.do or /do/* from the URL > > The important principle here is "Web Application != Web > > Si

Re: [FRIDAY] Save the Servers!

2003-09-18 Thread Adam Hardy
Hey, where did they get a photo of my machine? On 09/18/2003 10:08 PM Shane Mingins wrote: http://www.savetheservers.com/ -- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9 - To unsubscr

Integrating Struts, Tiles and JavaServer Faces

2003-09-18 Thread srikanth
Currently JSF, Struts and Tiles cannot work together out of the box. Craig McClanahan has come up with Struts-Faces which lets you integrate Struts and JSF. This is ideal for projects who want to protect their code investment in Struts and also want to take advantage of JSF once it is final. Unfo

[SCAFFOLD] How get application context path

2003-09-18 Thread Lázaro Miguel Fung
Hi. How I can get my application's path to use it inside a ProcessAction. TIA LFung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Map Backed Form

2003-09-18 Thread Ray Madigan
I tried this - same result? h -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 2:18 PM To: Struts Users Mailing List Subject: Re: Map Backed Form I read this somewhere (perhaps Struts in Action) and I use map-backed properties... the met

RE: Passing information from action to action

2003-09-18 Thread Andrew Hill
Nothing a few 'hail McClanahan's won't absolve you from... -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Friday, 19 September 2003 05:37 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Passing information from action to action Excellent.. that work

Re: Passing information from action to action

2003-09-18 Thread David Erickson
Excellent.. that worked great. Is there any evilness to having redirect false if the related actions do not have forms? thanks -David - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 3:31 PM Subject: RE: Pass

RE: Passing information from action to action

2003-09-18 Thread Andrew Hill
In the struts config for the forward you can write Or if you want to do it in code in your action you can create a new forward instance to return (which is also useful if you want to decorate the url with extra parameters): ActionForward f = mapping.findForward("bob"); f = new ActionForward( f.g

Re: Passing information from action to action

2003-09-18 Thread David Erickson
Eep I believe I may be performing a cardinal sin. Currently its whatever the default is set to.. how would I change it to a redirecting forward? I tried using forward = mapping.findForward("success"); then doing forward.setRedirect(true); and it gave me some kind of config frozen error.. help! =)

RE: Passing information from action to action

2003-09-18 Thread Andrew Hill
Is that an african or european swallow? umm... I mean is that a redirecting or non-redirecting forward from the modify to the display action? If redirecting then of course request attributes are lost. If non-redirecting, then you are performing the evil sin of action chaining and the gods of strut

Re: Passing information from action to action

2003-09-18 Thread David Erickson
To further clarify what seems to be my problem. Display action sets begRecord and endRecord attributes in the request -> JSP renders a form -> submitted form goes to Modify Action -> modify action tries to put something in begRecord and endRecord, appears to be ok -> forwards to display action, di

Re: Map Backed Form

2003-09-18 Thread Jason Lea
I read this somewhere (perhaps Struts in Action) and I use map-backed properties... the methods should have String keys, but Object values eg public Object getElementMap ( String key ) { public void setElementMap ( String key, Object value ) Ray Madigan wrote: I am having some difficulty with my

Passing information from action to action

2003-09-18 Thread David Erickson
Hi I am chaining to actions together, I have one that displays a form and if you submit it calls the modify action then forwards straight back to the action that displays the form. Is there anyway for me to pass variables inbetween the modify->display action other than using the session? I tried

Re: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Jason Lea
If there are only a small number of 'marketing' style URLs that are going to be used, you could do those mappings specifically in the web.xml and leave everything else to your /do/* mapping Eg Marketing URLs 'activities', 'contact', 'foo' /activities/* /contact/* /foo/* everything else /do/*

RE: html:link question (for a relative newbie)

2003-09-18 Thread Ray Madigan
If you are not opposed to using the JSTL standard library I personally have a difficult time keeping track of the parameters and values using the other syntax. Edit -Original Message- From: Zimmerman, Steven R. [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003

Re: bizzare indexed form bean problem

2003-09-18 Thread Michael Muller
more info: it turns out that the data i was seeing in the form bean was the data that i pre-populated -- data from the form is NOT making in into form bean. or, more accurately, the INDEXED data is not making it into the form bean. the "action" property is getting set properly. does anyone h

RE: Passing an input from jsp using

2003-09-18 Thread Andrew Hill
Heres the link to my original question to which the link is a response btw: http://marc.theaimsgroup.com/?l=struts-user&m=102696975022454&w=2 -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, 19 September 2003 05:04 To: Struts Subject: RE: Passing an input from

RE: Passing an input from jsp using

2003-09-18 Thread naveen . joshi
Thanks Andrew, I will go thru it and get back to u... Naveen -Original Message- From: andrew.david.hill [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:04 PM To: struts-user Subject: RE: Passing an input from jsp using http://marc.theaimsgroup.com/?l=struts-user&m=10269723

RE: Passing an input from jsp using

2003-09-18 Thread naveen . joshi
No.. I still use struts 1.0_ -Original Message- From: groups [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:05 PM To: struts-user; andrew.david.hill Cc: groups Subject: Re: Passing an input from jsp using To: <[EMAIL PROTECTED]> Cc: "Struts" <[EMAIL PROTECTED]> Sent: Thurs

Re: Requesting the same action with more than one path

2003-09-18 Thread Joe Germuska
Sounds like you want... You can access the value of "parameter" with "mapping.getParameter()" If you want more per-mapping configuration, you can write a custom subclass of ActionMapping and set its properties with elements nested inside the "action" class. (Declare the ActionMapping subcla

RE: Passing an input from jsp using

2003-09-18 Thread Andrew Hill
That may well be your problem. Try killing the getName() method (perhaps rename it getFullName() or something) and see if it helps. Hehe, I had problems like this when I was new to struts. See this ancient and mildly amusing thread: http://marc.theaimsgroup.com/?l=struts-user&m=102697236923882&w=2

Re: Passing an input from jsp using

2003-09-18 Thread Khalid K.
did you upgrade from Struts 1.02 to Struts 1.1 in Struts 1.1 properties of a form can be indexed and it uses [], so it might get confused in parsing... Just a thought...not sure if this will be of any help Khalid - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: <[EMAIL PRO

bizzare indexed form bean problem

2003-09-18 Thread Michael Muller
i have a form with an indexed property. i wasn't able to get any data out of the form. i could see the data in the request parameters, but the data wasn't in the form bean. in an effort to diagnose, i made an action to populate data into the form. not only was i able to populate data into th

Re: html:link question (for a relative newbie)

2003-09-18 Thread denis
A quick hack you can do is: <%java.util.HashMap ha = new java.util.HashMap(); ha.put("mode","edit"); ha.put("code", code); pageContext.setAttribute("linkParams",ha);%> Edit I usually build my link hashmap in the setup action for the jsp, but you can do this. - Original Message - From:

Re: html:link question (for a relative newbie)

2003-09-18 Thread Joe Germuska
At 13:45 -0700 9/18/03, Zimmerman, Steven R. wrote: I cannot seem to get this to work Edit You can only use a runtime expression as the complete content of a JSP tag attribute, if at all. So, you could do something like this: /collaborator.do?mode=edit&code=<%=code%> Edit or better yet

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Blake Whitmore
--- "Kruse, Matt" <[EMAIL PROTECTED]> wrote: > > The important principle here is "Web Application > != Web > > Site". > > Why? In many cases, it's the same difference. These > days, web "sites" > usually are web "applications" on the back-end. > There are a lot of stupid > users out there. In

RE: Passing an input from jsp using

2003-09-18 Thread naveen . joshi
Sorry for the typo err in my earlier mailI have one set method and two get methods public void setName(String name){ this.sName=name; } public String getName(){ return this.sName; } public String getName(int size){ return (this.sName.substring(0, size)); } Thanks Nave

Requesting the same action with more than one path

2003-09-18 Thread Matt Raible
I want to hit a "page" action (path="/page") with the following URLs - and then do logic to determine which tiles definition I should load: http://site.com/do/page/tile1 http://site.com/do/page/tile2 But I keep getting: RequestProcessor.processMapping(683) | Invalid path /page/tile1 was requeste

RE: Passing an input from jsp using

2003-09-18 Thread Andrew Hill
The line of code in the jsp is something like this: where 53 is a input parameter of getName(int size) method of FormBean. Get method is something like this... public void getName(int size){ return (this.sName.substring(0, size)); } This was working fine all this time... now when i ch

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Kruse, Matt
> The important principle here is "Web Application != Web > Site". Why? In many cases, it's the same difference. These days, web "sites" usually are web "applications" on the back-end. There are a lot of stupid users out there. In many cases, every attempt needs to be made to cater to them. >

html:link question (for a relative newbie)

2003-09-18 Thread Zimmerman, Steven R.
I cannot seem to get this to work Edit or better yet this instead Edit but the <%=code%> is not picking up the value of "code", instead it is putting "<%=code%>" in its place. That all makes sense why, but is there a way I can get at a expression using Struts tags like I can usin

RE: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Robert Taylor
Ahh. For situations where you have something like pageA > ProcessActionA > pageB ===> ProcessActionB where pageA and pageB need 2 different forms. Yes. You would have to "insert" a SetupActionB in the chain which results in: pageA > ProcessActionA > SetupActionB ===> pageB ===>

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Andrew Hill
Cool :-) -Original Message- From: Blake Whitmore [mailto:[EMAIL PROTECTED] Sent: Friday, 19 September 2003 04:21 To: Struts Users Mailing List Subject: Re: Is it possible to remove *.do or /do/* from the URL We've incorporated a *.fish mapping for our site :) The client was pretty happy

Re: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Blake Whitmore
We've incorporated a *.fish mapping for our site :) The client was pretty happy to see: {sitename.com}/find.fish?guide=firstnamelastname For finding fishing guides. -Blake --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > On Thu, 18 Sep 2003, Vic Cekvenich wrote: > > > Date: Thu, 18 Sep

RE: Passing an input from jsp using

2003-09-18 Thread naveen . joshi
The line of code in the jsp is something like this: where 53 is a input parameter of getName(int size) method of FormBean. Get method is something like this... public void getName(int size){ return (this.sName.substring(0, size)); } This was working fine all this time... now when i cha

[FRIDAY] Save the Servers!

2003-09-18 Thread Shane Mingins
http://www.savetheservers.com/

Return/Setting Forms with Arrays?

2003-09-18 Thread Smith, Johnathan M.
> I am having a issues and maybe you can help me we are using struts 1.0.2 > and I am building a contact system. > > The user can search for contacts and then I will bring back as many > contacts as the search will find in a list but each contact can have 1 - X > phones, pages and fax numbers so

Map Backed Form

2003-09-18 Thread Ray Madigan
I am having some difficulty with my Map Backed Form implementation. I have in my Form: private Properties elementMap = null; public String getElementMap ( String key ) { return ( String ) elementMap.getProperty ( key ); } public void setElementMap ( String key, String value ) { elementM

RE: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Joe Germuska
I have a dynamic form defined in my struts config file and mapped to both SetupAction and ProcessAction. I don't have to manually create the form because Struts does this for me. Its actually very simple: ... How is that clumsy? Am I missing something? What if the dispatch to the page preceding "Pr

RE: Antwort: AW: Forwarding & openNewWindow

2003-09-18 Thread Mathew, Manoj
you can write onclick on a struts submit button onclick="window.open('mypage.jsp','pageid') -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 10:09 AM To: Struts Users Mailing List Subject: RE: Antwort: AW: Forwarding & openNewWindow Can

RE: Passing an input from jsp using

2003-09-18 Thread Andrew Hill
You have posted this question like 50 billion times now with no response. I dont really understand exactly what your asking (perhaps due to lack of sleep?), and so havent tried answering. Possibly the same goes for many other people who have read it. Perhaps you could try rephrasing it a different

RE: Tool to diagnose J2EE/Struts/Oracle problem

2003-09-18 Thread Yee, Richard K,,DMDCWEST
Matt, > However, if your app is like mine probably a dozen or so connections are opened for each Action that is > performed, so it's hard to ensure you are closing all connections correctly. Do you really have that many nested result sets? If not, then you could reuse the same connections for som

RE: design question regarding multiple submit buttons

2003-09-18 Thread david.ballard
thanks for the advice, Wendy. its up and running :) -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:22 PM To: Struts Users Mailing List Subject: RE: design question regarding multiple submit buttons David wrote: > When they have no mo

Passing an input from jsp using

2003-09-18 Thread naveen . joshi
Hi, How do i send an input to one of my get methods in Formbean from my JSP... It is something like i have String of 10 chars and i want only the first five chars. This input will be send by jsp. Based on the input my get method should return a value. I was using something like this and it was

Simple Tiles Controller not working!

2003-09-18 Thread Barry Volpe
Trying to implement example from: http://www.theserverside.com/resources/articles/Tiles101/article.html Getting the following error: ** Exception in:/tiles/penguinview.jsp] null ** Basically trying to put a hashtable in request and tiles context cannot display in jsp:

RE: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Robert Taylor
> I don't understand this approach. If you need special info in > the view you > first call a SetupAction and then have that action forward to a > ProcessAction? Nope. SetupAction forwards to a page; not an action. > Maybe it does work if > the form bean is in session scope? It works if your form

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Matt Raible
The reason I don't like extension mapping is because I think path-mapping (/do/*) is cleaner. Also, I like using path-mapping b/c then we can add parameters and they look like regular URLs. For example - extension mapping: http://site.com/activities.do?activity=fishing or http://site.com/activit

Re: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Sgarlata Matt
- Original Message - From: "Robert Taylor" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 2:02 PM Subject: RE: [repost] Special view information -> ActionForm or request? > Sorry for jumping in, but I've been lurking on this thr

Re: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Sgarlata Matt
- Original Message - From: "Mainguy, Mike" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 1:44 PM Subject: RE: [repost] Special view information -> ActionForm or request? > As far as the forms are concerned, I whole-heartedly

RE: Multipage JDBC result

2003-09-18 Thread Yee, Richard K,,DMDCWEST
Julie, In Oracle, you can also limit the # of records returned and the the starting point using rownum. Your JDBC driver can also limit the # of ResultSets. Check the JavaDoc. Regards, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, Septembe

[OT] Introduction to JDO by Ron Hitchens: 6:30pm on October 1st i n Mountain View

2003-09-18 Thread Van Riper, Mike
The next meeting of the Silicon Valley Struts User BOF will be held at VeriSign in Mountain View on Wednesday, October 1st. You must arrive between 6:30 and 7:00pm to register with VeriSign security as a guest. Ron Hitchens, a Bay Area computer consultant, will present an introduction to JDO. The J

RE: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Robert Taylor
Sorry for jumping in, but I've been lurking on this thread and I use this pattern quite frequently. SetupAction ===> page ===> ProcessAction ===> page I have a dynamic form defined in my struts config file and mapped to both SetupAction and ProcessAction. I don't have to manually create the form

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Andrew Hill
hehe, if you want to get them worried use *.exe ;-) -Original Message- From: Micael [mailto:[EMAIL PROTECTED] Sent: Friday, 19 September 2003 01:33 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Is it possible to remove *.do or /do/* from the URL I use .Whatever, where tha

Return/Setting Forms with Arrays?

2003-09-18 Thread Smith, Johnathan M.
> I am having a issues and maybe you can help me we are using struts 1.0.2 > and I am building a contact system. > > The user can search for contacts and then I will bring back as many > contacts as the search will find in a list but each contact can have 1 - X > phones, pages and fax numbers so

Re: Multipage JDBC result

2003-09-18 Thread Julie . Huang
we are using orcale 8i, maybe it is the time to migrate to MySQL??:P thank you! Navneet Karnani <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 09/18/03 09:24 AM Please respond to "Struts Users Mailing List" To: [EMAIL PROTECTED] cc: Subject:Re: Mul

RE: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Mainguy, Mike
As far as the forms are concerned, I whole-heartedly agree that the current notion of populating the form "one the way" to getting mapped to the view seems pretty clumsy. I would almost advocate having the forms to be "pulled" (as above) out of some persistant service thingy (highly technical term

Re: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Micael
I use .Whatever, where that is some marketing term that is acceptable. At 10:39 AM 9/18/2003 -0400, Vic Cekvenich wrote: How about a hack: *.jsp It looks as jsp on top but it's a do. Or you can even say *.asp, or anything. Just pick a word marketing likes. .V Matt Raible wrote: I agree with y

RE: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Joe Germuska
I don't have a very strong opinion, but for form *choices*, I've always preferred to put them into some page-accessible context before dispatching to a page. I wrote a class called DigestingPlugIn which was added to Struts after the 1.1 release which is designed to make it easy to put a menu l

RE: design question regarding multiple submit buttons

2003-09-18 Thread Wendy Smoak
David wrote: > When they have no more addresses to enter, they should hit "DONE" to move on to the next form. > However, when "DONE" is selected, the form calls the validate method, > which of course fails because the fields are empty. I think validation is on by default, so you may want to turn

design question regarding multiple submit buttons

2003-09-18 Thread david.ballard
I'm building a small web application (which I expect to grow into something more) to allow co-workers to do some data entry. I'm more of a database guy, but would like to understand and learn the possibilities of utilizing web services. And, have a question about using multiple submit buttons.

RE: Evil characters causing mischief in textarea and value attrib ute contents

2003-09-18 Thread Van Riper, Mike
Not 100% certain, but, I believe the default for the HTML form property tags was to *not* filter (i.e., filter="false") in Struts 1.0 and that was changed to default to do filtering (i.e., filter="true") in Struts 1.1. I am certain that the default for 1.1 is to do filtering. Original post did not

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Craig R. McClanahan
On Thu, 18 Sep 2003, Mainguy, Mike wrote: > Date: Thu, 18 Sep 2003 12:36:39 -0400 > From: "Mainguy, Mike" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Is it possible to remove *.do or /do/* from t

Send an input

2003-09-18 Thread naveen . joshi
Hi, How do i send an input to one of my get methods in Formbean from my JSP... It is something like i have String of 10 chars and i want only the first five chars. This input will be send by jsp. Based on the input my get method should return a value. I was using something like this and it was

Re: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Sgarlata Matt
Good points. Originally I was leaning towards including everything in my form beans. We are using nothing but dynamic form beans in my app, so using this style the section of your struts-config file essentially becomes documentation for your JSP authors. However, lately I've been thinking it's

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Mainguy, Mike
Hmmm, that could be entertaining... Change the extension to .asp and sell it to a microsoft shop... -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:34 PM To: Struts Users Mailing List Subject: Re: Is it possible to remove *.do o

RE: [repost] Special view information -> ActionForm or request?

2003-09-18 Thread Mainguy, Mike
I also would like other's opinion on this. Right now, use a service locator style class to stuff all my lookup stuff into the request object manually. I have, however, used collections in the formbeans for this. I can't, off the top of my head, think of any significant advantages to using a form

Re: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Craig R. McClanahan
On Thu, 18 Sep 2003, Vic Cekvenich wrote: > Date: Thu, 18 Sep 2003 10:39:51 -0400 > From: Vic Cekvenich <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Is it possible to remove *.do or /do/* from the URL > > How about a hack: > *

Re: struts-faces

2003-09-18 Thread Craig R. McClanahan
On Thu, 18 Sep 2003, Ted Husted wrote: > Date: Thu, 18 Sep 2003 07:05:44 -0400 > From: Ted Husted <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: struts-faces > > Craig R. McClanahan wrote: > > //

  1   2   >