Re: Struts & bean property capitalization - minor problem

2004-09-02 Thread Janne Mattila
Reading the specification clarified how things work, thank you. It's much nicer to know the reason why things happen than just what immediate fix would solve the problem. It seems that if bean.getEMail() is a given, JSP page has to have in order to work. Actually, I do not think getEMail() met

Indexed Property!!

2004-09-02 Thread RamKumar
Hi, Indexed property methods are not getting called if i use expression language in html:multibox tag. Why is this?. I am using tomcat 5.0. Any clues, thanks, Ramkumar

Re: code snippet for

2004-09-02 Thread viji.george
hi friends, it really worked. thank you so much especially Jurn Ho and Yves Sy. regards, Viji George Information Systems, The Arvind Mills Ltd., Naroda, Ahmedabad. Phone-(079)22203030 Ext -2352 [EMAIL PROTECTED] - Original Message - From: "Jurn Ho" <[EMAIL PROTECTED]> To: "Struts Users

Re: code snippet for

2004-09-02 Thread Jurn Ho
Hi Viji, I was just playing with that today. Here's my code snippets that should help you. From inside my extended Action class ...execute(...) { List businesses = getUserService().getBusinesses(); // go lookup database and list all the businesses. request.setAttribute("businesses", bus

Re: code snippet for

2004-09-02 Thread Yves Sy
Assuming you have a collection "myList" stored in some scope where each item in the list has the "name" and "id" properties: -Yves- - Original Message - From: viji.george <[EMAIL PROTECTED]> Date: Fri, 3 Sep 2004 10:07:24 +0530 Subject: code snippe

code snippet for

2004-09-02 Thread viji.george
can anybody send me a code sample for using for getting the value from the ArrayList and populating the combo box.   I am storing the values retrieved from the DB in a arraylist in the form of a class which has 2 attributes one for option value and the other for text of the option.   I want

How Would YOU Architect This?

2004-09-02 Thread Dao Xuan Nam
Hi Folks: What way do you guys think would be the best to architect this j2ee application? Here is the requirement: Build a web app that do: ü Allows a user to access database on client to export data and import to a database on server. ü Allows user to create an image on web br

Re: Struts & bean property capitalization - minor problem

2004-09-02 Thread Craig McClanahan
On Thu, 02 Sep 2004 14:07:37 +, Janne Mattila <[EMAIL PROTECTED]> wrote: > -formBean method getEeMail() and property="eeMail"/> => works > -formBean method getEmail() and property="email"/> =>works > - formBean method getEMail() and property="eMail"/> => > > => org.apache.jasper.JasperExcep

Re: never, ever bury an exception!

2004-09-02 Thread Koon Yue Lam
Hi !! I agree with all of you but still have a question. If my application is divided into a few layers, say: Web <---> BizDelegate --- <---> EJB |__<--> DAO / server side program My practice is catch all SQLException in DAO(s), but never throws excepion from m

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Jim Barrows wrote: I would immediately suspect either the JVM, or the underlying OS and the permissions of. Maybe even the way the security manager is setup on the JVM. That's the part that's getting me. I'm using JDK versions that are only a "-" dash away from each other. I've got JDK v1.4.2-5

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Wendy Smoak wrote: Good list! Add to that, you're working with open source stuff, which will change right out from under you if you're not paying attention. LOL... isn't that a hidden part of the definition of open source stuff? The faster development cycle makes it hard to freeze the technology

Staying relative

2004-09-02 Thread Dave Bender
I'm new to Struts and liking it so far. But I'm stumped on how I can get a user of my web application to stay in the same subdirectory throughout the workflow without going through a lot of hoops. Here's what I mean. Our application will be used by 100 people divided into six work groups.

Re: How long does it take to master appfuse?

2004-09-02 Thread struts Dude
- Original Message - From: "Jim Barrows" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, September 03, 2004 3:52 AM Subject: RE: How long does it take to master appfuse? >>Another way of saying this is >>, is using appfuse overkill for a simple web

