Re: Resource bundles in STRUTS

2005-10-30 Thread Laurie Harper
Balasubramaniam, Sezhiyan wrote: Hi All, We are using STRUTS 1.1 for one of our Internet STRUTS application. In that we provided the multiple languages support using different files like ApplicationResources_en.properties ApplicationResources_de.properties ApplicationResources_es.pro

Re: How to get the original URI from taglib?

2005-10-30 Thread Laurie Harper
Zsolt wrote: Hi, How can I figure out the origial URI (from a JSP taglib). I have tried request.getPathInfo() and request.getRequestURI() but I get wrong values. For example if my URI was http://localhost:8080/abcdef.do I would like to get /abcdef.do. I use tc-5.5.12. Zsolt The short answer

Re: multibox error

2005-10-30 Thread Deepa Khetan
is your form mapping correct in struts-config??? On 10/29/05, Chris Pat <[EMAIL PROTECTED]> wrote: > > Hello > I am using TC5.5.9,JSTL1.1,Struts1.2 With this code: > > > > value="Value1"/> > > > > > > > > > I have made sure my actionForm has the s/getter for > checkbox1, checkbox2 &

Re: How to get the original URI from taglib?

2005-10-30 Thread Yujun Liang
please try request.getServletPath() On 10/31/05, Zsolt <[EMAIL PROTECTED]> wrote: > > Hi, > > How can I figure out the origial URI (from a JSP taglib). I have tried > request.getPathInfo() and request.getRequestURI() but I get wrong values. > > For example if my URI was http://localhost:8080/ab

Re: BeanUtils Indexed Properties Issue

2005-10-30 Thread Stephen Souness
Ignore my last post - it turned out that my reset() implementation on my Form was reseting more than it should have been. -- Stephen Stephen Souness wrote: Hi All, Does anyone know when the issue mentioned under the heading "BeanUtils Indexed Properties Issue" on: http://wiki.apache.org/st

Re: PATH

2005-10-30 Thread Jim Douglas
I added an entry like this for all webapps and they are all working ok when I start catalina with -security. grant codebase "file:/usr/opt/tomcat/webapps/XYZ/-" { permission java.security.AllPermission; }; grant codebase "file:/usr/opt/tomcat/webapps/email/-" { permission java.security.All

exception with enctype="multipart/form-data"

2005-10-30 Thread Martin Berg
I'm trying to do a file upload in one of my forms, and I followed the examples religiously. However, as soon as I change the enctype parameter in the tag, submitting the form causes the wierdest error: javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina

Re: Is there an abstract meta-model of Struts ?

2005-10-30 Thread Christian Bollmeyer
Hi, your thoughts are quite interesting, but unfortunately I don't know about an official MOF and kind of doubt from my own experiences Struts development can succesfully be formalized that way. For instance, many people still think quite differently about the 'M' part; there is no 'official' r

Re: Problem with logic:iterate (and nested:iterate) and indexed form items - Help required

2005-10-30 Thread Mike Manley
Murray, Many thanks - I had totally missed indexId. This makes it so easy! Mike Murray Collingwood wrote: Hi Mike Thats easy. Outer loop needs to specify the "indexId" parameter as in: type="application.FamilyMember" indexId="memberIndex"> Then you can use whatever inner loop (or loops)

BeanUtils Indexed Properties Issue

2005-10-30 Thread Stephen Souness
Hi All, Does anyone know when the issue mentioned under the heading "BeanUtils Indexed Properties Issue" on: http://wiki.apache.org/struts/StrutsCatalogLazyList will be resolved? I'm using a 1.4 version of the JRE with Struts 1.2.7 which still appears to not pick up on the getter/setters usi

Re: Displaying HTML Code correctly!

2005-10-30 Thread Wendy Smoak
From: "Gerd Meyer" <[EMAIL PROTECTED]> The characters are escaped, that´s why only the source code is displayed!? Anybody i idea how to avoid the escaping!? http://struts.apache.org/struts-taglib/tagreference-struts-bean.html#write Try adding filter="false" to your bean:write tag.

Re: PATH

2005-10-30 Thread Martin Gainty
Good Call /conf/tomcat.policy specifies grants on files, sockets, properties... example policy file: // Permissions for tomcat. // javac needs this grant codeBase "file:${java.home}/lib/-" { permission java.security.AllPermission; }; // Tomcat with IP filtering grant codeBase "file:${tomcat.hom

Displaying HTML Code correctly!

2005-10-30 Thread Gerd Meyer
Hello, There is html file named content.html ... I read the file into an array. Now i want to display the content with a jsp-page like this: The content of the file is displayed as source-code, but isn´t displayed as a html page!?!

Re: new website look

2005-10-30 Thread Frank W. Zammetti
Wendy Smoak wrote: (He also pointed out that Firefox was behaving correctly wrt the column width, and IE was not.) It's amazing how many times people say this in various situations, but ironically what IE is doing is actually more "correct" in terms of how things probably *should* work, but o

How to get the original URI from taglib?

2005-10-30 Thread Zsolt
Hi, How can I figure out the origial URI (from a JSP taglib). I have tried request.getPathInfo() and request.getRequestURI() but I get wrong values. For example if my URI was http://localhost:8080/abcdef.do I would like to get /abcdef.do. I use tc-5.5.12. Zsolt --

Re: new website look

2005-10-30 Thread Wendy Smoak
From: "Ted Husted" <[EMAIL PROTECTED]> If someone has an itch to patch the stylesheets, that's great. I added a 'theme' section to the website conversion Wiki Page: http://wiki.apache.org/struts/StrutsWebsiteConversion (at the bottom.) There are links to the two relevant plugins, plus Michael

RE: Is there an abstract meta-model of Struts ?

2005-10-30 Thread Begur, Praveen
Thanks to Vance, Christian, Laurie and others who responded to my query. I understand the Struts cartridge and have limited exposure to it in AndroMDA. I have seen a few apps developed and I always wonder if they are 100 % Struts compliant. Thought 1 - It would be nice to have a Struts compatibi

Re: multibox error

2005-10-30 Thread Laurie Harper
Is that table inside a html:form? Chris Pat wrote: Hello I am using TC5.5.9,JSTL1.1,Struts1.2 With this code:           I have made sure my actionForm has the s/getter for checkbox1, checkbox2 & strArray. Made sure the reset is setting the booleans to fal

Re: jps:useBean documentation?

2005-10-30 Thread Laurie Harper
Pierre Thibault wrote: Hello, This question may seems stupid but where is the documentation the JSP tags? There is the doc at http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html for the JSTL but the tag jsp:useBean is not there like a lot of others. So where are they documented

Re: problems with struts html tag lib

2005-10-30 Thread Laurie Harper
Troy Bull wrote: I am trying to include a <%= variable %> type thing in an html:submit tag and it doesn't evaluate the <%= variable %> is there a way to make it evaluate this? Or is there a way to include dynamic contect in this tag. In this case it is inside a loop and "variable" changes eac