Re: Container-Managed Authentication login-config in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-07 Thread Caroline Jen
use the form-login-page and form-error-page in the web.xml file? Thanks. --- Craig R. McClanahan [EMAIL PROTECTED] wrote: Caroline Jen wrote: But, I do not want to use BASIC authentication. I have many different roles and hundreds of people per role. Users' name, role, etc

Container-Managed Authentication login-config in web.xml vs. Specifying Paths in the struts-config.xml

2003-10-06 Thread Caroline Jen
I use the Tomcat. I configured the Tomcat JDBCRealm so that I can use programmic security testing, such as isUserInRole(), in my program. Because Tomcat JDBCRealm is form based, I inserted the login-config and its sub-elements in my web.xml file (see below). As we know, the form-login-page and

RE: Container-Managed Authentication login-config in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-06 Thread Caroline Jen
app that might help you out: http://raibledesigns.com/wiki/Wiki.jsp?page=SecurityExample HTH, Matt -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:45 PM To: [EMAIL PROTECTED] Subject: Container-Managed Authentication login

Re: My Mail is Bombing

2003-10-05 Thread Caroline Jen
Todd, I am uncertain if this piece of information will be of any use to you -- when I first tried to setup JavaMail, I followed the online instruction and put the mail.jar and activation.jar in my j2sdk1.4.1_02\jre\li\ext folder. The JavaMail did not work. Thereafter, I got an advise from

Re: No Error Message But A Blank Page Is Displayed.

2003-09-30 Thread Caroline Jen
-power.gif' alt='Powered by Struts' /BODY /HTML --- Kwok Peng Tuck [EMAIL PROTECTED] wrote: You might want to put System.out.println(Line [number]) ; to see the flow in your action. BTW did you actually put anything(like hello world) in Welcome.jsp ? Caroline Jen wrote: Which resource

RE: No Error Message But A Blank Page Is Displayed.

2003-09-30 Thread Caroline Jen
did you actually put anything(like hello world) in Welcome.jsp ? Caroline Jen wrote: Which resource file needs to be updated? I have checked the application.properties. Nothing in that file is relevant to my problem. --- Abhijeet Mahalkar [EMAIL PROTECTED] wrote

How To Use Connection Pooling in Struts 1.1?

2003-09-30 Thread Caroline Jen
Before I started converting my web app to STRUTS, I used a DataSource to do connection pooling. I had the Tomcat server.xml file configured. My servlet accessed a helper class in which I had Context.lookup for the JNDI name. All worked well. Now that I am using STRUTS. I try to authenticate the

No Error Message But A Blank Page Is Displayed.

2003-09-29 Thread Caroline Jen
I am experimenting a basic application - logon. I got the first two screens working without problem. However, the third screen displays a blank page (no error message). I am having a very difficult time to figure out the problem; henceforth, seeking help. Here is the history of my application:

Re: No Error Message But A Blank Page Is Displayed.