re: Need help in struts

2004-09-02 Thread Gao Ye Wei
Hi: Here is an example. the property in is the filed in the action form. If you use , it's very convenience, the collection is the collection you hold data getted from DB, the property is the data field of a bean in the collection, not the same as property in the t

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Wendy Smoak
From: "Chuck Chopp" <[EMAIL PROTECTED]> > So it isn't > just learning one new thing, such as just a new language or a new framework > with a known language, it is learning several new things at the same time. > The last time I checked, human beings are equiped to juggle approximately 6 > to 8 concu

Re: [OT] someone using Outlook 2003, please tell me it can't be this LAME...

2004-09-02 Thread Peng Tuck Kwok
I think what he wanted was to sort threads in a group, you see the original thread, then you see all the repiles to the thread, in a hirearchy fashion. It does make it easy to group and distinguish when browsing through the list. On Thu, 2 Sep 2004 15:53:48 +0100, Robert Shields <[EMAIL PROTECTED]

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Jim Barrows wrote: Nope, they wouldn't be included with Tomcat... and yes you need the struts distribution, and the source code to.. so you can step through it. Not just while you're learning, but after you've mastered it as well. And that's where things start to get slightly "murky" w/respect to

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Erik Weber
Yes, and consider learning how to prevent pages from being cached by the browser as well. Erik Chuck Chopp wrote: Jim Barrows wrote: Back, next and reload will do to a struts app what they do with any other app: Allow the user to break your application in new and interesting ways. I've seen th

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Erik Weber
Yeah, you can actually have actions that are this simple (no Action class or form bean required): My logout action mappings typically look like this: I would think yours would be similar except that your forward path would be to a login page instead of a main index page, and you might not b

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Jim Barrows wrote: Back, next and reload will do to a struts app what they do with any other app: Allow the user to break your application in new and interesting ways. I've seen the term "tokens" used in some postings here that appear to be dealing with the same issue. Am I on the right track if

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Erik Weber wrote: Chuck, I think reading the Servlet specification would help you a lot! I think it is well edited, and it sure helped me a lot. Thanks for that tip. I will head on over to Sun's web site and read over the specs themselves independent of the actual servelet container implementat

Re: Hibernate VS ibatis, which is better?

2004-09-02 Thread Langdon Stevenson
>As it stands today, a team has three major choices in data access libraries: > > 1. Roll your own persistence layer using the stock data access libraries (JDBC) > > 2. Use an Object-Relational-Modeling (ORM) Tool, like Hibernate or Apache OJB or > Sun's JDO > > 3. Use a Data Mapper framework,

Re: [OT] "Enter" key listener for form submittal

2004-09-02 Thread Erik Weber
Wendy, I have three visible buttons, a cancel, then a reset and a submit. So I added the hidden submit as the first button, moving the visible buttons to the right. The HTML rendered for all four buttons by the Struts tags is (I added the line breaks): But for some reason, the "E

RE: forwarding to an action w/o an input JSP

2004-09-02 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 4:08 PM > To: [EMAIL PROTECTED] > Subject: Re: forwarding to an action w/o an input JSP > > > Wendy Smoak wrote: > > > Have you spent some quality time with struts-exa

RE: Tiles in Rows and Columns

