DB driven i18n was Feedback on Struts Pros and Cons

2001-10-31 Thread Craig_Reichenbach
gR, could you shed some light how you are using a DB backend for i18n w/ struts? Sounds interesting. -Craig 4. Struts internationalization requires an ApplicationResources.properties file, which conflicts with the current Enterprise Java Application Standard of definely properties

handy evaluation tag for nested tags

2001-10-18 Thread Craig_Reichenbach
I found the following advice in the struts archive regarding a tag within a tag problem: From: John Raley Subject: Re: nesting bean:write inside of html:link Date: Mon, 27 Aug 2001 13:22:41 -0700

rtexprvalue not working in html:link tag!!!

2001-10-18 Thread Craig_Reichenbach
Anyone know why my scriptlet in the following html:link tag is not being evaluated? ** % String somepage= index.jsp; % html:link page=%=somepage%Click Here/html:link

Re: rtexprvalue not working in html:link tag!!!

2001-10-18 Thread Craig_Reichenbach
Tried that. That's not it. -Craig Sandeep Takhar

Tiles MessageTag resources

2001-10-02 Thread Craig_Reichenbach
Hi, I'm looking at Tiles for the first time. Is it possible to use the MessageTag to name components of a Tile? I know you can't nest tags, but does tiles provide a way to acomplish the following functionality?: %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib

Re: database connection-pool

2001-10-01 Thread Craig_Reichenbach
I would look at alternatives to the generic connection pooling. I have found it unreliable under heavy load. Poolman is a good alternative. Furthermore Ted H. indicates generic pooling could be deprecated in later releases of Struts. It's fine for getting started but I wouldn't depend on it.

Generic pooling vs Poolman

2001-09-24 Thread Craig_Reichenbach
Hi, I created a basic Struts prototype web application that creates, edits, and searches for users. I then used Microsoft Web Application Stres Tool (WAST) to test the performance of the Generic pool vs. Poolman connection pooling. I am using an Oracle DB (8.1.6). WAST logs into the app,

Re: Other MVC architectures

2001-09-21 Thread Craig_Reichenbach
Try these links: http://husted.com/about/struts/links.htm#mvc http://barracuda.enhydra.org/cvs_source/Barracuda/docs/landscape.html

run time expressions jsp:xxx attributes

2001-09-21 Thread Craig_Reichenbach
Hi, the struts example mainMenu.jsp page accesses the User bean like so: ... jsp:useBean id=user scope=session type =org.apache.struts.webapp.example.User/ ... jsp:getProperty name=user property=username/ However, the bean is set in LogonAction like so:

Dynamic foward to jsps

2001-09-18 Thread Craig_Reichenbach
I have seen some discussion of dynamic forwarding in the archives as it pertains to passing parameters. But I haven't seen anything yet that speaks to how one might have more than 1 success page. For example, suppose I had menu.jsp and menu_es.jsp and I wanted to dynamically forward all

Re: Problems with PoolMan finding mm.mysql driver

2001-09-18 Thread Craig_Reichenbach
What is mycontents? Are you using JNDI to find the datasource? For now don't use JNDI, just put poolman.xml in your WEB-INF/classes directory the jta, poolman, jdbc_se, and your driver jar file in the web-inf/lib directory. I don't believe you need to put anything in Tomcat's classpath, only

Connections in Action servlets

2001-09-13 Thread Craig_Reichenbach
Hi, I'm curious if folks avoid using Connection objects directly in Action servlets. My action servlets obtain a Connection from a static utility method and pass this Connection into the methods of my database classes. I'm wondering if there is any significant advantage to removing the

Re: Connections in Action servlets

2001-09-13 Thread Craig_Reichenbach
My bad - I must stop thinking of Action classes as servlets. I must stop thinking of Action classes as servlets. I must stop thinking of Action classes as servlets... :-) Actually Ted, it was your poll application that made me think about this. The org.wxxi.polls.http.Client class calls methods

How localize JSP files?

2001-09-12 Thread Craig_Reichenbach
Hi, I have an application that may need to localize not only message resources, but entire jsp files. This might come into play in cases of right to left directional languages, where for instances text boxes would be to the left of their labels. Is this addressable within the framework? If so,

Re: after modify a JSP

2001-09-10 Thread Craig_Reichenbach
What version of Tomcat are you using? I believe stale JSP's aren't recompiled in Tomcat4.0 until beta 7. -Craig Ricco Lee

Re: Tomcat 4.0b7 and struts-example webapp

2001-08-31 Thread Craig_Reichenbach
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

Re: Tomcat 4.0b7 and struts-example webapp

2001-08-31 Thread Craig_Reichenbach
? Craig R. Craig_Reichenbach @lotus.com To: [EMAIL PROTECTED