RE: Tomcat 4.0b7 and struts-example webapp
I just installed Tomcat4.0-b7 and have the examples working. I tried running my webapp that ran fine under Tomcat3.2 and it gives me these errors when Tomcat starts: Starting service Tomcat-Standalone Apache Tomcat/4.0-b7 register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:file:/c:/web/blitzDev/WEB-INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd' register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/c:/web/blitzDev/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd' register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/c:/web/blitzDev/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd' Starting service Tomcat-Apache Apache Tomcat/4.0-b7 When I try to hit the webapp root, I get the following: A Servlet Exception Has Occurred Exception Report: javax.servlet.ServletException: Cannot find global ActionForward for name homepage at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:452) at org.apache.jsp._0002findex_jsp._jspService(_0002findex_jsp.java:87) I tried adding the struts-examples by sticking the .WAR files in the webapps directory and it gave me the exact same 'register' messages when I restarted Tomcat. Is this another XML parsing issue? I have jaxp.jar and crimson.jar in CATALINA_HOME/server/lib, CATALINA_HOME/jasper, and JAVA_HOME/lib/jaxp-1.1. Getting rid of the files in one in JAVA_HOME didn't fix anything. Calvin --- Jonathan Rosenblitt <[EMAIL PROTECTED]> wrote: > In the install instructions for JAXP 1.1 they > recommend putting the > jaxp.jar and crimson.jar files in > $JAVA_HOME/jre/lib/ext if you are running > Java 2. I did this and also got the sealing > violation exception. When I > replaced the files with the same name files, from > the $CATALINA_HOME/jasper > subdir the examples worked fine. After fiddling and > moving files around for > a long time it seemed to me that the jar files from > $CATALINA work and the > files from the JAXP 1.1 download, don't work > correctly with Catalina b5 or > b7. > > By the way, the files are slightly different sizes. > When I tried to follow > up on the Security Exception, it came up with > something about different > certificates being used to sign the classes. I don't > know if this is > relevant. > > Jonathan Rosenblitt > > -Original Message- > From: Marcel Mare [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 02, 2001 12:24 AM > To: [EMAIL PROTECTED] > Subject: RE: Tomcat 4.0b7 and struts-example webapp > > > I had this same problem when putting crimson.jar and > jaxp.jar from my own > JAXP 1.1 installation. I solved it by using the > crimson.jar and jaxp.jar > from the %CATALINA%/jasper subdir. > Sure looks the same like WIndows DLL hell to me > ;-) > > Marcel Mare > > > -Oorspronkelijk bericht- > > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > > Verzonden: vrijdag 31 augustus 2001 23:43 > > Aan: [EMAIL PROTECTED] > > Onderwerp: Re: Tomcat 4.0b7 and struts-example > webapp > > > > > > > > So the problem was that the Struts example > wouldn't load in Tomcat4.0 B7 > > because it didn't have a parser or the jaxp.jar. > Someone > > suggested putting > > a parser and jaxp.jar in the CATALINA_HOME/lib > directory. This worked for > > me. But a post from the tomcat list suggested > putting them in the > > web-inf/lib directory. Indeed this latter method > should work and seems a > > better solution to me: > > > > Craig McClanahan posts: > > the order in which Tomcat 4 looks for classes to > load. > > - /WEB-INF/classes > > - /WEB-INF/lib (undefined order of JAR files) > > - $CATALINA_HOME/classes > > - $CATALINA_HOME/lib (undefined order of JAR > files) > > - $CATALINA_HOME/common/classes > > - $CATALINA_HOME/common/lib (undefined order of > JAR files) > > > > So I put crimson.jar & JAXP in the WEB-INF/lib > directory. It's > > not loading > > properly, it throws a sealing violation. The > classloader isn't having it. > > Not sure why this is happening. Anyone? > > > > Craig R. > > > > > > > > > > > > > > > > Craig_Reichenbach > > > > @lotus.com To: > > [EMAIL PROTECTED] > > cc: > (bcc: Craig > > Reichenbach/CAM/Lotus) > > 08/31/2001 03:05 > Subject: Re: > > Tomcat 4.0b7 and struts-example webapp > > PM > > > > Please respond to > > > > struts-user > > > > > > > > > > > > > > > > > > > > > > This is more a question for the Tomcat list, but > since it came up below, > > what is the best practice for including needed > libraries and > > implementations (such as crimson.jar & jaxp.jar) > in Catalina? While Ian's > > suggestion below moves these from /jasper to /lib, > I found the struts > > example also works in B7 by putting jaxp
Validator: can you test for matched passwords?
Hi- Is there any way to configure the validator to check for matched passwords? For example: Thanks, -Mike -- Mike Bridge <[EMAIL PROTECTED]>
request.setAttribute() can be retrieved in bean:message?
Should I be able to retrieve a string that has been set by request.setAttribute from within a ? For example, in an Action I have: request.setAttribute("registeredemail",email); return mapping.findForward("waitforconfirm"); in the jsp that the waitforconfirm points to, this works fine: Your email was: <%= request.getAttribute("registeredemail") %> However, the following tells me that "registeredemail" doesn't work: " /> Is this the correct way to do this, or do I need to write this another way? Thanks, -Mike -- Mike Bridge <[EMAIL PROTECTED]>
Trouble With Tomcat 3.2.1, JDK 1.3.1 On Linux
When using Tomcat 3.2.1 (came with Borland JB) under the Sun 1.3.1 JDK on RH Linux 7.0, I find that Struts cannot seem to find my action classes. It fails when the action servlet tries to do a Class.forName() prior to instantiating an action class instance. Due to my laziness, these classes are not in a package but they are found in WEB-INF/classes. Prior to upgrading to 1.3.1 of the JDK, this was not a problem. If I switch back, the classes are found just fine (however, I cannot debug in JB without hangs and crashes - which is why I changed JDKs). I have read in one place that Struts does NOT work well with Tomcat 3.2.1. Is this so? If so, which 3.x version is best? Any pointers or tips are appreciated. If possible, please respond via email in addition to the list. Thanks, David
Re: rtexprvalue - what is it?
true means you can have: false means you cannot have a scriplet variable as a value. At least that's my understanding. Matt --- Pete Carapetyan <[EMAIL PROTECTED]> wrote: > In the .tld files, every attribute looks like this. But I can't find > anything anywhere about the third one: rtexprvalue, and when to set it > true and false. > > > value > false > true > > > Also, where did I miss it, if it is in the documentation somewhere? > -- > Pete Carapetyan > http://datafundamentals.com > Java Development Services > > Open standards technology for commercial profitability > > __ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com
rtexprvalue - what is it?
In the .tld files, every attribute looks like this. But I can't find anything anywhere about the third one: rtexprvalue, and when to set it true and false. value false true Also, where did I miss it, if it is in the documentation somewhere? -- Pete Carapetyan http://datafundamentals.com Java Development Services Open standards technology for commercial profitability
Re: Why use Struts in this case ?
The comment doesn't mean to imply that the database would be loaded from the JSP. In practice, the loading would take place within the scope of the Action, and the portion to display passed to the JSP with the request. A collection can be used for this. Another option is the ResultSet tags in the Jakarta Taglibs dbTags set. It has recently been extended to support RowSets for read-only results. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ Marcelo Stefanelli Santos wrote: > > In the file "subscription.jsp" in the "struts-example" application, > I found the lines (from line 8 to 14): > > <%-- In real life, these would be loaded from a database --%> > <% > java.util.ArrayList list = new java.util.ArrayList(); > list.add(new org.apache.struts.webapp.example.LabelValueBean("IMAP > Protocol", "imap")); > list.add(new org.apache.struts.webapp.example.LabelValueBean("POP3 > Protocol", "pop3")); > pageContext.setAttribute("serverTypes", list); > %> > > but I'm trying to understand if Struts is realy usefull in this case. > Let's see... > If I use a Conn/Stmt/ResultSet to do that, I'll have a ResultSet > in the end and need to "cast" it to something like Collection > (all implementations), to use the . > The problem is that "cast". I could be wrong but to do the > cast from ResultSet to a Collection I'll need to pass throw > the entire ResultSet and insert its values in the Colletion. > So when the Collection is ready, I return it to the > tag to pass throw the entire Colletion again to show it. > (The problem is here if the ResultSet has 1 X 10^5 elements) > Isn't it much better to use a kind of ResultSet + scriplet > to fill the in a or a ? > Thanks for your time. > Marcelo
Why use Struts in this case ?
In the file "subscription.jsp" in the "struts-example" application, I found the lines (from line 8 to 14): <%-- In real life, these would be loaded from a database --%> <% java.util.ArrayList list = new java.util.ArrayList(); list.add(new org.apache.struts.webapp.example.LabelValueBean("IMAP Protocol", "imap")); list.add(new org.apache.struts.webapp.example.LabelValueBean("POP3 Protocol", "pop3")); pageContext.setAttribute("serverTypes", list); %> but I'm trying to understand if Struts is realy usefull in this case. Let's see... If I use a Conn/Stmt/ResultSet to do that, I'll have a ResultSet in the end and need to "cast" it to something like Collection (all implementations), to use the . The problem is that "cast". I could be wrong but to do the cast from ResultSet to a Collection I'll need to pass throw the entire ResultSet and insert its values in the Colletion. So when the Collection is ready, I return it to the tag to pass throw the entire Colletion again to show it. (The problem is here if the ResultSet has 1 X 10^5 elements) Isn't it much better to use a kind of ResultSet + scriplet to fill the in a or a ? Thanks for your time. Marcelo
Re: Validation errors and scope.
Beans that were in the request when the page was rendered are long gone when you submit a "new" request from that page. Therefore, you must re-create them and put them back in the request if the validation fails. Many people forego validation in the form and do it in the action instead to accommodate this need... Troy On Monday 03 September 2001 12:10 pm, you wrote: > Hi, > > My question concerns beans in the request scope and what happens to them > when validation fails. In fact I know they disappear, and that is my > problem. I do not want to use the session scope to store them for the > reasons below. > > THE CONTEXT > > I am on an intranet project where it has been decided to have very long > session time out. We will have quiet a few users on the system (~ 500), so > we want to put our beans (whether forms or other beans) in the request > scope as we don't want to have too many of them in the session (too much > memory would be used too long). > > My pages contain some dynamic content, which I pass on to my jsp through > beans (stored in the request). The problem is that when the forms are > validated and fail validation, only the data that is in the form is kept as > the user is redirected to the data-entry page. Any object in the request is > purged. > > POTENTIAL SOLUTIONS but not quiet satisfying > > The tag: > The beans I use for the dynamic content are too complex to be handled > through the tag, so that is not an option. And anyway, > the form is not a good to put these beans in as they are not data to be > modified by the user. > > Using the session scope: > One of the solutions is to use the session scope and remove the beans from > the session once we don't need them anymore. But this can be easily > forgotten and is not obvious to spot. It also reminds me too much of C++. > :( > > SO... > > So... Is there any way in struts that would allow the data in the request > scope to be reused when validation fails? Or another to organise the lot? > Did I miss something? Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1" Content-Transfer-Encoding: quoted-printable Content-Description:
Struts Validator
I'm having a look at the Struts validator, and I've got a couple of questions: 1. There appears to be a load of whitespace in the genertated Javascript, which bloats the HTML page. Is this normal, or is it me? 2. I'm trying a simple 'required' validation as defined in validation.xml on a password which is in an . The gets validated ok, but not the password. Any ideas? 3. I was thinking about formsets and the locale specific validation. Is it possible to have a 'base' set of validations that are 'overridden' by locale specific validation? If the answers are in the docs, sorry but I've missed 'em. Thanks for any help. --- Andy BEGIN:VCARD VERSION:2.1 N:Noble;Andy;;Mr. FN:Andy Noble ORG:Data Workshop Ltd TEL;WORK;VOICE:+44(0)161 705 1518 TEL;CELL;VOICE:+44(0)7947 854916 TEL;WORK;FAX:+44(0)161 705 1295 ADR;WORK:;;United Kingdom LABEL;WORK:United Kingdom X-WAB-GENDER:2 URL: URL:http://www.data-workshop.com BDAY:19700128 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20010903T184047Z END:VCARD
Validation errors and scope.
Hi, My question concerns beans in the request scope and what happens to them when validation fails. In fact I know they disappear, and that is my problem. I do not want to use the session scope to store them for the reasons below. THE CONTEXT I am on an intranet project where it has been decided to have very long session time out. We will have quiet a few users on the system (~ 500), so we want to put our beans (whether forms or other beans) in the request scope as we don't want to have too many of them in the session (too much memory would be used too long). My pages contain some dynamic content, which I pass on to my jsp through beans (stored in the request). The problem is that when the forms are validated and fail validation, only the data that is in the form is kept as the user is redirected to the data-entry page. Any object in the request is purged. POTENTIAL SOLUTIONS but not quiet satisfying The tag: The beans I use for the dynamic content are too complex to be handled through the tag, so that is not an option. And anyway, the form is not a good to put these beans in as they are not data to be modified by the user. Using the session scope: One of the solutions is to use the session scope and remove the beans from the session once we don't need them anymore. But this can be easily forgotten and is not obvious to spot. It also reminds me too much of C++. :( SO... So... Is there any way in struts that would allow the data in the request scope to be reused when validation fails? Or another to organise the lot? Did I miss something?
Re: Dynamic Forwarding ...
Instead of trying to add a parameter to the forward, it sounds like you would be better served to simply add a request attribute to specify the "formName". In your action class you do this: request.setAttribute("formName", action); Then on your jsp page: That should do it. Troy On Monday 03 September 2001 03:34 am, you wrote: > Thanks, Ted, for the reply. > Actually, I am not forwarding from Action to Action. > The mapping of the forward "dummy" resolves to a JSP > named dummy.jsp and not an action (*.do). > > From an action, on submit, I would like to tansfer > control to a JSP to accept more inputs. Along with > this control transfer, I would like to pass a > parameter to indicate some logic. > > I finally did this using a request.getParameter( > "formName" ) in the JSP as a scriplet, and declaring a > hidden property in the JSP : > > > Now I can access this property from the action class > of the form dummyForm. Please suggest, if there is a > better method of doing this (without the scriplet). > > Regarding the link that u have mentioned, I had > already gone thru it. I do not understand one point. > If I have a form formA, having a property "formName", > then when I forward to another form, formB, how will > the property be retained as part of formB ? > > Regards. > > - Debasish > > --- Ted Husted <[EMAIL PROTECTED]> wrote: > > What's in the JSP wouldn't matter, since you are > > going from one Action > > to another. > > > > If formName is a property in the ActionForm, then it > > shuld be populated. > > > > I would try using request.getParameter("formName") > > and see if that's > > null too. > > > > I'd also try hardcoding the value for action to be > > sure that is not > > null. > > > > If you haven't already, see also > > http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14280.html > > > Debasish Ghosh wrote: > > > Hi All - > > > > > > I have trying to implement dynamic forwarding in > > > > my > > > > > application. > > > In the Action class where I am preparing the > > > > forward > > > > > URL, I am doing the following : > > > > > > ActionForward fwd = mapping.findForward("dummy"); > > > StringBuffer path = new StringBuffer( > > > > fwd.getPath() ); > > > > > path.append( "?formName=" ).append( action ); > > > return new ActionForward( path.toString(), > > > fwd.getRedirect() ); > > > > > > With this, I am getting the correct parameter to > > > ActionForward, and the control is also forwarded > > > > to > > > > > the appropriate JSP. But I am not able to access > > > > the > > > > > passed-in parameter. I have a property named > > > "formName" in the called form. But from the action > > > > of > > > > > the called form, when I access the property > > > getFormName(), I get NULL. > > > > > > In order to achieve this, do I have to declare > > > anything in the JSP ? > > > > > > Please help !! > > > > > > Regards. > > > > > > - Debasish > > > > > > __ > > > Do You Yahoo!? > > > Get email alerts & NEW webcam video instant > > > > messaging with Yahoo! Messenger > > > > > http://im.yahoo.com > > __ > Do You Yahoo!? > Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger > http://im.yahoo.com
doubly nested data structures and iterate
Is there a convenient way to work with the iterate tag, using the "indexed" attribute, and data structures that are doubly nested? I have a search form with a dynamic set of search attributes, and each search attribute optionally has a dynamic set of conditions. I have used scriptlets to generate request parameter names in the following form: "searchAttr[i].condition[j].someProperty". And these parameters have worked with standard html tags (they've successfully updated the correct property when the from has been submitted). However, the struts taglibs don't seem to want to work. When I try to use these generated names, I get exceptions (like "Invalid declaration" exceptions, where the array subscripts on searchAttr were complained about). Has any else worked with the iterate tag using the "indexed" attribute to accomplish something similar? I would envision being able to do something like the following: I would then expect the tag to generate a parameter name as my scriptlet does... Any thoughts on this would be appreciated! Thanks, Troy __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
Question about "ActionForm"
Hello, We are trying to find a clue for this typical case: from a form with research critiria, we want to create a page with the list of results. We have an "ActionForm" associated to the form. The "ActionForm" is submitted to the class "Action" which shows the list of results. But we want to have an "ActionForm" which contains the list as well. However, one class "Action" can be mapped on only one "ActionForm". How to do to have both "ActionForm" mapped on the same class "Action" ? Thanks for your answers. T. Lempereur.
RES: Instalation of Struts on TomCat with Apache
Hi Wagner, I've done all this. The only issue is that the Apache doesn't recognize the .do extension. The Struts is working fine directly on the Tomcat (throught the 8080 port). And the JSP and Servlets are working fine with the Apache (throught the 80 port), except for the Struts servlets (with the extension .do). I think I have to include a line similar to this "AddHandler jserv-servlet .do" on the http.conf or on the mod_jk.conf. The problem is that this line is for the Jserv and I'm using the mod_jk. And in the documentations of the Apache, Tomcat and Struts doesn't mention the correct Handdler for the mod_jk. To sum all up, How can I make the Apache recognize the .do extension? Thanks Luiz Ps. Obrigado Wagner, Respondi em ingles para q o resto da lista compreendesse -Mensagem original- De: Wagner Correa Ramos [mailto:[EMAIL PROTECTED]] Enviada em: segunda-feira, 3 de setembro de 2001 11:35 Para: [EMAIL PROTECTED] Assunto: Re: Instalation of Struts on TomCat with Apache Luiz, I had this problem too and the solution is... In the http.conf we need the line (or similar depending of your o.s.) include C:\jakarta-tomcat-3.2.1\conf\mod_jk.conf-auto Insert them (after) the line: JkMount /*.do ajp12 And modify too the line (in http.conf) where we have DirectoryIndex index.html To be as: DirectoryIndex index.html index.jsp I hope this help you. Wagner Correa Ramos (Depois de responder vi que voce fala portugues !!! - Boa Sorte com o Struts - eh uma excelente ferramenta) - Original Message - From: "Luiz Carlos Barbosa Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 03, 2001 10:04 AM Subject: Instalation of Struts on TomCat with Apache Hi, I´m tring to install the Struts 1.0 on the Tomcat 3.2.1 with Apache (on the Win2k). Acording to the instaling instructions on the Tomcat web page I could include one of the following configuration files on the Apache's "httpd.conf": * tomcat-apache.conf * mod_jk.conf-auto It recommened to use the "mod_jk.conf-auto". So I've used it. But on the Struts' site it says that I have to include the following line on the "tomcat-apache.conf": AddHandler jserv-servlet .do As I'm using "mod_jk.conf-auto" instead of "tomcat-apache.conf", I tried to include this line on the httpd.conf, but didn't work out. So my web server isn't recognizing the *.do extension. I haven't tried to include this line on the "mod_jk.conf-auto", because this file is built every inicialization of the the Tomcat. Thanks. Luiz
Re: Instalation of Struts on TomCat with Apache
Luiz, I had this problem too and the solution is... In the http.conf we need the line (or similar depending of your o.s.) include C:\jakarta-tomcat-3.2.1\conf\mod_jk.conf-auto Insert them (after) the line: JkMount /*.do ajp12 And modify too the line (in http.conf) where we have DirectoryIndex index.html To be as: DirectoryIndex index.html index.jsp I hope this help you. Wagner Correa Ramos (Depois de responder vi que voce fala portugues !!! - Boa Sorte com o Struts - eh uma excelente ferramenta) - Original Message - From: "Luiz Carlos Barbosa Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 03, 2001 10:04 AM Subject: Instalation of Struts on TomCat with Apache Hi, I´m tring to install the Struts 1.0 on the Tomcat 3.2.1 with Apache (on the Win2k). Acording to the instaling instructions on the Tomcat web page I could include one of the following configuration files on the Apache's "httpd.conf": * tomcat-apache.conf * mod_jk.conf-auto It recommened to use the "mod_jk.conf-auto". So I've used it. But on the Struts' site it says that I have to include the following line on the "tomcat-apache.conf": AddHandler jserv-servlet .do As I'm using "mod_jk.conf-auto" instead of "tomcat-apache.conf", I tried to include this line on the httpd.conf, but didn't work out. So my web server isn't recognizing the *.do extension. I haven't tried to include this line on the "mod_jk.conf-auto", because this file is built every inicialization of the the Tomcat. Thanks. Luiz
Where is the bug in my config ?
Hi !! I have a jsp-site with this form: When I want call the site I get a 500 internal server error. Looking into the logs show me this: <03.09.2001 15:32:16 CEST> <[WebAppServletContext(7676648,DefaultWebApp,/DefaultWebApp)] Root cause of ServletException javax.servlet.jsp.JspException: Cannot retrieve mapping for action /LookupAction where is the problem ? my web.xml says: action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml validate true 1 action *.do (the taglibs from struts) and my struts-config.xml looks like this:
newbie question
Hi all Upon starting my project's documentation which uses Struts, I wanted to know what does Struts actually stand for or is not an acronym? Thanks Jose -- \=/, _-===-_-===-_-===-_-===-_-==-_ | @___oo ( )_ /\ /\ / (___,,,}_--=) ) /^\) ^\/ _)=_"Positive thinking - a great way ) ) /^\/ _) (_to face life" ) ) _ / / _) (Jose Correia) /\ )/\/ || | )_) (_[EMAIL PROTECTED]) < > |(,,) )__) ( [EMAIL PROTECTED]) || /\)___)\ (__) | \( )___) )___ -==-___-=-___== \__(___;;; __;;;
Instalation of Struts on TomCat with Apache
Hi, I´m tring to install the Struts 1.0 on the Tomcat 3.2.1 with Apache (on the Win2k). Acording to the instaling instructions on the Tomcat web page I could include one of the following configuration files on the Apache's "httpd.conf": * tomcat-apache.conf * mod_jk.conf-auto It recommened to use the "mod_jk.conf-auto". So I've used it. But on the Struts' site it says that I have to include the following line on the "tomcat-apache.conf": AddHandler jserv-servlet .do As I'm using "mod_jk.conf-auto" instead of "tomcat-apache.conf", I tried to include this line on the httpd.conf, but didn't work out. So my web server isn't recognizing the *.do extension. I haven't tried to include this line on the "mod_jk.conf-auto", because this file is built every inicialization of the the Tomcat. Thanks. Luiz
Re: Employeelist example in VAJ 3.5.3
Sean, I experienced this same problem (in VAJ 3.5.4). I solved it the same way anyone else have a better solution? (Better explanation of what's wrong?) Stephen :-{)
Urgent html:link problem!!
Hello there, I have a jsp including the lines below; click ... When I first click the link, I get an error from weblogic; Pzt Eyl 03 15:44:43 GMT+03:00 2001: action: Validation error(s), redirecting to: /mainMenu.jsp Pzt Eyl 03 15:44:43 GMT+03:00 2001: Connection failure java.net.SocketException: socket closed (code=0) java.lang.Throwable(java.lang.String) java.lang.Exception(java.lang.String) java.io.IOException(java.lang.String) java.net.SocketException(java.lang.String) int java.net.SocketInputStream.socketRead(byte [], int, int, java.net.SocketImpl, java.io.FileDescriptor) int java.net.SocketInputStream.read(byte [], int, int) void weblogic.socket.JavaSocketMuxer.processSockets() void weblogic.socket.SocketReaderRequest.execute(weblogic.kernel.ExecuteThrea d) void weblogic.kernel.ExecuteThread.run() When I click again, I get correct jsp messages in mainmenu.jsp without any error like above...Is there a bug in onclick=form.submit();.. Thanks for any suggestions. Baris Güzelordu IT-Customer Services * +90 212 449 23 35 * +90 532 210 19 57 * [EMAIL PROTECTED] *** This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is prohibited. The opinions expressed in this message belong to sender alone. There is no implied endorsement by TURKCELL. This e-mail has been scanned for all known computer viruses. ***
RE: Class PropertyUtils is deprecated
The PropertyUtil is now in the jakarta commons Library in the beansProperty package. let's see : http://jakarta.apache.org/commons/commons.html arno -Message d'origine- De: Ines Pederiva [SMTP:[EMAIL PROTECTED]] Date: lundi 3 septembre 2001 14:06 A: [EMAIL PROTECTED] Objet: Class PropertyUtils is deprecated SV: Including Actions via jsp:includeClass PropertyUtils is deprecated... what should I use instead of this class?? What sould I use instead of the deprecated method: copyProperties(java.lang.Object dest, java.lang.Object orig) ?? Regards. << Fichier: ATT4.htm>>
numberformat tag?
Has any one written a number format tag or date format tag for Struts? I written a simple subclass of the org.apache.struts.taglib.bean.WriteTag , but if there is something better ... -- Peter Pilgrim | |++44 (0)207-545-9923 \ \ ___ / / ... . - ( * ) --- -- _Cafe_Savannah,_San Antonio,Ibiza__ -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Re: Class PropertyUtils is deprecated
Title: SV: Including Actions via jsp:include The class has been repackaged. It is now under the apache commons. -- gR - Original Message - From: Inés Pederiva To: [EMAIL PROTECTED] Sent: Monday, September 03, 2001 2:06 PM Subject: Class PropertyUtils is deprecated Class PropertyUtils is deprecated... what should I use instead of this class?? What sould I use instead of the deprecated method: copyProperties(java.lang.Object dest, java.lang.Object orig) ?? Regards.
Class PropertyUtils is deprecated
Title: SV: Including Actions via jsp:include Class PropertyUtils is deprecated... what should I use instead of this class?? What sould I use instead of the deprecated method: copyProperties(java.lang.Object dest, java.lang.Object orig) ?? Regards.
Re: Including Actions via jsp:include
:-) The question is not, whether it works on different servers, the question is, whether the original including of forwarding Action works on some servers. If the Action.perform returns null, then there is no forward and no reason for such an exception. The real problem with this solution is that it breaks the MVC pattern. In order to make it work, your VIEW (your JSP) which includes the action, decides how to display the action's results. It does so by incluing the second *.jsp. But this decision should be made by the action itself in cooperation with the ActionServlet. (The action decides what is the logical result e.g. "success" and the action servlet maps it to the physical *.jsp or whatever is defined in struts-config.xml) -- gR - Original Message - From: "Mikkel Bruun" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 03, 2001 12:19 PM Subject: SV: Including Actions via jsp:include > whoa! > > thanks alot... > > does this hack work on all servers??? > I have just tested it on tomcat 3.2, will try on Iplanet later... > > :: > Mikkel Bruun > Senior IT Developer > [EMAIL PROTECTED] > Direct: +45 32 88 22 73 > > Valtech A/S > Kanonbaadsvej 10 > DK-1437 Copenhagen > Tel +45 32 88 20 00 > Fax +45 32 88 20 20 > > > > > -Oprindelig meddelelse- > > Fra: Gregor Rayman [mailto:[EMAIL PROTECTED]] > > Sendt: 03 September 2001 11:50 > > Til: [EMAIL PROTECTED] > > Emne: Re: Including Actions via jsp:include > > > > > > > hi Guys, > > > > > > I bet this has come up before... > > > > > > I need to include the output of an action in a jsp, using > > the jsp:include > > > tag lie this: > > > > > > > > > > > > > > > > > > but I get an illegalstate exception, as the ActionServlet > > forwards instead > > > of includes... > > > > > > is there anyway to do this??? > > > > > > thanks > > > > > > I've found one workaround which can help in some situations: > > > > make the Action.perform return null. > > > > include the view (JSP) then. > > > > So it could look like this: > > > > > > > > > > > > > > > > But it is ugly indeed. > > > > -- > > gR > > > > > > > > >
RE: problem in showing PDF, Doc, xls etc
Title: SV: Including Actions via jsp:include hi, your typical flow is something like, u click on a link which invokes a new window which inturn invokes some action class, which fetches the file may be from a file system or BLOB field of database, and then u dont forward it anywhere... !!! and ur last part of action class will look like this... response.setContentType("application/pdf"); javax.servlet.ServletOutputStream out = response.getOutputStream(); out.write(data); // where data is byte[] containing ur filedata out.flush(); out.close(); return null; i hope it helps.. -satyen -Original Message-From: Mikkel Bruun [mailto:[EMAIL PROTECTED]]Sent: Monday, September 03, 2001 11:39 AMTo: '[EMAIL PROTECTED]'Subject: SV: problem in showing PDF, Doc, xls etc you have to use a servlet for this...print to the servletOutPutStream Jsp's cant display binary files :: Mikkel Bruun Senior IT Developer [EMAIL PROTECTED] Direct: +45 32 88 22 73 Valtech A/S Kanonbaadsvej 10 DK-1437 Copenhagen Tel +45 32 88 20 00 Fax +45 32 88 20 20 -Oprindelig meddelelse-Fra: Anwar Sadat [mailto:[EMAIL PROTECTED]]Sendt: 03 September 2001 12:28Til: '[EMAIL PROTECTED]'Emne: problem in showing PDF, Doc, xls etc Hi, I have one jsp which shows some links.. This link contains the filename (HTML file). If i click on this link, i will execute one more jsp. This jsp has some methods which will get the file and show the content. This works fine if i have only html files to be shown.. If i have other document types (like pdf, doc, xls etc), how can i show these things on the browser thro my second JSP Thanx in Advance Regards Anwar The information in this Internet email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Internet email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Internet email are subject to the terms and conditions expressed in any applicable governing ING Barings' terms of business or client engagement letter. Visit us at www.ingbarings.com
iterating over trees
Dear list, given that I have a JavaBean Strutcture that exposes a tree of some form. Each node contains a String and any number of children. I would like to render such a Bean into a site-map like html page via jsp code. The interesting part, though, would be a tree-pendant to . What I have in mind is s.th. like this ... output the name of the node ... (via bean:write for example) Which would give as output something like this (rendered by: aleitner-is-not-lynx-v-0.0.1): * Item 1 * Item 1.1 * Item 1.2 * Item 2 * Item 3 * Item 3.1 * Item 3.2 * Item 3.2.1 * Item 3.2.2 (generated html-source) Item 1 Item 1.1 Item 1.2 Item 2 Item 3 Item 3.1 Item 3.2 Item 3.2.1 Item 3.2.2 given the right tree-bean of course (; Now my question, does such a tag-lib exists? I have implemented a few simple highly specialized beans for the project I am working on, but I have no idea how to write such nested and interdepended tags. If no such libraries exist, can somebody give me some hints for how I should go for implementing such a thing? Many thanks in advance, Andreas
RE: problem in showing PDF, Doc, xls etc
Title: SV: Including Actions via jsp:include I never actually did it, but it would seem that setting the contentType to something other than text/html should allow you to return any type of data! Mark Schenk | Ceci n'est pas une signatureBlackboard Project Manager |Delft University of Technology |E-mail: [EMAIL PROTECTED]Dept.: DTO |Phone: +31 152785448 (85448)Room: LB00.680 |Fax: +31 152786359- -Original Message-From: Mikkel Bruun [mailto:[EMAIL PROTECTED]]Sent: Monday, September 03, 2001 12:39 PMTo: '[EMAIL PROTECTED]'Subject: SV: problem in showing PDF, Doc, xls etc you have to use a servlet for this...print to the servletOutPutStream Jsp's cant display binary files :: Mikkel Bruun Senior IT Developer [EMAIL PROTECTED] Direct: +45 32 88 22 73 Valtech A/S Kanonbaadsvej 10 DK-1437 Copenhagen Tel +45 32 88 20 00 Fax +45 32 88 20 20 -Oprindelig meddelelse-Fra: Anwar Sadat [mailto:[EMAIL PROTECTED]]Sendt: 03 September 2001 12:28Til: '[EMAIL PROTECTED]'Emne: problem in showing PDF, Doc, xls etc Hi, I have one jsp which shows some links.. This link contains the filename (HTML file). If i click on this link, i will execute one more jsp. This jsp has some methods which will get the file and show the content. This works fine if i have only html files to be shown.. If i have other document types (like pdf, doc, xls etc), how can i show these things on the browser thro my second JSP Thanx in Advance Regards Anwar
SV: problem in showing PDF, Doc, xls etc
Title: SV: Including Actions via jsp:include you have to use a servlet for this...print to the servletOutPutStream Jsp's cant display binary files :: Mikkel Bruun Senior IT Developer [EMAIL PROTECTED] Direct: +45 32 88 22 73 Valtech A/S Kanonbaadsvej 10 DK-1437 Copenhagen Tel +45 32 88 20 00 Fax +45 32 88 20 20 -Oprindelig meddelelse-Fra: Anwar Sadat [mailto:[EMAIL PROTECTED]]Sendt: 03 September 2001 12:28Til: '[EMAIL PROTECTED]'Emne: problem in showing PDF, Doc, xls etc Hi, I have one jsp which shows some links.. This link contains the filename (HTML file). If i click on this link, i will execute one more jsp. This jsp has some methods which will get the file and show the content. This works fine if i have only html files to be shown.. If i have other document types (like pdf, doc, xls etc), how can i show these things on the browser thro my second JSP Thanx in Advance Regards Anwar
problem in showing PDF, Doc, xls etc
Title: SV: Including Actions via jsp:include Hi, I have one jsp which shows some links.. This link contains the filename (HTML file). If i click on this link, i will execute one more jsp. This jsp has some methods which will get the file and show the content. This works fine if i have only html files to be shown.. If i have other document types (like pdf, doc, xls etc), how can i show these things on the browser thro my second JSP Thanx in Advance Regards Anwar
Employeelist example in VAJ 3.5.3
I've just installed Struts on Visual Age for Java 3.5.3. I'm trying to install Kyle Brown's employeelist example and i've run into a problem. initially, i got an error message "missing message for key index.title" I added dummy entries to the ApplicationResources.properties, but i'm not sure if this is the correct action... currently there are 4 error.* messages in this properties file should there be more ? thanks, Sean.
SV: Including Actions via jsp:include
whoa! thanks alot... does this hack work on all servers??? I have just tested it on tomcat 3.2, will try on Iplanet later... :: Mikkel Bruun Senior IT Developer [EMAIL PROTECTED] Direct: +45 32 88 22 73 Valtech A/S Kanonbaadsvej 10 DK-1437 Copenhagen Tel +45 32 88 20 00 Fax +45 32 88 20 20 > -Oprindelig meddelelse- > Fra: Gregor Rayman [mailto:[EMAIL PROTECTED]] > Sendt: 03 September 2001 11:50 > Til: [EMAIL PROTECTED] > Emne: Re: Including Actions via jsp:include > > > > hi Guys, > > > > I bet this has come up before... > > > > I need to include the output of an action in a jsp, using > the jsp:include > > tag lie this: > > > > > > > > > > > > but I get an illegalstate exception, as the ActionServlet > forwards instead > > of includes... > > > > is there anyway to do this??? > > > > thanks > > > I've found one workaround which can help in some situations: > > make the Action.perform return null. > > include the view (JSP) then. > > So it could look like this: > > > > > > > > But it is ugly indeed. > > -- > gR > > > >
Re: Including Actions via jsp:include
> hi Guys, > > I bet this has come up before... > > I need to include the output of an action in a jsp, using the jsp:include > tag lie this: > > > > > > but I get an illegalstate exception, as the ActionServlet forwards instead > of includes... > > is there anyway to do this??? > > thanks I've found one workaround which can help in some situations: make the Action.perform return null. include the view (JSP) then. So it could look like this: But it is ugly indeed. -- gR
Including Actions via jsp:include
hi Guys, I bet this has come up before... I need to include the output of an action in a jsp, using the jsp:include tag lie this: but I get an illegalstate exception, as the ActionServlet forwards instead of includes... is there anyway to do this??? thanks :: Mikkel Bruun Senior IT Developer [EMAIL PROTECTED] Direct: +45 32 88 22 73 Valtech A/S Kanonbaadsvej 10 DK-1437 Copenhagen Tel +45 32 88 20 00 Fax +45 32 88 20 20 > -Oprindelig meddelelse- > Fra: Debasish Ghosh [mailto:[EMAIL PROTECTED]] > Sendt: 03 September 2001 11:35 > Til: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Emne: Re: Dynamic Forwarding ... > > > Thanks, Ted, for the reply. > Actually, I am not forwarding from Action to Action. > The mapping of the forward "dummy" resolves to a JSP > named dummy.jsp and not an action (*.do). > > From an action, on submit, I would like to tansfer > control to a JSP to accept more inputs. Along with > this control transfer, I would like to pass a > parameter to indicate some logic. > > I finally did this using a request.getParameter( > "formName" ) in the JSP as a scriplet, and declaring a > hidden property in the JSP : > > > Now I can access this property from the action class > of the form dummyForm. Please suggest, if there is a > better method of doing this (without the scriplet). > > Regarding the link that u have mentioned, I had > already gone thru it. I do not understand one point. > If I have a form formA, having a property "formName", > then when I forward to another form, formB, how will > the property be retained as part of formB ? > > Regards. > > - Debasish > > > --- Ted Husted <[EMAIL PROTECTED]> wrote: > > What's in the JSP wouldn't matter, since you are > > going from one Action > > to another. > > > > If formName is a property in the ActionForm, then it > > shuld be populated. > > > > I would try using request.getParameter("formName") > > and see if that's > > null too. > > > > I'd also try hardcoding the value for action to be > > sure that is not > > null. > > > > If you haven't already, see also > > > > > http://www.mail-archive.com/struts-user@jakarta.apache.org/msg > 14280.html > > > > > > Debasish Ghosh wrote: > > > > > > Hi All - > > > > > > I have trying to implement dynamic forwarding in > > my > > > application. > > > In the Action class where I am preparing the > > forward > > > URL, I am doing the following : > > > > > > ActionForward fwd = mapping.findForward("dummy"); > > > StringBuffer path = new StringBuffer( > > fwd.getPath() ); > > > path.append( "?formName=" ).append( action ); > > > return new ActionForward( path.toString(), > > > fwd.getRedirect() ); > > > > > > With this, I am getting the correct parameter to > > > ActionForward, and the control is also forwarded > > to > > > the appropriate JSP. But I am not able to access > > the > > > passed-in parameter. I have a property named > > > "formName" in the called form. But from the action > > of > > > the called form, when I access the property > > > getFormName(), I get NULL. > > > > > > In order to achieve this, do I have to declare > > > anything in the JSP ? > > > > > > Please help !! > > > > > > Regards. > > > > > > - Debasish > > > > > > __ > > > Do You Yahoo!? > > > Get email alerts & NEW webcam video instant > > messaging with Yahoo! Messenger > > > http://im.yahoo.com > > > __ > Do You Yahoo!? > Get email alerts & NEW webcam video instant messaging with > Yahoo! Messenger > http://im.yahoo.com >
RE: new at stucts
Hello, I am not sure, if I got your question right. But I try In addition to the action-mappings definitions, you should also define the form-bean definition in your struts-config. In your example it is something like this: Marcel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 11:26 AM To: [EMAIL PROTECTED] Subject: new at stucts Hi !! I'm new at structs and so i read the tutorial from the site http://www.jspinsider.com/tutorials/jsp/struts/lesson1/l1b_struts.view My Problem is here: Were is the logonform integrated ? In logon.jsp is the action of the form the longon.do. I think I understand that: but where do i define that when the Enter-Button in the logon.jsp is pressed that the logonform should be used ?? You understand my problem ??? I think its very trivial but I don't find an anwser ...
Re: Dynamic Forwarding ...
Thanks, Ted, for the reply. Actually, I am not forwarding from Action to Action. The mapping of the forward "dummy" resolves to a JSP named dummy.jsp and not an action (*.do). >From an action, on submit, I would like to tansfer control to a JSP to accept more inputs. Along with this control transfer, I would like to pass a parameter to indicate some logic. I finally did this using a request.getParameter( "formName" ) in the JSP as a scriplet, and declaring a hidden property in the JSP : Now I can access this property from the action class of the form dummyForm. Please suggest, if there is a better method of doing this (without the scriplet). Regarding the link that u have mentioned, I had already gone thru it. I do not understand one point. If I have a form formA, having a property "formName", then when I forward to another form, formB, how will the property be retained as part of formB ? Regards. - Debasish --- Ted Husted <[EMAIL PROTECTED]> wrote: > What's in the JSP wouldn't matter, since you are > going from one Action > to another. > > If formName is a property in the ActionForm, then it > shuld be populated. > > I would try using request.getParameter("formName") > and see if that's > null too. > > I'd also try hardcoding the value for action to be > sure that is not > null. > > If you haven't already, see also > > http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14280.html > > > Debasish Ghosh wrote: > > > > Hi All - > > > > I have trying to implement dynamic forwarding in > my > > application. > > In the Action class where I am preparing the > forward > > URL, I am doing the following : > > > > ActionForward fwd = mapping.findForward("dummy"); > > StringBuffer path = new StringBuffer( > fwd.getPath() ); > > path.append( "?formName=" ).append( action ); > > return new ActionForward( path.toString(), > > fwd.getRedirect() ); > > > > With this, I am getting the correct parameter to > > ActionForward, and the control is also forwarded > to > > the appropriate JSP. But I am not able to access > the > > passed-in parameter. I have a property named > > "formName" in the called form. But from the action > of > > the called form, when I access the property > > getFormName(), I get NULL. > > > > In order to achieve this, do I have to declare > > anything in the JSP ? > > > > Please help !! > > > > Regards. > > > > - Debasish > > > > __ > > Do You Yahoo!? > > Get email alerts & NEW webcam video instant > messaging with Yahoo! Messenger > > http://im.yahoo.com __ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com
Internationalizing background images
Is it possible to internationalize backgroung images ? I'm currently using background images in my tag, and in some tags, and wonder if I can find a way to internationalize them. The problem is that there not defined in an img element, but directly in the body or the td element... regards Bruno This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. - Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.
new at stucts
Hi !! I'm new at structs and so i read the tutorial from the site http://www.jspinsider.com/tutorials/jsp/struts/lesson1/l1b_struts.view My Problem is here: Were is the logonform integrated ? In logon.jsp is the action of the form the longon.do. I think I understand that: but where do i define that when the Enter-Button in the logon.jsp is pressed that the logonform should be used ?? You understand my problem ??? I think its very trivial but I don't find an anwser ...
Re: dynamic template tag parameter values
The tiles tutorial have been moved into the tiles-doc.war file, under 'tutorial'. I think the error is issue because the servlet has failed to start. Are you sure you use a jaxp1.1 compliant parser ? Does Struts1.1 example runs with your configuration ? Cedric David Boardman wrote: > A couple of questions about Tiles, > > When I downloaded the binary distribution I did not see the > tiles-tutorial.war file and was therefore missing some of the files > necessary to go through your tutorial. Am I missing something in the > distribution, or was the tutorial removed. > > Secondly, when I attempt to run both the tiles-docs application and the > tiles-channel application I got an exception with the following message: > > "Tag Insert : Can't get component definition 'mainLayout'. Check if this > name exist in component definitions." > > I simply placed the war files in the webapps directory of my tomcat server > to deploy them. > > thanks for the help. > > Dave > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > ]On Behalf Of Cedric Dumoulin > Sent: Friday, August 31, 2001 5:01 AM > To: [EMAIL PROTECTED] > Subject: Re: dynamic template tag parameter values > > You can do something like : > > But you certainly have to put some processing before to check if the > clientName is valid. > > Also, you can check Tiles contribution for others ideas. For example, you > can > adapt the channels example to fit your client names. > > Cedric > > Tiles sites : > http://www.lifl.fr/~dumoulin/tiles/ > (mirror) : http://www.geocities.com/cedricdumoulin/tiles/ > > David Boardman wrote: > > > Our site will be accessed by users via other sites on the web. For > > instance, our site might be accessed from a link on Cisco's site. When > this > > occurs we want the GUI to be different than the default GUI (same general > > layout, but different graphics etc.) To do this I was hoping to include a > > client parameter in the query string > > (http://oursite.com/login.jsp?client=Xxx) and then use that to dynamically > > set the value of the content parameter within a tag to load > > the appropriate jsp. > > > > I believe I can retrieve the query string parameter using > id="clientName" name="client">. However, I am not sure how to dynamically > > include this value in the content parameter of the tag. > > > > For example, my default template currently looks like this: > > > > ** > > <%@ page language="java" %> > > <%@ taglib uri="/taglibs/struts-template.tld" prefix="template" %> > > <%@ taglib uri="/taglibs/struts-bean.tld" prefix="bean" %> > > > > > > > key="candidate.detail.title"/> > > > > > > > > > > > > ** > > > > for Cisco I would like it to look like: > > ** > > <%@ page language="java" %> > > <%@ taglib uri="/taglibs/struts-template.tld" prefix="template" %> > > <%@ taglib uri="/taglibs/struts-bean.tld" prefix="bean" %> > > > > > > > key="candidate.detail.title"/> > > > > > > > > > > > > ** > > > > and for client=Xxx I would like it to look like: > > ** > > <%@ page language="java" %> > > <%@ taglib uri="/taglibs/struts-template.tld" prefix="template" %> > > <%@ taglib uri="/taglibs/struts-bean.tld" prefix="bean" %> > > > > > > > key="candidate.detail.title"/> > > > > > > > > > > > > ** > > > > Any help would be greatly apprecitated. > > > > Thanks, > > > > David Boardman > > Integral7