Loading Resources from backend-system

2001-01-16 Thread Torben Norling
Hi, We would like to fetch "i18n resource-strings" from a backend system (through EJB) instead of using several .properties files. Have anyone done anything similar?? I would like to know if/how this could be done. Thanks in advance // Torben Norling - Mind AB

Error reloading servlet

2001-01-16 Thread Andreas Joseph Krogh
Hi. When trying to dynamicly reload the struts-example, I get a "ClassCastException". I use Tomcat-3.2.1 and jakarta-struts-1.0 from jakarta-struts-src-20010110.tar.gz., jdk.1.2.2_006 Here is the exception from the logs: == logs/jasper.log == 2001-01-15 10:52:20 - Classpath according to the

RE: Error reloading servlet

2001-01-16 Thread Alastair Briggs
Title: RE: Error reloading servlet I get a similar error when using JSP pages if I recompile the supporting classes - I have made an assumption that it is something to do with the signature for a object that is held in the cache be different after I re-compile.( Don't launch any flames at me

Problems with Locale

2001-01-16 Thread Gael Stehagen
Hi, I'm using Solaris2.6 with jdk1.2.2 I can't get the struts-example to work on this machine. I get the following error: 2001-01-16 10:22:24 - path="/struts-example" :action: Cannot load application resources bundle org.apache.struts.example.Applicat ionResources -

SAXParseException in struts-config_1_0.dtd

2001-01-16 Thread Stefan . Ullrich
Hi, when I start catalina I always encounter the following error message that I don't understand: PARSE error at line 19 column -1 org.xml.sax.SAXParseException: org.apache.crimson.parser/V-038 tag register ('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:

Javascript + localized messages

2001-01-16 Thread Denis Hanson
Hello, I'm using the i18n support in Struts in my applications, and am trying to localize my client-side Javascript validation messages using bean:message/. I've tried var msg='bean:message key="login.error.username"/'; alert(msg); and alert(bean:message

Re: Invoking EJB from Action classes

2001-01-16 Thread Jannik Nørgaard Steen
- Original Message - From: "Roger Kjensrud" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 15, 2001 5:15 PM Subject: RE: Invoking EJB from Action classes Jannik, thanks for your input. The concept of the EJB session manager returning references to other EJBs is

Re: jsp:useBean runtime ids

2001-01-16 Thread Michael H. La Budde
Pete: I can think of a coupla' ways you might do this. 1) Instead of the jsp:useBean syntax just use a normal Java variable declaration inside your jsp page. 2) Write your own taglib component to emulate the jsp:useBean HTH, Mike At 1/12/2001 01:06 PM, Peter Alfors wrote: Hello all,

Cancel an upload form

2001-01-16 Thread Till Nagel
Hi, I've encountered a problem with forms supporting uploading files. These forms must include enctype="multipart/form-data" in their form-tag. The problem is that these multipart streams could be read just once. The ActionServlet populates the objectForm (i.e. reads the stream) and next it

i18n

2001-01-16 Thread éric spérano
Hello everyone, i'm a new struts user and i have a question about i18n. i did two properties files, let's say: com.myproject.ApplicationResources.properties(english) com.myproject.ApplicationResources_fr.properties(french) in my web.xml, i set the init-param "application"

Re: i18n

2001-01-16 Thread éric spérano
oups, stupid reply to myself! i forgot to say i'm using tomcat (embedded) with jboss on windows 2000, i don't know if this matters. i'll try it with my linux install at home.. eric sperano. ric sprano wrote: Hello everyone, i'm a new struts user and i have a question about i18n. i

Enumerate tag - NEED HELP

2001-01-16 Thread SPandith
Hi, I am using Struts 0.5. I have a bean called dispProductsBean which has a hashtable called "products". How do I get the contents of the hashtable in my jsp page using enumerate tag. Please help Sharmila Pandith Software Engineer iXL Inc. phone: 212-500-5180 AIM: spandith Yahoo: spandith

RE: i18n

2001-01-16 Thread Denis Hanson
Hello Eric, To set the locale that struts uses, I put this code at the top of my index.jsp: % Locale locale = request.getLocale(); session.setAttribute(Action.LOCALE_KEY, locale); % Denis Hanson -Original Message- From: eric sperano [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Deploying Struts on iPlanet 4.1 - any successes?

2001-01-16 Thread Randall, Craig
Title: Deploying Struts on iPlanet 4.1 - any successes? I've searched for iPlanet on the Struts mail list archive (), and based on the few (17) hits, I wanted to verify explicitly with this group whether or not anyone else has successfully deployed a web application on this server. Has

Re: Deploying Struts on iPlanet 4.1 - any successes?

2001-01-16 Thread Paul Hendley - Sun Microsystems
Hi Craig, Some of my coworkers looked at this and came to a similar conclusion as you mention. (ie no WAR file support in IPlanet) Not sure if things are any different in version 6.0, but for now this prompted us to use Tomcat instead of IPlanet for the time being. -Paul

Re: Deploying Struts on iPlanet 4.1 - any successes?

2001-01-16 Thread Steve Croft
This was confirmed by iPlanet at Java One last year; no WAR support in iWS until the next release (I can't remember if they meant 4.2 or 5.0). Steve Croft Project Arena Paul Hendley - Sun Microsystems wrote: Hi Craig, Some of my coworkers looked at this and came to a similar conclusion as

RE: Deploying Struts on iPlanet 4.1 - any successes?

2001-01-16 Thread Randall, Craig
Title: RE: Deploying Struts on iPlanet 4.1 - any successes? It strikes me as odd that a Sun (Netscape) product would state support and yet forget a critical aspect of that support, but I digress... Thanks, Paul and Steve, for the prompt replies. Has anyone worked past the lack of WAR support

RE: Deploying Struts on iPlanet 4.1 - any successes?

2001-01-16 Thread Charles Beckham
Iplanet 6.0 Application Server has war support..it is J2EE certifiedIplanet Web Server will Include a war deployment tool and support in version 5 due out shortly... charles Beckham -Original Message- From: Paul Hendley - Sun Microsystems [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Re: i18n

2001-01-16 Thread Ted Husted
I believe there's a gotcha where the default locale is set according to the server's default, rather than the user's browser settings. Here's an example of adding a drop-down box to select a language http://www.mail-archive.com/struts-user@jakarta.apache.org/msg00999.html and another i18n

Re: options-Tag

2001-01-16 Thread Ted Husted
The simplest thing is to use the LabelValueBean class provided by the example. In your Action, a database query(or equivalent) would create a collection of LabelValueBeans, and then insert the collection into the request context. First, the database query executes a query and returns the

RE: Deploying Struts on iPlanet 4.1 - any successes?

2001-01-16 Thread Lou . Farho
Title: Deploying Struts on iPlanet 4.1 - any successes? As you have already gathered iWS does not support war files. As far as iPlanet iAS 6.0, I have been trying to run Struts on it. So far I have not been able to, due to an apparent failure of iPlanet to implement section 5.4 of the