Re: Tile Communication

2004-11-02 Thread brenmcguire
I am new to Tiles. Is it possible to present a link in one tile and have it fire an action that updates another tile without having to reload the whole page? FAQ seems to not have a lot of tiles related stuff. Tiles are not frames. With HTML frames, if you decide to reload only a frame you can do

Re: Struts Tags Error

2004-11-02 Thread dmu2201
Geeth Narayanan wrote: I am trying to use Struts 1.2.4 on Tomcat 5.0. I seem to get errors for any of the struts tags including the tiles tag due to incompatibility with JSP2.0 or something, I guess. Here is the error: :\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\shop

OT: html list

2004-11-02 Thread andy wix
Hi, Does anyone know of a mailing list similar to this one for html problems? cheers, Andy _ Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/

Re: OT: html list

2004-11-02 Thread Ashish Kulkarni
Hi Look at http://www.javaranch.com/ --- andy wix [EMAIL PROTECTED] wrote: Hi, Does anyone know of a mailing list similar to this one for html problems? cheers, Andy _ Want to block unwanted pop-ups? Download the free

compile jsp with struts taglibs problem

2004-11-02 Thread Ricardo Andres Quintero
Hi Guys: does anyone know why this error happens with tomcat 5? im deploying into JBoss 3.2.5, and the problem is this: Ha tenido lugar un error en la lĂ­nea: 22 en el archivo jsp: /web/jsp/inicio.jsp Error de servlet generado:

RE: Struts Tags Error

2004-11-02 Thread Geeth Narayanan
I believe it is a compile time error than a runtime one. So, I don't have a stack trace. -Original Message- From: dmu2201 [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 2:38 AM To: Struts Users Mailing List Subject: Re: Struts Tags Error Geeth Narayanan wrote: I am trying

GlobalException doesn't work

2004-11-02 Thread Yu, John
Hi, I'm using Struts 1.1 with Tomcat (bundled with JBoss) and got the 500 error page when the execute method of an action class throws ClassNotFoundException. I have defined global exceptions, which I think should be used when a ServletException happens and directs me to the correct error page

Re: Trouble on HP-UX, 1.2.4 1.2.5 FileNotFoundException in commons-validator.jar

2004-11-02 Thread Wendy Smoak
From: Joe Hertz [EMAIL PROTECTED] Don't suppose you've tried building the Validator on the HP-UX machine? No... but it's Java, I shouldn't have to. Write once, run anywhere, right? I'd be curious if it worked packaged up if you did that. That same exact .jar file *does* work as part of the

RE: Nested Properties in ActionForms

2004-11-02 Thread Karr, David
Your accessors on the Form class are private. Make them public. -Original Message- From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 9:26 AM To: 'Struts Users Mailing List' Subject: Nested Properties in ActionForms Hi All, I need

RE: Nested Properties in ActionForms

2004-11-02 Thread Apte, Dhanashree (Noblestar)
:) thanks for pointing that out.. that was a dumb mistake I made while typing in my question. They are public in the actual class. -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 10:39 AM To: Struts Users Mailing List Subject: RE: Nested

Re: Tile Communication

2004-11-02 Thread Kevin Bridges
I've accomplished complex functionality like that in the past with javascript, dhtml and a hidden frame. The user would interact with a specific area of the page and submit data. The javascript functions would sit on a global window level and serialize the data into xml packets that were passed

JSF or Struts w/ JSF (again)

2004-11-02 Thread Abrams, Howard A
Hi everyone, For a new project, I'm planning on using JSF. The questions I need to answer are: What will Struts add if I use it together with JSF? Does it add missing functionality? Is there a good design pattern that JSF alone does not enforce? Are there common problems that are easier to solve

Struts and Displaying data from a database

2004-11-02 Thread dbm_mailinglist
Hello, I'm a complete newbie to Struts. I know how to use Struts to build forms and submit them, but how do I just display data from a database? I want a screen that just displays data from a sql command to a database and displays the results in a html table. Do I use ActionForm even though I

RE: JSF or Struts w/ JSF (again)