2004-09-02 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 12:41 PM > To: Struts Users Mailing List > Subject: RE: Tiles in Rows and Columns > > > It does not work. There are three rows. The second row > has two columns. > > I am able to d

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Wendy Smoak wrote: Have you spent some quality time with struts-example.war yet? Run that in a debugger (JSwat, if you don't already have a favorite,) for an hour, and most of the mysteries will be solved. No, but now that I know where it is I can spend some time with it. I just found it inside

RE: forwarding to an action w/o an input JSP

2004-09-02 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 4:01 PM > To: [EMAIL PROTECTED] > Subject: Re: forwarding to an action w/o an input JSP > > > David Durham wrote: > > > Chuck Chopp wrote: > > > why this is happen

Re: [OT] "Enter" key listener for form submittal

2004-09-02 Thread Erik Weber
Michael, this is the original question I posted (yesterday morning): I found this JavaScript, which is supposed to listen for the "Enter" key on any browser (and submit the form on keypress). However, it doesn't seem to be working in IE:
if (document.layers) document.captureEvents(Event.KE

RE: Datagrid lige funktionallity

2004-09-02 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Anders Jacobsen > Sent: Thursday, September 02, 2004 1:10 PM > To: [EMAIL PROTECTED] > Subject: Datagrid lige funktionallity > > > Hi! > > I have been developing on ASP.NET for quite some time now. > But for some >

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
David Durham wrote: Chuck Chopp wrote: I have a welcome file named "index.jsp". I'm questioning if it should be forwarding to the JSP file "login.jsp" [which I want to protect from direct access from the browser] or should it be forwarding to the action named "login" [or would it be "login.do"]?

RE: How to prevent directory listing?

2004-09-02 Thread Ivan Vasquez
Thanks Jason, I already did, but it seems to override ActionServlet and none of my pages work. I also tried by changing the startup order to 3 (after ActionServlet), but still no luck! Ivan. -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004

Re: How to prevent directory listing?

2004-09-02 Thread Jason Lea
I think (haven't tried this myself) you can override it in your own application's web.xml eg add this to your web.xml in the appropriate place default org.apache.catalina.servlets.DefaultServlet debug 0 list

RE: forwarding to an action w/o an input JSP

2004-09-02 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 12:21 PM > To: [EMAIL PROTECTED] > Subject: forwarding to an action w/o an input JSP > > > I'm looking for some good solid examples that show how to > configure the JS

How to prevent directory listing?

2004-09-02 Thread Ivan Vasquez
Is it possible to prevent a particular Struts webapp from displaying directory listings? That is, global /conf/web.xml has its DefaultServlet with listings set to true, thus enabling dir listing for all apps. Can I then prevent a particular Struts webapp from doing so by setting something in the lo

RE: validation error (struts 1.2.3)

2004-09-02 Thread Betty Koon
-Original Message- From: Betty Koon [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:37 PM To: [EMAIL PROTECTED] Subject: validation error (struts 1.2.3) Anyone has idea on this error? I upgraded to 1.2.3 just now from 1.2.1 -Betty *

Re: [OT] "Enter" key listener for form submittal

2004-09-02 Thread Wendy Smoak
From: "Erik Weber" <[EMAIL PROTECTED]> > Rick, I tried putting a hidden submit button ( style="display:none"/>) in front of my cancel button to intercept the > "Enter" key, but again, this worked in Mozilla but not IE (just like my > key listener JavaScript). > So I'm still looking for an Enter key

Re: [OT] "Enter" key listener for form submittal

2004-09-02 Thread Michael McGrady
Erik Weber wrote: Rick, I tried putting a hidden submit button () in front of my cancel button to intercept the "Enter" key, but again, this worked in Mozilla but not IE (just like my key listener JavaScript). So I'm still looking for an Enter key listener that is portable. I haven't tried ever

Re: [OT] "Enter" key listener for form submittal

2004-09-02 Thread Erik Weber
Rick, I tried putting a hidden submit button () in front of my cancel button to intercept the "Enter" key, but again, this worked in Mozilla but not IE (just like my key listener JavaScript). So I'm still looking for an Enter key listener that is portable. I haven't tried every suggestion I got

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Erik Weber
Chuck, I think reading the Servlet specification would help you a lot! I think it is well edited, and it sure helped me a lot. Keep in mind that just as a container dispatches requests to Servlets according to how the Servlets are mapped in web.xml, the Struts controller Servlet dispatches requ

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Wendy Smoak
From: "Chuck Chopp" <[EMAIL PROTECTED]> > I keep getting the feeling that if I could see one good > comprehensive working example everything would be clear to me about how this > is supposed to work. Have you spent some quality time with struts-example.war yet? Run that in a debugger (JSwat, if y

Re: Datagrid lige funktionallity

2004-09-02 Thread Vic
Welcome. After you get used to it, you will find yourself more productive in Java. Check out this: http://displaytag.sourceforge.net I'd call that best practice. .V Anders Jacobsen wrote: Hi! I have been developing on ASP.NET for quite some time now. But for some reason im going to develope on t

Re: Not happy with approaches.. looking for better/other suggestions

2004-09-02 Thread Rick Reumann
Hubert Rabago wrote: public void reset(ActionMapping mapping, HttpServletRequest request) { super.reset(mapping, request); accessDefinitions = ListUtils.lazyList(new java.util.ArrayList(), new Factory() { public Object create() {

Datagrid lige funktionallity

2004-09-02 Thread Anders Jacobsen
Hi! I have been developing on ASP.NET for quite some time now. But for some reason im going to develope on the J2EE platfrom using Struts. The web application primary job is to update customer information and so forth. Almost all pages will need a (refering to asp.net) datagrid like functionalit

Re: Not happy with approaches.. looking for better/other suggestions

2004-09-02 Thread Hubert Rabago
It doesn't. What happens is, when Struts tries to access the nth bean to populate it, the lazyList creates a bean and puts it at the nth index. Here's what I put in my ActionForm: public class CollForm extends ActionForm { Collection accessDefinitions; public Collection get

RE: Not happy with approaches.. looking for better/other suggesti ons

2004-09-02 Thread Jarnot Voytek Contr AU/SC
It doesn't need to know the size, what needs to happen is for the list to grow as it's accessed. > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 2:52 PM > To: Struts Users Mailing List > Subject: Re: Not happy with approaches.. looki

Re: Not happy with approaches.. looking for better/other suggestions

2004-09-02 Thread Rick Reumann
Hubert Rabago wrote: Have you tried using ListUtils.lazyList() for this? I just tried it on a sample app and it works in cases like this. No I haven't tried that. Even with that, how is the lazy load going to know the size to load without calling a business class behind the scenes? (which seems

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread David Durham
Chuck Chopp wrote: I'm looking for some good solid examples that show how to configure the JSP files, struts-config.xml [global forwards, action mappings, form beans] and action classes where a JSP may forward/redirect to an action [may end up being a chain of actions] Dear God, please let no on

RE: Tiles in Rows and Columns

2004-09-02 Thread Caroline Jen
It does not work. There are three rows. The second row has two columns. I am able to display the first row, "the column on my right hand side in the second row", and the third row. The column on my left hand side in the second row is not shown. Here is the Frame.jsp which defines the layout: cod

Re: Not happy with approaches.. looking for better/other suggestions

2004-09-02 Thread Hubert Rabago
Have you tried using ListUtils.lazyList() for this? I just tried it on a sample app and it works in cases like this. - Hubert On Thu, 02 Sep 2004 14:27:32 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote: > One of the most frustrating things I run into when developing Struts > applications is the p

RE: never, ever bury an exception!

2004-09-02 Thread Yee, Richard K, CTR,, DMDCWEST
Dan, Thanks for sharing your pain. You should check out Jalopy on SourceForge. It is a code formatter and code inspector. It allows you to format your java code according to your organization's conventions and also inspect it for some of the items in Joshua Bloch's Effective Java book. The code ins

forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
I'm looking for some good solid examples that show how to configure the JSP files, struts-config.xml [global forwards, action mappings, form beans] and action classes where a JSP may forward/redirect to an action [may end up being a chain of actions] before another JSP is finally displayed. The

RE: Need help in struts

2004-09-02 Thread Buland Altaf
Hi There, If u have many values comming from database (like countries,cities etc) then its better to use html:options tag and if u have some static values (like yes/no,true/false) then u should use html:option tag. Hope it will answer u question. Regards, --- "Slattery, Tim - BLS" <[EMAIL PROT

Re: using

2004-09-02 Thread Buland Altaf
Hi There, U can not use options in iterate tag as options is itself populates array of values(collections). regards, --- "viji.george" <[EMAIL PROTECTED]> wrote: > > i have used a arraylist to store the objects. > and i have a doubt as to how to use options? > do i use optionCollection?? or op

Re: Not happy with approaches.. looking for better/other suggestions

2004-09-02 Thread Woodchuck
hi Rick, have you tried defining the following in your ActionForm? (assuming your collection has MyFooBar objects): public MyFooBar getAccessDefinitions(int i) { if(null == accessDefinitions) accessDefinitions = new ArrayList(); while(i >= accessDefinitions.size()) ((ArrayList)accessD

RE: Image Does Not Get Picked Up (solved)

2004-09-02 Thread Slattery, Tim - BLS
> So the lesson here is "turn off that stupid hide-the-extension > M$ cr*p". Beyond question. That's the first thing I do on a new or unfamiliar computer. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROT

RE: Image Does Not Get Picked Up (solved)

2004-09-02 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow > Sent: Thursday, September 02, 2004 11:54 AM > To: [EMAIL PROTECTED] > Subject: Re: Image Does Not Get Picked Up (solved) > > > So the lesson here is "turn off that stupid > hide-the-extension M$ cr*p

Re: Image Does Not Get Picked Up (solved)

2004-09-02 Thread Bill Siggelkow
So the lesson here is "turn off that stupid hide-the-extension M$ cr*p". Caroline Jen wrote: Hi, All: Thanks to all of you for making suggestions. Here is the story: The extension of my image was hidden when I first ran the application. I rolled my mouse over the name of that ima

RE: Tiles in Rows and Columns

2004-09-02 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 11:50 AM > To: Struts Users Mailing List > Subject: RE: Tiles in Rows and Columns > > > What is your suggestion? Sorry, at first glance, it looks like you're missing some very neces

RE: Tiles in Rows and Columns

2004-09-02 Thread Caroline Jen
What is your suggestion? --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 02, 2004 11:04 AM > > To: [EMAIL PROTECTED] > > Subject: Tiles in Rows and Columns > > > > > > I saw your reply

Re: Rapid Application Development

2004-09-02 Thread Vic
1. Create an HTML mock up (and validate requirments) 2. ren *.html *.jsp good luck. .V Shailender Jain wrote: Hai, I want to develop my new application using Struts Framework This is a relatively big application with more then 400 Function Points. Before we start developing we want to develop a pr

Re: Image Does Not Get Picked Up (solved)

2004-09-02 Thread Caroline Jen
Hi, All: Thanks to all of you for making suggestions. Here is the story: The extension of my image was hidden when I first ran the application. I rolled my mouse over the name of that image and it showed JPEG. Therefore, I used the .jpeg as its extension. I did follow

RE: Rapid Application Development

2004-09-02 Thread Buland Altaf
Hi There, Try to use Nitrox. Regards, --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Shailender Jain > [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 01, 2004 11:48 PM > > To: [EMAIL PROTECTED] > > Subject: Rapid Application Development > >

Re: dynamically change the dropdown list from a database...

2004-09-02 Thread dhay
(B> only one small piece of the page would be reloaded. (Bpartly I guess. (B (BThe clarify, that part of the page is not being "reload" as such - it is (Bbeing recreated dynamically (via hidden reload and javascript rebuilding (Bthe select box) to give a better user experience. (B (Bcheers

Not happy with approaches.. looking for better/other suggestions

2004-09-02 Thread Rick Reumann
One of the most frustrating things I run into when developing Struts applications is the problem of when you want to use a request scoped ActionForm but you need to populate a collection that is one of your ActionForm properties. The problem is the classic index out of bounds exception if you d

Asunto: dynamically change the dropdown list from a database...

2004-09-02 Thread Guillermo Meyer
Have you tried Providers (http://providers.sourceforge.net/) ? Providers has a taglib called ComboSelect that allow you to create dependant drop down lists using javascript and without the need of reloading the page. Besides, ProvidersTag works in conjunction with ComboSelectTag to create this com

Re: dynamically change the dropdown list from a database...

2004-09-02 Thread Erik Weber
I was thinking the benefit would be a quicker, smoother refresh since only one small piece of the page would be reloaded. Is that not correct? I don't know that much about frames. Erik Bill Siggelkow wrote: What is the benefit of the hidden frame? I guess that you can submit an entire form ...

Re: SOLVED: struts servlet chaining and immutable request?

2004-09-02 Thread Woodchuck
--- Erik Weber <[EMAIL PROTECTED]> wrote: > Well, I was assuming here that you *do* want to chain actions > together. > Based on your other posts, I'm not sure if that's what you want or > not. > So don't let me mislead you, because I don't fully understand. > Perhaps > all you really need is

RE: Tiles in Rows and Columns

2004-09-02 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 11:04 AM > To: [EMAIL PROTECTED] > Subject: Tiles in Rows and Columns > > > I saw your reply on the [EMAIL PROTECTED] > forum. I have three rows. The second rows has two > columns.

Re: dynamically change the dropdown list from a database...

2004-09-02 Thread dhay
(B>What is the benefit of the hidden frame? (BJust allows you to do things "behind the scenes" so you avoid the (Bfrustrating UI page reload (B (Bcheers, (B (BDavid (B (B (B (B|-+> (B| | Bill Siggelkow | (B| | <

Re: dynamically change the dropdown list from a database...

2004-09-02 Thread Bill Siggelkow
What is the benefit of the hidden frame? I guess that you can submit an entire form ... however, most of the time I only need to drop an ID as a request parameter. I dynamically populate select lists like this: Use an onchange or onclick JavaScript listener to call a JavaScript function that s

Tiles in Rows and Columns

2004-09-02 Thread Caroline Jen
I saw your reply on the [EMAIL PROTECTED] forum. I have three rows. The second rows has two columns. I am still very confused. My code displays every single piece of all tiles I have; but, my code does not display columns in the second row. Here is the Frame.jsp which defines rows and columns:

Re: struts servlet chaining and immutable request?

2004-09-02 Thread Erik Weber
Well, I was assuming here that you *do* want to chain actions together. Based on your other posts, I'm not sure if that's what you want or not. So don't let me mislead you, because I don't fully understand. Perhaps all you really need is a session-scoped form bean (so that it will stick around

Re: never, ever bury an exception!

2004-09-02 Thread Brett Connor
I usually wack log and assert false; if there is nothing better to do with it at the time. In situtations where you know an exception can never be thrown, I still would leave in at least this. Of course this view also comes I'm sure from being in your position before now. I don't recall but it's

Re: struts servlet chaining and immutable request?

2004-09-02 Thread Woodchuck
--- Woodchuck <[EMAIL PROTECTED]> wrote: > > --- Erik Weber <[EMAIL PROTECTED]> wrote: > > > What happens when you append a query String that changes the > original > > > > parameter value between Actions? > > > > For example, the original request is to A.do?foo=oldValue. Then > when > > tha

Re: dynamically change the dropdown list from a database...

2004-09-02 Thread dhay
Don't have any code handy, but it's quite straightforward: - create a hidden frame - on the select's onchange() do a submit on a form in the hidden frame to an action that gets the information from the database, passing in the relevant parameter - have the action forward to a jsp which is just a

Re: struts servlet chaining and immutable request?

2004-09-02 Thread Woodchuck
--- Bill Siggelkow <[EMAIL PROTECTED]> wrote: > If you are doing a wizard why are you forwarding to another Action > instead of to the "next" JSP? actually this is a very good question. i don't know why i am forwarding to another action instead of the JSP. :p i will change my forward path va

RE: never, ever bury an exception!

2004-09-02 Thread Jim Barrows
> -Original Message- > From: Dan Allen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 10:46 AM > To: Struts Users Mailing List > Subject: never, ever bury an exception! > > > I know that this might be obvious, but I am telling you all just so > that you can learn from my

Re: struts servlet chaining and immutable request?

2004-09-02 Thread Woodchuck
--- Erik Weber <[EMAIL PROTECTED]> wrote: > What happens when you append a query String that changes the original > > parameter value between Actions? > > For example, the original request is to A.do?foo=oldValue. Then when > that Action finishes processing, it forwards to B.do?foo=newValue.

RE: struts servlet chaining and immutable request?

2004-09-02 Thread Woodchuck
--- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Woodchuck [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 02, 2004 10:18 AM > > To: Struts Users Mailing List > > Subject: RE: struts servlet chaining and immutable request? > > > > > > > > --- Ji

never, ever bury an exception!

2004-09-02 Thread Dan Allen
I know that this might be obvious, but I am telling you all just so that you can learn from my pain. Because of time pressure, I accidently left an caught exception in the following state: catch (Exception e) { // TODO: do something with me } For the last couple of days the application server

RE: struts servlet chaining and immutable request?

2004-09-02 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 10:33 AM > To: Struts Users Mailing List > Subject: Re: struts servlet chaining and immutable request? > > > What happens when you append a query String that changes the original > pa

Re: struts servlet chaining and immutable request?

2004-09-02 Thread Bill Siggelkow
If you are doing a wizard why are you forwarding to another Action instead of to the "next" JSP? Woodchuck wrote: --- Jim Barrows <[EMAIL PROTECTED]> wrote: -Original Message- From: Woodchuck [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 10:02 AM To: struts Subject: strut

Re: struts servlet chaining and immutable request?

2004-09-02 Thread Erik Weber
What happens when you append a query String that changes the original parameter value between Actions? For example, the original request is to A.do?foo=oldValue. Then when that Action finishes processing, it forwards to B.do?foo=newValue. Doesn't that work or am I misunderstanding? Erik Woodch

RE: struts servlet chaining and immutable request?

2004-09-02 Thread Jim Barrows
> -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 10:18 AM > To: Struts Users Mailing List > Subject: RE: struts servlet chaining and immutable request? > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > -Origin

RE: struts servlet chaining and immutable request?

2004-09-02 Thread Woodchuck
--- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Woodchuck [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 02, 2004 10:02 AM > > To: struts > > Subject: struts servlet chaining and immutable request? > > > > > > hihi, > > > > in my Action object

Re: dynamically change the dropdown list from a database...

2004-09-02 Thread Erik Weber
Do you have an example of this? Thanks, Erik [EMAIL PROTECTED] wrote: Or you could get fancy and use a hidden frame which pulls the information from the database (via an Action of course!) in 1) - thus avoiding the annoying reload. |-+> | | Yve

Re: Image Does Not Get Picked Up

2004-09-02 Thread Erik Weber
Please paste your verbatim html:img tag contents. Please also paste your verbatim HTML source that is generated by the html:img tag. Please also run "jar -tf HSInfo.war", and paste the (small) section from that output that shows where your images are in the WAR hierarchy. Show the image in ques

RE: struts servlet chaining and immutable request?

2004-09-02 Thread Jim Barrows
> -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 10:02 AM > To: struts > Subject: struts servlet chaining and immutable request? > > > hihi, > > in my Action object, i am doing servlet chaining by forwarding to > another ".do" instea

struts servlet chaining and immutable request?

2004-09-02 Thread Woodchuck
hihi, in my Action object, i am doing servlet chaining by forwarding to another ".do" instead of forwarding to a ".jsp". so if i chain five different Actions, they will execute like: Action1 -> Action2 -> Action3... Action5 however, when doing this, the original request object is maintained thr

Re: Image Does Not Get Picked Up

2004-09-02 Thread Caroline Jen
I have tried .jpg as the extension. It does not work. I am using the Windows XP. --- Michael McGrady <[EMAIL PROTECTED]> wrote: > Caroline Jen wrote: > > >Thanks for your reply. > > > >I followed your advices: > > > >1. Try just: > >frame/common/images/dhs-header-title.JPEG (with no > >leading

Re: Image Does Not Get Picked Up

2004-09-02 Thread Yves Sy
You can also use the "src" attribute: to get to your image using relative paths... -Yves- On Thu, 02 Sep 2004 09:44:19 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > Caroline Jen wrote: > > >Thanks for your reply. > > > >I followed your advices: > > > >1. Try just: > >frame/common/image

Re: Hibernate VS ibatis, which is better?

2004-09-02 Thread Vic
So now, iBatis is part of Apache: http://www.mail-archive.com/general%40incubator.apache.org/msg03576.html It has a very nice PetStore (that uses Struts of course) .V David Durham wrote: Way to shut down a perfectly good thread, Ted. ;-) BTW, I read your book. When's the book covering 2.0 due?

Validator Framework - Multiple Resource Bundles

2004-09-02 Thread Revathi Balakrishnan
How can I specify an alternate resource bundle in my Validation.xml to retreive arg0, arg1 I saw so many messages about it but did not find a solution to it. A bug reported (Bugzilla bug 10868) Validator does not support non-default resource bundles. The status is resolved but there is no

Re: Image Does Not Get Picked Up

2004-09-02 Thread Michael McGrady
Caroline Jen wrote: Thanks for your reply. I followed your advices: 1. Try just: frame/common/images/dhs-header-title.JPEG (with no leading slash) does not work. 2. You are right. The generated HTML is an tag. When I clicked "View Source", it is: src="/HSInfo/frame/common/images/dhs-header-ti

Re: dynamically change the dropdown list from a database...

2004-09-02 Thread dhay
Or you could get fancy and use a hidden frame which pulls the information from the database (via an Action of course!) in 1) - thus avoiding the annoying reload. |-+> | | Yves Sy | | | <[EMAIL PROTECTED]| |

RE: Tiles in Frameset

2004-09-02 Thread VAN BROECK Jimmy
Use the columnLayout tile which is default included with tiles. Just put in a definition in your tiles-config like this. -> definition of the column Layout and then specific mailto:[EMAIL PROTECTED] Sent: donderdag 2 september 2004 15:43 To: [EMAIL PROTECTED]

RE: Hibernate VS ibatis, which is better?

2004-09-02 Thread dhay
Yeah, the community is certainly not even close when compared to Struts! To be fair, though, I think the underlying problem is caused by too few people being overwhelmed by the response to Hibernate - the "team" say they are spending hours each day trying to answer questions, with very little hel

Re: Image Does Not Get Picked Up

2004-09-02 Thread Wendy Smoak
From: "Jim Barrows" <[EMAIL PROTECTED]> > I'll agree with Wendy up to here... and then it's a style differerence... > the html:img tag also prepends the context information to the image, > so it's portable between contexts. In my experience, everything is portable, > everything changes, iow Mr. Mu

Re: dynamically change the dropdown list from a database...

2004-09-02 Thread Yves Sy
There are 2 ways to go about this: 1) use an onchange() handler in your select-A that submits the new value and retrieves the corresponding values for select-B everytime there's a change; 2) pre-load all possibilities and use javascript to change the values of select-B that depends on A. This opt

RE: dynamically change the dropdown list from a database...

2004-09-02 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 9:21 AM > To: Struts Users Mailing List > Subject: dynamically change the dropdown list from a database... > > > I am having problem dynamically display the dropdown list > from

  1   2   >