2003-09-29 Thread Caroline Jen
Which resource file needs to be updated? I have checked the application.properties. Nothing in that file is relevant to my problem. --- Abhijeet Mahalkar [EMAIL PROTECTED] wrote: have u updated the Resource files... ? abhijeet - Original Message - From: Caroline Jen [EMAIL

What Could Lead To NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource?

2003-09-22 Thread Caroline Jen
Your help is greatly appreciated: what could lead to NoClassDefFound Error: org/apache/struts/legacy/GenericDataSource? the error message is HTTP Status 500. The root cause is: java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource Here is the log: description: The server

What Could Lead To NoClassDefFound Error: org/apache/struts/legacy/GenericDataSource?

2003-09-22 Thread Caroline Jen
Your help is greatly appreciated: what could lead to NoClassDefFound Error: org/apache/struts/legacy/GenericDataSource? the error message is HTTP Status 500. The root cause is: java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource Here is the log: description: The server

What Could Lead To NoClassDefFound Error?

2003-09-22 Thread Caroline Jen
Your help is greatly appreciated: what could lead to NoClassDefFound Error: org/apache/struts/legacy/GenericDataSource? the error message is HTTP Status 500. The root cause is: java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource Here is the log: description: The server

RE: What Could Lead To NoClassDefFound Error?

2003-09-22 Thread Caroline Jen
file. I don't believe the legacy components are included in the Struts 1.1 jar, so if you're using that stuff you'll need to get it separately: http://archive.apache.org/dist/jakarta/struts/struts-legacy/ HTH, -= J -Original Message- From: Caroline Jen [mailto:[EMAIL

Installation of Artimus_1_1 Was Stuck When Tried to Create Resources

2003-09-19 Thread Caroline Jen
I successfully got the Artimus_1_1 welcome page. I clicked LOGON buttion and the next page was displayed. I selected Create Resources from the Manager options and clicked on GO. I had http://localhost:8080/artimus_1_1/do/menu/Manager displayed in the address bar with the following message shown

Do Not Understand /tags/struts-logic not found

2003-09-19 Thread Caroline Jen
I double checked that 1. struts-logic.tld is in the C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\MyApplication\WEB-INF\lib folder 2. in my web.xml file, I have taglib taglib-uri/tags/struts-logic/taglib-uri taglib-location/WEB-INF/lib/struts-logic.tld/taglib-location /taglib 3. in my

Re: Do Not Understand /tags/struts-logic not found

2003-09-19 Thread Caroline Jen
I am following Ted Husted's example code and setup; therefore, I do not think it is the problem. Those TLD files can be in the WEB-INF/lib folder. --- John Cavacas [EMAIL PROTECTED] wrote: Shouldn't those TLD files be in WEB-INF/ ? not WEB-INF/lib ... At 07:49 PM 19/09/2003 -0700, you wrote:

Confused - Scaffold and Action Mapping

2003-09-17 Thread Caroline Jen
I have problem to understand the action mapping shown below: code: - action path=/Menu name=menuForm type=org.apache.struts.scaffold.ExistsAttributeAction parameter=application;HOURS forward name=success path=.article.Menu/ forward

Please Help Me To Understand forward

2003-09-12 Thread Caroline Jen
I am studying the code in Artimus_1_1 to make sure that I understand how things actually work. I am lost at the beginning of the application. Please kindly help me. The index.jsp of the application contains two lines: code: -- %@ taglib

Menu Forwards?

2003-09-11 Thread Caroline Jen
This is the application I am studying. The index.jsp of the application contains two lines: %@ taglib uri=/tags/struts-logic prefix=logic % logic:redirect forward=welcome/ What is the meaning of this redirect forward? Is the browser asked to submit a new request to the path with logical name

Re: datasource connection problem.

2003-09-09 Thread Caroline Jen
Hi, in my opinion, you should pay attention to this part of your log file: Unable to connect to any hosts due to exception. and java.net.BindExceptioncom.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346 It says that the jdbc driver is not registered. --- Rajat Pandit

Confused by index.jsp, welcome.jsp, and logon.jsp

2003-09-09 Thread Caroline Jen
Hi, I am new to Struts. I have read the logon example presented in Husted's Struts in Action and deployed the logon.war on my machine. Everything works exactly like what says in the book. However, I am confused -- My question is why I entered http://localhost:8080/logon and the welcome.jsp is

NullPointerException While Deploying the Artimus_1_1

2003-09-09 Thread Caroline Jen
I have 1. Tomcat 4.1.18-LE-jdk14 up and running in the Windows XP Pro environment; 2. I am using Struts-1.1-rc2; 3. I have MySQL installed in my machine. And I have used the Tomcat connection pool to retrieve data from the MySQL database before. I tried to deploy the

artimus_1_1

2003-09-05 Thread Caroline Jen
I tried to deploy the artimus_1_1 application and I followed the instructions in the README file that was bundled with the artimus_1_1.war. I successfully logged into the application, using the username: artimus and password: g0rd0n. I continued to followed the instructions. I selected Create

Re: Need Instructions To Setup The Artimus Example

2003-08-21 Thread Caroline Jen
Rick, thanks a lot for taking the trouble to find the web link to the Husted discussion forum. I have posted my question there and hoping to get some instructions soon. I appreciate your help. Caroline --- Rick Reumann [EMAIL PROTECTED] wrote: On Wed, Aug 20,'03 (10:38 PM GMT-0700), Caroline

Need Instructions To Setup The Artimus Example

2003-08-20 Thread Caroline Jen
Hi, I am new to Struts. I would like to get a look and feel of the Artimus example (artimus_1_1.war) in the Struts in Action provided by Husted. I have the Tomcat 4.1.18 installed and functioning in my machine. I also have downloaded the Ant. Where can I find instructions to quickly deploy the

RE: Need Instructions To Setup The Artimus Example

2003-08-20 Thread Caroline Jen
Can you gives us more information, like what version of Struts you are using and what application container you are employing? Mark -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 5:36 PM To: [EMAIL PROTECTED] Subject: Need

Re: Need Instructions To Setup The Artimus Example

2003-08-20 Thread Caroline Jen
I have gone to his book site but cannot find a discussion forum. I am hoping that Ted would notice my post here and give a hand. --- Rick Reumann [EMAIL PROTECTED] wrote: On Wed, Aug 20,'03 (04:55 PM GMT-0700), Caroline wrote: Hoping Ted noticed my post and provides guidance to setup

ActionForm Design Question

2003-08-01 Thread Caroline Jen
Hi, I am building a web site. The primary functions of this site are for authors to submit their research papers. The research papers will go through a screening process (screened by peers in the field). Visiors can view the published articles online. Authors and peers are the registered users

Converting Data Types On the Business Bean Side

2003-07-31 Thread Caroline Jen
Does the Struts 1.1 BeanUtils class supports transferring data between String and native types on the business bean side? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

Re: Logon Submit returns a blank page

2003-07-28 Thread Caroline Jen
What is in the log file? Log files records errors. There may be a clue. --- todd thorner [EMAIL PROTECTED] wrote: Hi and thanks, Ok, I have reached this far in my logon page development... The first JSP page comes up fine, showing me a form html:form action=/LogonSubmit with a rendered

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread Caroline Jen
Did you put: %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % in your FileName.jsp? --- message message [EMAIL PROTECTED] wrote: You probably need to reload your application after having made the entry in the web.xml file. From: Vinayak Birari [EMAIL PROTECTED] Reply-To: Struts

RE: drop-down list help

2003-07-22 Thread Caroline Jen
Hi, Rick: Take a look at http://www.reumann.net/do/struts/main In Lesson II, you'll find an example of how to use the html:select tag Lesson II-4 Create ActionForm - The UI element for entering a value into the department field will be a drop-down list. Lesson II-6 Create DepartmentBean -

Error Using select tag To Create Drop-Down Menu

2003-07-21 Thread Caroline Jen
I am doing testings step by step. I simply want to add a drop-down menu feature to something that works OKay. I am a newbie to struts. I do not know where to look for my mistakes when I encounter problems. Something is wrong in my .jsp page. This .jsp page had worked fine before

Re: AW: Error Using select tag To Create Drop-Down Menu

2003-07-21 Thread Caroline Jen
name org.apache.struts.taglib.html.BEAN Hope, that will help! Dirk -Ursprüngliche Nachricht- Von: Caroline Jen [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. Juli 2003 21:18 An: [EMAIL PROTECTED] Betreff: Error Using select tag To Create Drop-Down Menu I am doing

RE: package org.apache.struts.action Does Not Exist?

2003-07-19 Thread Caroline Jen
Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 8:15 PM To: [EMAIL PROTECTED] Subject: package org.apache.struts.action Does Not Exist? I have been using Struts (jakarta-struts-1.1-rc2) for about two weeks. I have tested a number of things and made

What Is The Proper Location To Place Inputs For Creating A Drop-Down Menu

2003-07-18 Thread Caroline Jen
I want to put the label and value pairs of the 51 states of the U.S. in a file, read in the file into an ArrayList, and then create a drop-down menu in a .jsp file. Question 1. Where is the proper place to put those label and value pairs? Create a table in the database? or put those pairs in a

package org.apache.struts.action Does Not Exist?

2003-07-18 Thread Caroline Jen
I have been using Struts (jakarta-struts-1.1-rc2) for about two weeks. I have tested a number of things and made them work. Today, while I was trying to compile a model bean (I have compiled it before without any problem), I got compilation error: package org.apache.struts.action does not exist

Re: How can I set the defualt selection?

2003-07-08 Thread Caroline Jen
if you want to set one option as default in a blank form, set the actionform property to the value of the option you want. Preferably in the action.execute() so you don't muddle your jsp unnecessarily. Adam Caroline Jen wrote: I have similar questions. What is the syntax

Specify Error Messages For Automatic Validation

2003-07-08 Thread Caroline Jen
I am trying to put entries in the MessageResource.properties file for the error messages generated by the automatic validation. I used mask to provide a number of validation rules. How do I specify those error messages? (I used mask for a number of text field to report various errors.) I

How To Specify Error Messages For Self-Provided Validation Rules: mask

2003-07-07 Thread Caroline Jen
I am trying to insert entries in the MessageResources.properties file for the error messages generated by automatic validation. I could find examples for email and date (see below): errors.email={0} is an invalid e-mail address. errors.date={0} is not a date. What should the messages look like

Re: How can I set the defualt selection?

2003-07-06 Thread Caroline Jen
I have similar questions. What is the syntax of the html:option tag? Just take the example given by you, are the codes shown below correct? Will the default selection shown? html:select property=select1 html:option property=1 labelProperty=first html:option property=2

My LoginView.jsp Displays A Blank Page

2003-07-05 Thread Caroline Jen
My LogonView.jsp displays a blank page. I have no idea why nothing is written while the MessageResources.properties file is found. I would have gotton HTTP Status 500 if the MessageResources.properties is not found or the value of the corresponding key in the bean:message tag cannot be picked

My LogonView.jsp Displays A Blank Page

2003-07-05 Thread Caroline Jen
My LogonView.jsp displays a blank page. I have no idea why nothing is written while the MessageResources.properties file is found. I would have gotton HTTP Status 500 if the MessageResources.properties is not found or the value of the corresponding key in the bean:message tag cannot be picked

Stuck With My First Struts Exercise -- Tomcat Cannot Find The MessageResources.properties File

2003-02-27 Thread Caroline Jen
I am trying to run my first Struts -- using the tutorial Login example at http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp#struts There is a MessageResources.properties file that allows for all strings displayed in an application to be defined. Nonetheless, After I entered

RE: Stuck With My First Struts Exercise -- Tomcat Cannot Find The MessageResources.properties File

2003-02-27 Thread Caroline Jen
taglib-location/WEB-INF/struts-logic.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-template.tld/taglib-uri taglib-location/WEB-INF/struts-template.tld/taglib-location /taglib /web-app --- Caroline Jen --- James Mitchell [EMAIL PROTECTED

<    1   2