logic:foward results in IllegalStateException

2001-10-28 Thread Calvin Lau
I currently have a welcome page that requires an action be done to grab announcements from the db. On my welcome page, index.jsp, I have: %@ page language=java % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % logic:forward name=homepage/ Under struts-config.xml's global fowards, I

Problem running my Struts App on Tomcat4 (NoClassDefFoundError)

2001-09-15 Thread Calvin Lau
I installed Tomcat4 and have the examples and struts-example webapps working. However I can't seem to get my webapp which was working fine under Tomcat3.2.1 to work. I get the error listed below when I try go to any *.do. Anyone have any idea what the problem is? Here's an abridge version of

RE: Tomcat 4.0b7 and struts-example webapp

2001-09-03 Thread Calvin Lau
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

RE: Tomcat4.0 Contexts

2001-08-30 Thread Calvin Lau
about to roll back to Tomcat 3.2. Thanks man! -Mark Bennett Computer Science III University of Alberta -Original Message- From: Calvin Lau [mailto:[EMAIL PROTECTED]] Sent: August 29, 2001 2:09 AM To: [EMAIL PROTECTED] Subject: Tomcat4.0 Contexts Does anyone have an example

Tomcat4.0 Contexts

2001-08-29 Thread Calvin Lau
Does anyone have an example of a Tomcat4.0 server.xml that uses Contexts? I want to run an application that has it's root outside of Tomcat's root directory but keep getting XML parse errors for some reason. It was all working fine on Tomcat3.2. Any good resource on Tomcat4.0 would also be

Re: I have a problem

2001-08-28 Thread Calvin Lau
It must be the damned French! ;) --- ALAMI Ahmed - BOR [EMAIL PROTECTED] wrote: I don't understand what is happening to me now. Before i could use Struts with Tomcat with no pronlem, but now when i try to use it i have this kind of error (notice that it's in French) Error: 500

automatically calling an Action

2001-08-22 Thread Calvin Lau
I have an ActionServlet that needs to be run everytime a user makes any http request to my site. How and where should I tell the controller to do this? __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger

Re: TextArea Wrapping using Form Tags

2001-08-19 Thread Calvin Lau
PROTECTED] Sent: Sunday, August 19, 2001 7:02 AM Subject: Re: TextArea Wrapping using Form Tags See Wrapping a text area at http://husted.com/about/struts/FAQ/view-html.htm Calvin Lau wrote: Is there any way to set the wrapping in a text area when using the struts form tags

Re: TextArea Wrapping using Form Tags

2001-08-19 Thread Calvin Lau
supported in both Netscape and IE, and it's pretty useful. - Original Message - From: Calvin Lau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 20, 2001 12:22 AM Subject: Re: TextArea Wrapping using Form Tags The wrap attribute is invalid in the HTML TLD I'm using

Re: TextArea Wrapping using Form Tags

2001-08-19 Thread Calvin Lau
tag, and then use bean:write to provide the initial value. -- Martin Cooper - Original Message - From: Calvin Lau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 19, 2001 3:43 PM Subject: Re: TextArea Wrapping using Form Tags Am I missing something? I

TextArea Wrapping using Form Tags

2001-08-18 Thread Calvin Lau
Is there any way to set the wrapping in a text area when using the struts form tags? In HTML you can set virtual, physical, or none. Netscape doesn't do any wrapping by default so large portions of text are lost when I grab information to display in a textarea to be modified. Any ideas?

Beans In Form Tags

2001-08-09 Thread Calvin Lau
For some reason I get the following error when I try to access a bean from within a form tag: Attribute entry has no value... When I use the regular HTML textbox instead of the Struts Form tag for a textbox, it works. Anyone know why? Thanks. This works: logic:iterate id=entry