2004-11-02 Thread Abrams, Howard A
-Original Message- From: Kevin Bridges [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 10:40 AM To: Struts Users Mailing List Subject: Re: JSF or Struts w/ JSF (again) I found this article to be useful in addressing some of your questions:

Re: Struts and Displaying data from a database

2004-11-02 Thread Kevin Bridges
I had this question the other day and was referred to Hibernate (http://www.hibernate.org) by David Friedman. The other name that cam up was ibatis. I chose hibernate and used this tutorial to help figure it out: http://homepage.mac.com/edahand/projects/java/example1.html On Tue, 2 Nov 2004

Re: JSF or Struts w/ JSF (again)

2004-11-02 Thread Dakota Jack
I think that the article meant Struts powerful controller ARCHITECTURE [emphasis added], Howard. There are Actions, ActionForms, ActionMappings, ActionServlet, ActionMessages, RequestProcessor, and other less significant classes.. All these are integrated into a very useful and very powerful

Re: Struts and Displaying data from a database

2004-11-02 Thread DGraham
1. http://www.w3.org/TR/REC-html40/struct/tables.html 2. http://www.displaytag.org/index.jsp dbm_mailinglist [EMAIL PROTECTED] 11/02/2004 01:56 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Struts and Displaying data from a

Re: JSF or Struts w/ JSF (again)

2004-11-02 Thread Kevin Bridges
From the article: Why integrate the trinity? As the JSP and the related specifications mature, new standards like JSF and the JSP Standard Tag Library (or JSTL, which uses simple tags to encapsulate the core functionality common to many JSP applications) are emerging. Following are some of the

Re: JSF or Struts w/ JSF (again)

2004-11-02 Thread Vic Cekvenich
Abrams, Howard A wrote: _WHY_ I would want to integrate the two. I do not see the point of using too many technologies, it gets exponentialy harder. So pick one, but... are there any production JSF sites out there? .V - To

RE: Struts and Displaying data from a database

2004-11-02 Thread dbm_mailinglist
I guess that's where I get lost. What does the bean return so that it can display multiple rows in the JSTL/JSP? I guess the type of the 'getter' would be some type that allowed you to loop through the dataan array maybe? Do you know if there are any examples on the web? I'm trying to stick

RE: Struts and Displaying data from a database

2004-11-02 Thread Slattery, Tim - BLS
From: dbm_mailinglist [mailto:[EMAIL PROTECTED] Subject: RE: Struts and Displaying data from a database I guess that's where I get lost. What does the bean return so that it can display multiple rows in the JSTL/JSP? I guess the type of the 'getter' would be some type that allowed you to

RE: Struts and Displaying data from a database

2004-11-02 Thread Robert Taylor
Have the business logic (where ever it may reside) return a collection of JavaBean. You can simply place the collection in some scope (request, session, etc..) and render it on the JSP page using JSTL (for-each) or Struts iterate tag. You basically define an action mapping which will be invoked

Including a Struts action in a JSP - IllegalStateException / truncated response issue

2004-11-02 Thread Parke Jeff
Hello, I've seen a few posts on this subject, through this and other resources, but I haven't seen any appealing workarounds. I'd like to try to bring all the relevant information from these posts together and then ask for help in identifying a viable workaround. I apologize in advance if

RE: JSF or Struts w/ JSF (again)

2004-11-02 Thread Abrams, Howard A
Thanks again Kevin, but the bullet points from the article don't state why I would want to use Struts w/ JSF. With the exception of the quote about the controller being 'powerful', they just list why JSF is good. I know why JSF is good, why is Struts plus JSF better? -Original Message-

RE: JSF or Struts w/ JSF (again)

2004-11-02 Thread Abrams, Howard A
Thanks Michael, That helped a little. Perhaps someone who knows JSF and Struts well (Craig?) could comment on how the Struts controller is better than using JSF by itself. (Which leads us back to my original questions at the bottom of this thread.) I'm not sure I would mix Struts and JSF either;

Re: JSF or Struts w/ JSF (again)

2004-11-02 Thread Matt Bathje
Perhaps this link to Craig's blog will help clarify things: http://blogs.sun.com/roller/page/craigmcc/20040927#struts_or_jsf_struts_and Matt Abrams, Howard A wrote: Thanks again Kevin, but the bullet points from the article don't state why I would want to use Struts w/ JSF. With the exception of

Re: JSF or Struts w/ JSF (again)

2004-11-02 Thread Dakota Jack
You need to remember where, in a sense, you are, Howard. A lot of people, obviously, have invested a lot of time and energy into Struts based applications. With the advent or potential of JSF, so need to start to think about moving over. So, the merger of the two technologies here are not for

RE: JSF or Struts w/ JSF (again)

2004-11-02 Thread Robert Taylor
Howard, take a look at McClannahan's blog entry here: http://blogs.sun.com/roller/comments/craigmcc/Weblog/struts_or_jsf_struts_and You also might be interested in this article: http://svn.apache.org/viewcvs.cgi/*checkout*/struts/trunk/contrib/struts-shale/README.html He hints at the future of

Need an alternative to bean:define

2004-11-02 Thread Janice
My brain has stopped working. I need an alternative to bean:define. What I'm TRYING to do is iterate through a list, displaying a certain bit of code only when its different than the last iteration (grouping). Here's a snip: bean:define id=lastClientName value= /

help : how to redirect to a global-forward ?

2004-11-02 Thread sachin
hi all, i have a global forward defined as global-forwards action path=/toLogin forward=/master/login.jsp redirect=true / /global-forwards now in my Action class i want to forward this to global forward toLogin if the session is not valid .. how can achieve this ? this is going to be

Re: help : how to redirect to a global-forward ?

2004-11-02 Thread Antony Paul
Why are you using action inside global-forward. Use a forward element. You can reference it from action like mapping.findForward(toLogin); rgds Antony Paul On Wed, 3 Nov 2004 10:27:49 +0530, sachin [EMAIL PROTECTED] wrote: hi all, i have a global forward defined as global-forwards

Re: Struts Tags Error

2004-11-02 Thread dmu2201
Geeth Narayanan wrote: I believe it is a compile time error than a runtime one. So, I don't have a stack trace. Ok then... How does the JSP look like then? Perhaps it is possible to see from that. As far as I read the error it is because a JSP tag has been used combined with a Struts HTML