How to use URL rewriting within frames?
How to use RUL rewriting within frames? Situation: - First frameset = index.html. Index.html defines a frame named frame5. The content of frame5 is a JSP page that defines a new frameset! How to do URL rewriting in that case?? In other words: I am missing a html:frame page=xy/ tag in the Struts framework! Who can help? TIA Hartmut Bernecker
How to get a locale object in the constructor of a ActionForm class?
Hi, how can I get a locale object in the construtcor of a ActionForm class? In a login-form I want to set a selectbox containing language descriptions to the right value (de or en or fr etc). I think the best way to do that would be an initialisation with the current locale in the constructor of the ActionForm bean: public LoginForm() { setLanguage(de); } BTW: The locale is set by html:html locale=true in the JSP page. TIA Hartmut
wrong behavior of checkboxes in forms?
Hello, I have a checkbox in a form. If I check it and then submit the form, then I receive the value true in the action when calling the method form.getMyCheckbox(); But if I uncheck the checkbox and submit the form again, then I receive **again** the value true in the action when calling the method form.getMyCheckbox(); Who can help??? Hartmut
Re: wrong behavior of checkboxes in forms?
Gregor Rayman schrieb: Hartmut Bernecker [EMAIL PROTECTED] wrote: Hello, I have a checkbox in a form. If I check it and then submit the form, then I receive the value true in the action when calling the method form.getMyCheckbox(); But if I uncheck the checkbox and submit the form again, then I receive **again** the value true in the action when calling the method form.getMyCheckbox(); Who can help??? Hartmut Hi, there are two possible solutions: 1) use request scope forms 2) implement the reset() method. (Which you should do anyway always, when you use checkboxes) -- gR I had implemented the reset() method: public void reset(ActionMapping mapping, ServletRequest request) { myCheckbox = false; [...] } But anyway: the problem persists.
How to pre-populate an actionForm in the perform method?
Hello, when a URL (myUrl.do) is invoced, the ActionServlet instantiates a myForm (according to the struts-config.xml), forwards control to a myAction object; the perform() method of myAction calls the reset() method of the myForm object and then forwards to a JSP page. Would some of you give me a piece of code that shows me how myForm can be prepopulated with some data before been displayed by the JSP page?? IMHO that code should be in the perfom() method. TIA for ur help! Hartmut Bernecker
how to get the position when iterating over a vector?
Hi, who knows how I can get the position of an object in a vector when iterating about that vector? logic:iterate id=myVector name=someBean property=list bean:write name=myVector property=price/ /logic:iterate (I want to have the position as parameter of a link in each row). TIA! Hartmut
Re: how to get the position when iterating over a vector?
Oh, I see, thnx! But I have no idea how to use it; indexId is The name of a page scope JSP bean that will contain the current index of the collection on each iteration. - How to use it? What is the property of the page scope bean? Do I have to write that bean first? logic:iterate id=myVector name=someBean property=list indexId=nameOfTheBean bean:write name=myVector property=price/ bean:write name=nameOfTheBean property=??/ /logic:iterate Hartmut suhas schrieb: check iterate tag in recent struts buidl - supports indexid as an attribute . Suhas - Original Message - From: Hartmut Bernecker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 30, 2001 2:48 PM Subject: how to get the position when iterating over a vector? Hi, who knows how I can get the position of an object in a vector when iterating about that vector? logic:iterate id=myVector name=someBean property=list bean:write name=myVector property=price/ /logic:iterate (I want to have the position as parameter of a link in each row). TIA! Hartmut
application scope problem
Please Help! In my Struts-Application I create at a certain point (init Method of myClass extends ActionServlet) a Bean for the Servlet Context. ServletContext context = getServletContext(); Info info = (Info)context.getAttribute(host); if (info == null) { info = new Info(); info.setBase(test); context.setAttribute(host, info); } Later in a JSP page I have that: jsp:useBean id=info scope=application class=myPackages.Info/ pContext Bean: bean:write name=info scope=application property=base//p But I don't reach the value of the property because every time when I forward to that JSP-Page the Bean (Info) is created again and it's properties initialized with null. Any idea? What is wrong??? Hartmut Bernecker
[answer to the question] how to access beans collected in hashtable?
Hi, who knows how to iterate a hashtable and access its value-objects (beans with some properties)? I can reach the beans in the hashtable: logic:iterate id=element name=myhashtable property=table/ bean:write name=element property=value/ /logic:iterate But I don't know how to reach the properties of the beans. Any idea?? --- Yeah, just before I pressed the send butten we got it! ---: logic:iterate id=element name=myhashtable property=table/ bean:write name=element property=value.name/ /logic:iterate Cheers Hartmut
Is there a way to localize error-messages produced by the system?
Hi, I have no idea how to localize errors produced by the system itselfe. - There is no problem for me to localize the Struts-Application with localized property files (labels, buttons, validation errors of forms etc.). But now an example where I don't know how to do: A login action checks if the connection to the backend server is ok. If not then I populate a special special error-bean in the session with an error message to be shown: bean:write name=asimerror property=error/ That is no problem. But how can I localize that System-Error-Message??? I thougt about using a error-key (like: login.error.label.noserverconnection) within a JSP element like: bean:message key=login.error.label.noserverconnection/ But I don't know how to put the login.error.label.noserverconnection dynamically in that line of code ... TIA for your ideas! Hartmut
Re: Tree
I am also *very* interested about every information how trees can be handled in the struts-framework. I have to show a deep hierarchy with the browser. 1st question: the model: May it be good idea to work with deeply nested beans? - I think not, but because JSP-pages does work with beans, could be there a better way?? (The source of that hierarchy is a xml-document). 2nd question: creating the view: Who knows a taglib for managing that? Would it be a good practice to use XSLT with struts to create trees? TIA Hartmut Bernecker
Displaying errors when validating forms (ActionErrors)
Hallo, I have a problem to display ActionErrors. I use the validate-Method to validate forms, like that: -- public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (iBenutzer == null || iBenutzer.length() 1) { errors.add(benutzungsname, new ActionError(error.login.benutzername.required)); }} -- But when I want to display that error, I can't see anything. Why? * errors.header=ul errors.footer=/ul error.login.benutzername.required=that is an error ... is in the property-file! That property-file is available (set in web.xml)! * the JSP contains: html:errors/ html:errors property=benutzungsname/ Who can help me?! What is wrong??
Re: Displaying errors when validating forms (ActionErrors)
No, I think I did not! My validate Method looks like that, it returns Errors back to the controller servlet. - Where is the place to save the errors in the request??? public ActionErrors validate(ActionMapping pMapping, HttpServletRequest pRequest) { System.out.println(VALIDIERE); ActionErrors errors = new ActionErrors(); if (iBenutzer == null || iBenutzer.length() 1) { errors.add(benutzungsname, new ActionError(error.login.benutzername.required)); } if (iPasswort == null || iPasswort.length() 1) { errors.add(passwort, new ActionError(error.login.passwort.required)); } if (iSprache == null || iSprache.length() 2 || iSprache.equals(blank)) { errors.add(sprache, new ActionError(error.login.passwort.required)); } return errors; } Guus Holshuijsen schrieb: Do you save your errors? // Report any errors we have discovered if ( !errors.empty() ) { saveErrors( request, errors ); } Regards, Guus - Original Message - From: Hartmut Bernecker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 11:55 Subject: Displaying errors when validating forms (ActionErrors) Hallo, I have a problem to display ActionErrors. I use the validate-Method to validate forms, like that: -- public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (iBenutzer == null || iBenutzer.length() 1) { errors.add(benutzungsname, new ActionError(error.login.benutzername.required)); }} -- But when I want to display that error, I can't see anything. Why? * errors.header=ul errors.footer=/ul error.login.benutzername.required=that is an error ... is in the property-file! That property-file is available (set in web.xml)! * the JSP contains: html:errors/ html:errors property=benutzungsname/ Who can help me?! What is wrong??
Re: Displaying errors when validating forms (ActionErrors)
OK, thank you, I got it! I don't understand it, but the problems seems to be the place oft the html:errors/ tag within the JSP. I placed it at the end of the body element with bad result. When I moved it top to the body element it is ok. May be there is a problem with the html in the jsp-document ... Do I am allowed to ask another question: If I want the error-keys not to have in the main ressource-file (web.xml:) ( ... init-param param-nameapplication/param-name param-valueasim/param-value /init-param ... ) but in another separate file using html:errors bundle=asim-form-validation/ ,where do I have then to deploy the asim-form-validation.properties File??? TIA Guus Holshuijsen schrieb: Hartmut, I do it at the end of an action's perform() method using the construction given in my previous reply! What I describe is only valid if your controller checks for errors itself. In case you let Struts handle the validation automatically, I advice you to look at the Struts source code. The following code snippet is from the Action.java class: /** * The request attributes key under which your action should store an * codeorg.apache.struts.action.ActionErrors/code object, if you * are using the corresponding custom tag library elements. */ public static final String ERROR_KEY = org.apache.struts.action.ERROR; Concluding: the errors are stored in the request (session?) attribute org.apache.struts.action.ERROR. Regards, Guus - Original Message - From: Hartmut Bernecker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 12:48 Subject: Re: Displaying errors when validating forms (ActionErrors) No, I think I did not! My validate Method looks like that, it returns Errors back to the controller servlet. - Where is the place to save the errors in the request??? public ActionErrors validate(ActionMapping pMapping, HttpServletRequest pRequest) { System.out.println(VALIDIERE); ActionErrors errors = new ActionErrors(); if (iBenutzer == null || iBenutzer.length() 1) { errors.add(benutzungsname, new ActionError(error.login.benutzername.required)); } if (iPasswort == null || iPasswort.length() 1) { errors.add(passwort, new ActionError(error.login.passwort.required)); } if (iSprache == null || iSprache.length() 2 || iSprache.equals(blank)) { errors.add(sprache, new ActionError(error.login.passwort.required)); } return errors; } Guus Holshuijsen schrieb: Do you save your errors? // Report any errors we have discovered if ( !errors.empty() ) { saveErrors( request, errors ); } Regards, Guus - Original Message - From: Hartmut Bernecker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 11:55 Subject: Displaying errors when validating forms (ActionErrors) Hallo, I have a problem to display ActionErrors. I use the validate-Method to validate forms, like that: -- public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (iBenutzer == null || iBenutzer.length() 1) { errors.add(benutzungsname, new ActionError(error.login.benutzername.required)); }} -- But when I want to display that error, I can't see anything. Why? * errors.header=ul errors.footer=/ul error.login.benutzername.required=that is an error ... is in the property-file! That property-file is available (set in web.xml)! * the JSP contains: html:errors/ html:errors property=benutzungsname/ Who can help me?! What is wrong?? -- _ Hartmut Bernecker Dipl.-Wirtschaftsinformatiker (BA) Electronic Publishing ASIM(r) - CONTENT MANAGEMENT AT ITS BEST Druckhaus Waiblingen Siemenstrasse 10 D-71332 Waiblingen, Germany Tel.: +49 (0)71 51 / 5 66 - 4 48 Fax:+49 (0)71 51 / 5 66 - 3 23 Mail: mailto:[EMAIL PROTECTED] Web:http://www.dhw.de/ _
Re: More on running Tomcat+Struts w/o internet connection
Hello, I'm also interested in a solution of that problem. Admittedly the subject-matter is not the struts-config.dtd but rather any dtd of any (custom) xml-document struts works with. TIA Thomas Burns schrieb: My coworker posted the original question in the Running Tomcat+Struts w/o internet connection thread, but since I'm the one trying to overcome this particular problem, I thought I'd add some more detail. First off, we're using Tomcat 3.2.1 or 3.2.2 (not sure) and Struts 1.0. The DOCTYPE line of the struts-config.xml by default looks like: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd; If I run tomcat disconnected from the network I get the following: resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd') Not registered, use system identifier Parse Fatal Error at line 3 column -1: External entity not found: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd. whereupon Tomcat barfs and stops loading. It was suggested to use a 'file://' style URL to fix this. That works fine, (i.e. 'file:///c:/foo/bar/struts-config_1_0.dtd') but it demands an absolute file path. Any attempt to use a relative path (such as 'file://struts-config_1_0.dtd') has failed with the same 'external entity not found' error as above. I've tried various permutations, but either it doesn't work, or I can't figure out what the current working directory is that the URL will base itself off of (tried tomcat/bin, webapps, webapps/myapp, webapps/myapp/WEB-INF). So, how about specifying the file directly, as in: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN struts-config_1_0.dtd Well, here's the resulting error: Parse Fatal Error at line 3 column -1: Relative URI struts-config_1_0.dtd; can not be resolved without a document URI. Even though XML Spy thinks this is OK, obviously tomcat wants a little more information. I poked around in the XML Bible, but couldn't find anything to tip me off as to what to include in the XML that would make this error go away. All I want to do is have the struts DTD be a local file, referenced with some sort of resolveable relative path. An absolute path just can't be worked with, and we cannot guarantee a network connection. Any more ideas? Thanks! t -- Thomas Burns RiskMetrics Group [EMAIL PROTECTED] 734.945.6428 _ Hartmut Bernecker Electronic Publishing ASIM(r) - CONTENT MANAGEMENT AT ITS BEST Druckhaus Waiblingen Siemenstrasse 10 D-71332 Waiblingen, Germany Tel.: +49 (0)71 51 / 5 66 - 4 48 Mail: mailto:[EMAIL PROTECTED] Web:http://www.dhw.de/
Submitting unicode characters from form fields
Guten Tag, my problem is: How can unicode be submitted from form fields in an adequate way to the server? I'm using the struts framework and trying to submit some unicode text in a HTML form to the server. My Target is, to use that unicode characters on the server (as parameter for a RPC to a lecacy application). It is not a problem for me to display that unicode characters in the browser by declaring: %@ page language=java contentType=text/html;charset=UTF-8 % and in the head: headmeta http-equiv=content-type content=text/html; charset=utf-8/head But it is a problem to go the way in the other direction: 1. The IE5.5 (much better: Netscape 6) does not display the unicode characters in the form field correctly (i. e. he shows something like |||). BTW: I cut paste the Unicode from the browser from a page that displays unicode characters (s.a.). 2. When I submit the form, then I ask in the Action-Class for request.getCharacterEncoding(), but the resulting String is null, even though I specified in my JSP something like: form:form action=direktSuche.do method=post target=content enctype=text/plain;charset=UTF-8. Why is getCharacterEncoding() == null?? 3. When I read the form-field with the unicode data, I get: Ë?ãúã?ã?ã¦ã©ã©. I think, this is UTF-8, isn't it (I'm not sure)? 4. When I take exactly that string and display it again with a JSP-Page, I get somthing other (ÓÆ£Æ?Æ?ƱƸƸ) than the original, from where I cutted pasted the characters (s. a.). Why? Question: Must I convert the POSTed data before processing with it? Must I implement some mechanism for converting UTF-8[??] to Unicode? I greatly appreciate your help! Chiao Hartmut
digester.addSetProperties(elemA/elemB);
Hello, I want to use the Digester Class of STRUTS. The orignial XML-Document (here a snippet) is: elemA elemB attr=amp;amp;amp;lt;amp;quot;/ /elemA Now I call the folloging method: digester.addSetProperties(elemA/elemB); After parsing the result of the attr is: amp;lt;quot; Why? - I expect the following result: amp;amp;amp;lt;amp;quot; Please Help! Hartmut
Displaying unicode hexadecimal character references with Struts
Hello, HTML 4.0 allows to display unicode characters by using Decimal (#123456;) or Hexadecimal (#x00FE;) Character References. Now, if a bean property contains some String with character references (e. g. new String(#12456;#12521;#12540;);) then I expect a correct output when displaying that bean-properties with a JSP-page. But what happens? - The output to the browser is not #12456;#12521;#12540; (which would be displayed correct), but amp;#12456;amp;#12521;amp;#12540; which is displayed as #12456;#12521;#12540; - what is not nice! Why that behavior? How to switch off that mechanism? I appreciate any hint! Cheers Hartmut
Re: AW: Displaying unicode hexadecimal character references with Struts
Hi Andreas, that's it, thank you! - But now with the drawback that characters like are not transformed in Character Entity References (amp;). But I think, I can life with that. :-) BTW: Would it not be nice if the filtering would be able to recognize Entity or Decimal References and do *not* treat them? Then it would be still possible to *display* #x1234 by having in the Bean the String amp;#x1234. Hartmut [EMAIL PROTECTED] schrieb: Hi There is an attribut called filter in bean:write. The default is set to true. Set it to false and try again. Cheers Andy -Ursprüngliche Nachricht- Von: Hartmut Bernecker [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 11:10 An: [EMAIL PROTECTED] Betreff: Displaying unicode hexadecimal character references with Struts Hello, HTML 4.0 allows to display unicode characters by using Decimal (#123456;) or Hexadecimal (#x00FE;) Character References. Now, if a bean property contains some String with character references (e. g. new String(#12456;#12521;#12540;);) then I expect a correct output when displaying that bean-properties with a JSP-page. But what happens? - The output to the browser is not #12456;#12521;#12540; (which would be displayed correct), but amp;#12456;amp;#12521;amp;#12540; which is displayed as #12456;#12521;#12540; - what is not nice! Why that behavior? How to switch off that mechanism? I appreciate any hint! Cheers Hartmut
Need your help -- Digester class
Hi, I want use the Digester class to populate some objects with XML-Data. The Properties of the objects have not identical names to the XML-Attributes. Therefore I need a mapping. Am I right, when I search for a solution with that statement: ** digester.addSetProperty(test, email, mail); ** Where test is the XML-element, email is the Property of my object on top of the stack, and mail is the XML-attribute within the test-Tag to be evaluated? The XML-Source snippet is: test mail=[EMAIL PROTECTED]/ Here is the debug-protocol when parsing the XML with the digester: *** Set de.dhw.asim.components.benutzer.UserDaten property null to [EMAIL PROTECTED] *** Why is the property null? What make I wrong?? _ Hartmut Bernecker Druckhaus Waiblingen Siemenstrasse 10 D-71332 Waiblingen, Germany http://www.dhw.de/
Pleeeeease help me using the Digester-Class of STRUTS
Hello, it seems that the Digester Class of Struts is a strange thing. I take the following XML-Document (in a String): ?xml version=1.0 encoding=UTF-8? login usr=Benutzername hilfe=true rn=Hartmut Bernecker mail=[EMAIL PROTECTED] txt=Persoenlicher Begruessungstext des Benutzers spr=de med=medium grp name=Gruppe 1 txt=Begruessungstext 1/grp grp name=Gruppe 2 txt=Begruessungstext 2/grp /login -- Then I want to parse it with a Digester object as follows: -- Digester digester = new Digester(); digester.setDebug(1); digester.setValidating(false); digester.push(this); digester.addObjectCreate(login/grp, de.dhw.asim.components.benutzer.BenutzerGruppe); digester.addSetProperties(login/grp); digester.addSetNext(login/grp, addGrp, de.dhw.asim.components.benutzer.BenutzerGruppe); digester.addObjectCreate(login, de.dhw.asim.components.benutzer.LoginObjekt); digester.addSetProperties(login); digester.addSetNext(login, setLoginObjekt, de.dhw.asim.components.benutzer.LoginObjekt); try { digester.parse(new InputSource(new StringReader(pXml))); } catch (IOException e){ e.printStackTrace(); } catch (SAXException e) { e.printStackTrace(); } -- Then I receive the following Message: It seems that the stack can not be controlled. Please give me an idea of what happens here and how to do it in the right way!! -- New de.dhw.asim.components.benutzer.LoginObjekt Set de.dhw.asim.components.benutzer.LoginObjekt properties New de.dhw.asim.components.benutzer.BenutzerGruppe Set de.dhw.asim.components.benutzer.BenutzerGruppe properties Call de.dhw.asim.components.benutzer.LoginObjekt.addGrp(de.dhw.asim.components.benutzer.BenutzerGruppe@683912) End event threw exception java.lang.NoSuchMethodException at java.lang.Class.getMethod0(Native Method) at java.lang.Class.getMethod(Class.java:888) at org.apache.struts.digester.SetNextRule.end(SetNextRule.java:156) at org.apache.struts.digester.Digester.endElement(Digester.java:409) at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:347) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1436) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1205) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035) at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.apache.struts.digester.Digester.parse(Digester.java:738) at de.dhw.asim.components.benutzer.Xml2Object.getUserObjekt(Xml2Object.java:49) at de.dhw.asim.components.benutzer.Test.main(Test.java:11) java.lang.NoSuchMethodException at org.apache.struts.digester.Digester.endElement(Digester.java:412) at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:347) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1436) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1205) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035) at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223) -- Any help is very appreciated! Hartmut
dynamically build HTML forms
Hi, I came across the following statement: The Struts framework lacks what is called dynamic properties, or the ability to use meta data to drive the creation of forms and the associated ActionForm. This means it is impractical to dynamically build a HTML form using a separate, predefined data source (such as a XML file or database table). When a project requires database-driven form design it would be best to design special Model I-based JSP pages for this task. Keep in mind, it is still possible to use Struts in other areas of your project. The Struts team is well aware of this limitation arising from the lack of dynamic properties. This feature is planned for version 1.1 of Struts. (http://www.jspinsider.com/tutorials/jsp/struts/strutsadvance.html) But what I'd like to do is precisely this: Creating HTML forms dynamically. Is there another way besides using Model 1-based JSP pages for this task? I appreciate any clue in this matter. TIA __ Hartmut Bernecker Heinrich-Rorbeck-Weg 30 73614 Schorndorf Tel. 0 71 81 / 25 75 39 Fax. 0 71 81 / 25 75 41 [EMAIL PROTECTED] __
Re: localization hor html tags
Hi, is in version 1.0 another way to localize HTML-Elements??? What I try, is: -- html:submit value=bean:message key=xy.test.btn.submit// But this don't work: --- org.apache.jasper.compiler.ParseException: T:\webapps\webclient\login.jsp(38,96) Attribute xy.test.btn.submit has no value Thank u for your time! Hartmut Bernecker Mike Fitterman schrieb: This is may be left over from the struts version 0.5 days when their was one tag library rather than multiple. They probably didn't clean it up. Mike. At 11:01 AM 4/26/2001 -0700, you wrote: I could use localized name in a button tag using construct like : input type=button value=bean:message key=/ / Are there any lighter way to specify i18n key for html tags. Thanks, -- Eugene Krivopaltsev Sun Microsystems, Inc. [EMAIL PROTECTED] 901 San Antonio Road Voice: 650.786.6260 (x86260)Palo Alto, CA. 94303 Fax: 650.786.7816 www.sun.com Mike Fitterman1 Network Drive UBUR02-207 Solaris Software Group Burlington, MA 01803-0902 Sun Microsystems, Inc 781-442-0843 -- _ Hartmut Bernecker Dipl.-Wirtschaftsinformatiker (BA) Electronic Publishing ASIM(r) - CONTENT MANAGEMENT AT ITS BEST Druckhaus Waiblingen Siemenstrasse 10 D-71332 Waiblingen, Germany Tel.: +49 (0)71 51 / 5 66 - 4 48 Fax:+49 (0)71 51 / 5 66 - 3 23 Mail: mailto:[EMAIL PROTECTED] Web:http://www.dhw.de/
how to iterate over a vector of beans?
Hello, I need help, because I don't find how to iterate over a Vector of Beans? It would be great if you would post a simple example of doing that. Thank you. _ Hartmut Bernecker Dipl.-Wirtschaftsinformatiker (BA) Electronic Publishing ASIM(r) - CONTENT MANAGEMENT AT ITS BEST Druckhaus Waiblingen Siemenstrasse 10 D-71332 Waiblingen, Germany Tel.: +49 (0)71 51 / 5 66 - 4 48 Fax:+49 (0)71 51 / 5 66 - 3 23 Mail: mailto:[EMAIL PROTECTED] Web:http://www.dhw.de/ _
The Struts User's Guide 1.0 translated in German language
Einleitung in Struts 1.0 (German translation of "Struts User's Guide") URL: http://habweb.de/struts/ cheers Hartmut Bernecker ////// Hartmut Bernecker Heinrich-Rorbeck-Weg 30 73614 Schorndorf Tel. 0 71 81 / 25 75 39 Fax. 0 71 81 / 25 75 41 [EMAIL PROTECTED] \\
IOException after installing struts-documentation.war and other *.war fieles
Hi, when I'm installing the struts-documentation.war in Tomcat, I am able to see the documentation, but with every request I get a message like: 2001-04-10 10:17:45 - Ctx( /struts-documentation ): IOException in: R( /struts-documentation + /images/struts.gif + null) Connection aborted by peer: socket write error Who knows why this error may be there and how to eliminate that problem? (Sorry about that question, I'm a newbie in Struts.)