RE: Multiple Datasources

2002-03-12 Thread BinhMinh Nguyen
I have a strange problem, can someone tell me what is wrong? I use form based authentication with Websphere using custom registry, setup in web.xml is as below. when I tried to access a protected resource URL, http://bhn.gers.com:9080/furnnet/main/dispatcher.do, since everything under dir

Form Based authentication with STRUTS and WEBSPHERE

2002-03-07 Thread BinhMinh Nguyen
Hi, My webapp is implemented based on struts and deployed to WebSphere. I am using custom-user-registry to protect web resource. I have setup everything. when start the Admin Console, it asked me for the user name and password, I entered those parameters and it let passed that point, so I

Re: Problem with html:errors tag - still not working

2001-11-29 Thread BinhMinh Nguyen
://www.husted.com/struts/ BinhMinh Nguyen wrote: For some reasons, this html:errors is no longer working for me :( can some one help me out? In the web.xml, I added this !--the application resources -- init-param param-nameapplication/param-name param

Re: MAPPING PROBLEM

2001-11-21 Thread BinhMinh Nguyen
Hi, thanks for replying, but I dont really understand your point much since I am new to struts, can you one more time, reexplain it to me? I really appeciate your help. Binh --- Yee Keat [EMAIL PROTECTED] wrote: There might be several problems in your code, one being that the action should

MAPPING PROBLEM

2001-11-20 Thread BinhMinh Nguyen
Hi, Please help me with this problem, I spent hours on it, but still canotsolve it. I have a jsp page named login.jsp in my application named furnnet, also this is the application path, so if I use Tomcat, the application path looks like this: TAMCAT_HOME/webapps/furnnet/ in order to oeganize

weblogic 6.0 and STRUTS problem

2001-10-03 Thread BinhMinh Nguyen
Hi I have the below error when I copy the struts-upload.war to webLogic6.0sp1. It just cannot load the app. Can you tell me why? Thanks Binh t: 'action' java.lang.NoSuchMethodError at org.apache.commons.digester.Digester.parse(Digester.java:859) at

STRUT 1.1 beta and release versions

2001-10-03 Thread BinhMinh Nguyen
Do you have any idea when struts 1.1 beta is out and normally how long after beta version, the release version is out. by the way, I have big time problem problem upgrading strut1.0 to overnight release version. please give some advises Thank you very much Binh

DataSource problem with NIGHTLY-BUILD version- 20010911 of STRUTS

2001-09-26 Thread BinhMinh Nguyen
I have no problem using Datasource in STRUT version 1.0, but when I upgrade STRUTS to nightly version, I have a problem using datasource. Here how it happens I first replace the XML parser and JAXP so that it can support Namespace. Then I follow the instruction in the Nighlt Release and I

Please Help !!!! STRUTS and TOMCAT 3.3 Beta 1 Problem.

2001-08-23 Thread BinhMinh Nguyen
Please help!!! My application works fine in Tomcat version 3.2.3. But if this same application is deployed in Tomcat version 3.3 beta1.0. I got the below error message when startup the Tomcat Server. I think there is something worng with the XML Parser API. Do I need a new XML Parser Version? or

Re: how to define a datasource in struts?

2001-08-21 Thread BinhMinh Nguyen
Here it is. Hope it helps. in struts-config: struts-config data-sources data-source set-property property=key value=PrePopulateDS/ set-property property=autoCommit value=false/ set-property property=description value=FN Data Source

struts and Tomcat 3.3 Beta 1.0 problem

2001-08-21 Thread BinhMinh Nguyen
My application works fine in Tomcat version 3.2.3. But if this same application is deployed in Tomcat version 3.3 beta1.0. I got the below error message when startup the Tomcat Server. I think there is something worng with the XML Parser API. Do I need a new XML Parser Version? or How can I fix

Is this a bug in STRUTS? or TOMCAT? Or Did I mis something? Please help.

2001-08-20 Thread BinhMinh Nguyen
hi all, I have a very interesting problem, and here how it occurs: my formJSP have two button: SUBMIT and EXIT. if the user is authenticated, when the Submit button is clicked, the form is submitted succesfully and the user is brought to another JSP page, let say Thank-you page. But let say, if

HTML:TEXTt -tag problem

2001-08-16 Thread BinhMinh Nguyen
hi, Here is my problem: I have to use pre-populate method to pre-fill the toForm based on some data from the previous JSP, called 'fromForm', but the only HTML components available for me is to use html:text, since I can set the property such as html:text property=userID But, as you all know,

Re: How can I get the DataSource from a JSP page

2001-08-14 Thread BinhMinh Nguyen
presentation layer can use it. It is much easier that way, and a cleaner separation of the data, business logic, and presentation layers. Just a suggestion. Kent -Original Message- From: BinhMinh Nguyen [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 5:51 PM

How do I set the default Forward in action form

2001-08-14 Thread BinhMinh Nguyen
Hi, I run across a little problem I dont know how to solve, please help. I have three buttons: OK, RESET, and EDIT and one text-field. Under normal case, after entering the text in the text-field, user will click on one of the three buttons,And I handle the button-events as followed in my

Context error when load images

2001-08-08 Thread BinhMinh Nguyen
Hi, I have a a JSP page, on which I have loaded a couples of images, eventhough the images loaded all the images correctly, I till get the following error messages, Can you tell me why? thank you very much Binh 2001-08-08 11:18:48 - Ctx( /templates ): IOException in: R( /templates +

Problem using TILES template with STRUTS

2001-08-03 Thread BinhMinh Nguyen
Hi, I am a big fan of your Components, it woks very pretty. But since you rename Component to Tiles things are not pretty any more:) I have hard time switching one Components to Tiles , I did every things following your instrcutions, and it is still not working. Even when I just copy directly

problem loading ActionServlet with DataSource

2001-07-30 Thread BinhMinh Nguyen
For some reason, my application cannot load ActionServlet if we use Connection Pooling using DataSource in the struts-config.xml, Please help me spot my error. Thank you. B Nguyen -- strut-config.xml: ?xml version=1.0 encoding=ISO-8859-1 ?

problem calliung validate() method in ActionForm

2001-07-27 Thread BinhMinh Nguyen
Hi, I have a problem calling the validate(...) method from the ActionForm: this is what I have done: 1- implement the validate() method in ActionForm, 2- in struts-config.xml, set the validate attribute to true for the action-mapping. But the method is not called when I clicked one of the

Handle Errors with JSP file

2001-07-26 Thread BinhMinh Nguyen
Hi, I have jsp files that handle unchecked runtime errors with a errorPage='error.jsp' atrribute. Everything works fine with regular JSP. When I implement those jsp using Struts, the application works still fine but the error handling part, ther eis no way I can send the error exception to the

Begginer: how do i know what button is clicked from a strut form

2001-07-18 Thread BinhMinh Nguyen
I am new to struts and got stuck. Please anyone tell me how do i know what button is clicked to detect the event from a strut:form. For example, my form have three buttons: OK, RESET, CANCEL, I would like to perform tasks that are associated with these button, but I dont know how to detect what