How can I get MessageResources in jsp

2004-03-09 Thread Billy Ng
); Thanks! Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://info.mailfrontier.com

Use MessageResource in taglib

2004-03-07 Thread Billy Ng
Hi folks, I need to get a value from the properties file. I can easily do it in action subclass with the getResource().getMessage() and in jsp with the bean:message tag. However, how I can it in a taglib? Billy Ng This mailbox protected

Re: Using ApplicationResources.properties problem

2004-03-05 Thread Billy Ng
Vincent, I found out what's going on. I have set up the Chinese(Taiwan) (zh_TW) for my input method in Windows. The Java was too smart to pick it up as my default locale. Billy Ng This mailbox protected from junk email by Matador

Re: Using ApplicationResources.properties problem

2004-03-04 Thread Billy Ng
Sorry, I misunderstood your email. Let me try to set the default locale with LOCALE_KEY in the session. It will be great if you have any example that oyu can show me, thanks! Billy Ng This mailbox protected from junk email by Matador from

Using ApplicationResources.properties problem

2004-03-04 Thread Billy Ng
I am going to localize the product. The getResources().getMessage() method just works fine with the following properties files. ApplicationResources.properties ApplicationResources_en_US.properties ApplicationResources_fr_FR.properties However, if I add the ApplicationResources_zh_TW.properties

Re: How to set charset UTF-8

2003-08-22 Thread Billy Ng
You know what, I was using the template. As long as I added <% request.setCharacterEncoding("UTF-8"); %> in the template. It works now. Thanks everybody Billy Ng This mailbox protected from junk email by Matador from M

How to set charset UTF-8

2003-08-21 Thread Billy Ng
the contentType to "text/html; charset=UTF-8" Thanks! Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://info.mailfrontier.com

MIME decoding

2003-08-20 Thread Billy Ng
Hi folks, I need to display a String that is MIME encoded. When I call java's MimeUtility.decodeText(str), it returns me ?. Do I need to set any charset in Struts to make work correctly? Billy Ng This mailbox protected from junk

Re: persisting session id

2003-08-15 Thread Billy Ng
Can I put the JSESSIONID in the persistent cookie? When user hit the page, will the serlvet pick up the JSESSIONID from the cookie instead of memory? Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http

where is JSESSIONID?

2003-08-15 Thread Billy Ng
Hi folks; Anybody knows where is the JSESSIONID cookie is? I search the whole Cookies folder, I can't find it. Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://info.mailfrontier.com

persisting session id

2003-08-15 Thread Billy Ng
Hi folks, This is really a tomcat related question, but I have no luck in tomcat ailing list. My question is I will lose the session everytime I close the browser. Is there a way to persist the session even I close the browser? Thanks! Billy Ng

Re: extending Action problems

2003-07-06 Thread Billy Ng
Hey Andrew, in fact, your hacky way works out pretty well. I use the hastable to hold the ActionContexts. I am going to do the hammer test to see if it hurts anything on the performace. Thanks, Andrew! Billy Ng private final static HashTable threadTable = new HashTable(100); public

Re: IE 6 SP-1 won't session

2003-07-04 Thread Billy Ng
But my app works for all customers except one. Billy Ng - Original Message - From: "sander-martijn" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 04, 2003 12:26 PM Subject: Re: IE 6 SP-1 won't session &

IE 6 SP-1 won't session

2003-07-04 Thread Billy Ng
t the app returns user back to login page. Anyone have seen this before? Thanks! Billy Ng

Re: extending Action problems

2003-07-04 Thread Billy Ng
running application that is using this method? Thanks Andrew! Billy Ng - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> Sent: Friday, July 04, 2003 3:49 AM Subject: RE: extending Action problems > Almost -

Re: extending Action problems

2003-07-04 Thread Billy Ng
d mentioning in a reply to some post of mine > that he used a similar technique quite often - but it may have been someone > else so don't quote me on that! > > > > -Original Message- > From: Billy Ng [mailto:[EMAIL PROTECTED] > Sent: Friday, 4 July 2003 17:06 &

Re: Struts-bean.tld

2003-07-04 Thread Billy Ng
I normally use it to get the value from the properties file. " In the Applications.properties file, you can define home.link=http://www.home.com How handy, right? You should look at the Struts' doc Billy Ng - Original Message - From: "Jagannayakam" <[EMAIL

extending Action problems

2003-07-04 Thread Billy Ng
I make a mistake on extending the Action. I have the following code to set the parameters in the perform() to the setters. At first, I wanted whichever the classes that extends ActionBase can get the parameters by simply calling the getters. However, the Action is a singleton, the instance v

Re: Is Action Instantiated Once?

2003-07-03 Thread Billy Ng
I think I know what is happening. I have some getter methods that hold the memeber variables in the ActionBase class. Thank you guys! Billy Ng - Original Message - From: "Kwok Peng Tuck" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTEC

Re: Is Action Instantiated Once?

2003-07-03 Thread Billy Ng
I don't think I used instance variables for referencing the address book entries, but the last guy always wins. The screen of the guy who first clicks on the next button will not display anything until the screen of the guy who clicks later finishes. Billy Ng - Original Message -

Is Action Instantiated Once?

2003-07-03 Thread Billy Ng
action extends a ActionBase that extends Strut's Action. Would anybody tell me if Strut will instantiates a new acton everytime it is called? Did I miss something on the configuration to make it thread dependent? Thanks! Billy Ng

Re: IE 6 timeout session

2003-06-04 Thread Billy Ng
Are you sure? I changed my IE to Block cookies, but it still let me in without sessing the read eye in the status bar. If I go to yahoo to log in to my account, the red eye shows up. I think java session is different from simply writing cookie to the client. Billy Ng - Original Message

Re: IE 6 timeout session

2003-06-04 Thread Billy Ng
It does not care the timeout in the server.xml. After the guy logged in to the app, he would be returned to the login page if he clicked on anything. This means his session expired or the session is null. It only happens on the IE 6 SP-1. Billy Ng - Original Message - From: "Chen

IE 6 timeout session

2003-06-04 Thread Billy Ng
Hi folks; I have a customer complains the IE 6 sp1 times out the session after he is logged in the app. I tried to reproduce it but I can't. Have anybody experienced this? Billy Ng

Re: Precompiling JSPs

2003-01-13 Thread Billy Ng
I used Ant to precompile the JSPs before. It was very good but took much longer to compile a build. If you have 2,000 JSPs, mm... And I can tell how hard to maintain 2000 entries in the web.xml. Billy Ng - Original Message - From: "William W" <[EMAIL PROTECTED]

Re: How to detect Input Image

2003-01-13 Thread Billy Ng
Wow, looks cool! However, if I can get the request object in the ActionForm, the code can be much shorter. Billy Ng - Original Message - From: "Robert Taylor" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, January 13

How to detect Input Image

2003-01-13 Thread Billy Ng
rgly. Is there any get() and set() methods that I can use in ActionForm to get x and y int? Thanks! Billy Ng

Re: Forward to a servlet

2002-12-15 Thread Billy Ng
So, should I do this? web.xml = AccountHTML_jsp com.mydomain.AccountHTML_jsp AccountHTML_jsp /AccountHTML.jsp struts-config.xml === Billy Ng - Original Message - From: "

Re: Forward to a servlet

2002-12-15 Thread Billy Ng
files? Billy Ng - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, December 15, 2002 11:05 PM Subject: RE: Forward to a servlet > I thought that even with precompiling you would j

Forward to a servlet

2002-12-15 Thread Billy Ng
vance! Billy Ng

Re: Stop auto fill in

2002-10-26 Thread Billy Ng
I got the answer in the previous email. Please ignore this one. Billy Ng - Original Message - From: "Billy Ng" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, October 26, 2002 3:00 PM Subject: Stop auto fill in

Stop auto fill in

2002-10-26 Thread Billy Ng
Hi folks, IE will auto fill the password if user enables it. Is there a way to clear the history in the ? Billy Ng

Image path question

2002-10-23 Thread Billy Ng
mcat or Apache thing? Thanks! Billy Ng

Re: RedirectingActionForward?

2002-10-23 Thread Billy Ng
I posted a question earlier regarding the redirect. I notice I can't do the sendRedirect after the mapping.findForward is called. Oterwise, it works very good with return null. Billy Ng - Original Message - From: "Eddie Bush" <[EMAIL PROTECTED]> To: "Struts U

Redirect Question

2002-10-22 Thread Billy Ng
ction? HttpServeletResponse.sendRedirect(url); return null; Thanks! Billy Ng

error page for jsp

2002-10-14 Thread Billy Ng
Hi folls; I don't want to see the exception error if anything goes wrong in jsp. Should I use <%@ page errorPage="errorpage.jsp" %>? or Struts has better mechanism to handle the exception is thrown in jsp? Thanks! Billy Ng

help on validate attribute

2002-10-10 Thread Billy Ng
Hi folks, If I put validate=true in the action tag, the form will be validated once it is load. Is it a right behavior? Since there is no data in the form bean, some madatory fields that I specify in the validate method will be treated as error. How should I handle it? Billy Ng

Re: Cannot find bean error

2002-10-07 Thread Billy Ng
Make sure your clsoing tag is right. I had the similar error message when I had an incorrect closing tag. Hope this helps! Billy Ng - Original Message - From: "Anoop" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]&g

Re: Business Logic Bean Question

2002-10-05 Thread Billy Ng
Thanks all of you, I think I got the picture! Billy Ng - Original Message - From: "Pavel Kolesnikov" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 10:47 AM Subject: Re: Business Logic Bean Questi

Business Logic Bean Question

2002-10-04 Thread Billy Ng
r, my question is if I should do the business logic in Action? Am I supposed to hand down the job to a business logic bean? It will be helpful if anyone can provide me samples or links for how a business logic looks alike. Thanks in advance! Billy Ng

set ContentType to application/msword

2002-10-03 Thread Billy Ng
I am trying to let user to open the HTML with MS Word. I changed the content type to ContentType="application/msword" in the jsp, but it still did not bring up the Word. Does Struts set the content type to "text/html" somewhere? Thanks! Billy Ng

Problem with JDBC Connector 2 driver

2002-10-03 Thread Billy Ng
My app still hangs once in a while. I am supsecting the problem comes from the JDBC driver becuase it only stalls on the pages that need database access. Would anybody please tell me if you have experieneced the same problem with using Linux, mysql, and Connector 2 driver. Thanks! Billy Ng

RE: Access JSP in the WEB-INF

2002-09-30 Thread Billy Ng
I was told I could do this; Billy Ng >From: "Andrew Hill" <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >To: "Struts" <[EMAIL PROTECTED]> >Subject: RE: Access JSP in the WEB-INF >Date: Mon, 30 Sep 2002 23:43:12 +0800 > >Im in

Re: taglib url problem

2002-09-28 Thread Billy Ng
o avoid users to see the directory tree? If not, I need to move things to after the /WEB-INF. Thanks! Billy Ng -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

taglib url problem

2002-09-27 Thread Billy Ng
irectory to root, it will work <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"; %> Would anybody please tell me why? Thanks! Billy Ng -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: xml transformation

2002-09-27 Thread Billy Ng
After I used the JTSL's tag, it is working now. Thanks a lot, Eddie! Billy Ng -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

use Jakarta TagLibs in Struts

2002-09-26 Thread Billy Ng
s(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Thread.java:536) Thanks! Billy Ng -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: preserve Forward order

2002-09-21 Thread Billy Ng
Thanks! I ask you more when I am stuck. Billy Ng - Original Message - From: "Eddie Bush" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, September 21, 2002 9:50 AM Subject: Re: preserve Forward order > H

Re: preserve Forward order

2002-09-21 Thread Billy Ng
Good idea! I won't go for hacking Struts either. By the way, I heard you guys talking about plugin so many times (I know, I am a slower learner). Any web site I can look at. I am very interested in learnig it. Billy Ng - Original Message - From: "Eddie Bush" <[EM

Re: preserve Forward order

2002-09-21 Thread Billy Ng
(int i=0; i< forwards.length; i++) { ActionForward forward = mapping,findForward(forwards[i]); out.print(""+forward.getName()+""; } I know I am lazy, but it works very good except the sorting. That's why I want the elements of the String[] has the order I put

preserve Forward order

2002-09-20 Thread Billy Ng
When I use mapping.findForwards(), it returns me the sorted forward names. How can I get the forward names in the same order as in the struts-conf.xml? Thanks! Billy Ng

Re: Possible memory leak in Tomcat 4.1.10

2002-09-11 Thread Billy Ng
Craig, I did it as you said. I ran the Hello World page on the Tomcat's Servlet Examples, then kept refreshing it. The free memory is continuously going down. I will report this to Tomcat team. Billy Ng. - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTE

Re: Possible memory leak in Tomcat 4.1.10

2002-09-11 Thread Billy Ng
Good pointer, I will do it. Thanks, Craig! Billy Ng - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 10, 2002 8:16 PM Subject: Re: Possible memory leak in To

Re: Possible memory leak in Tomcat 4.1.10

2002-09-10 Thread Billy Ng
I have already mailed to Tomcat mailing list before. I mailed here because there are some Struts users might experience this before. Sorry, I am using Linux and the top command. I just keep track on the free memory reading evey time I hit the servlet. Billy Ng - Original Message

Possible memory leak in Tomcat 4.1.10

2002-09-10 Thread Billy Ng
hear anything about the 4.1.10. I am wondering if anyone experienced the same problem before. If you are using any version of Tomcat that you feel it is stable, please let me know. Thanks! Billy Ng

Servlte-level Resource Files

2002-09-10 Thread Billy Ng
se give me some points for how to do it. Thanks! Billy Ng

The app freezes with plenty free memory

2002-09-05 Thread Billy Ng
. Does anyone have the same problem? Billy Ng

Re: Detect errors in Action

2002-09-05 Thread Billy Ng
I did that. But the object I set in the Action before would be lost when the ActionForm's validate method find the errors and then return to the view. Billy Ng - Original Message - From: "Dan Walker" <[EMAIL PROTECTED]> To: "Struts Users Mailing List

Re: Detect errors in Action

2002-09-05 Thread Billy Ng
thanks! I thought there was a method or a way to see the ActionError is not null or its length larger than 0 in the Action before the view with error displayed Billy Ng - Original Message - From: "John Yu" <[EMAIL PROTECTED]> To: "Struts Users Mailing List"

Detect errors in Action

2002-09-04 Thread Billy Ng
Hi folks, Would anybody tell me if I can detect any errors occur in the Action? It is because i have some objects created in the Action. If there is error, I need to set the objects into the request becuase the view displayed. Thanks! Billy Ng

Re: Not using JSP as the view

2002-09-04 Thread Billy Ng
ic, I thought the ActionForward had to be jsp file. Thanks a lot! Billy Ng - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 2:25 PM Subject: Re: Not usin

Not using JSP as the view

2002-09-04 Thread Billy Ng
Hi folks, I am thinking to repsonse the XML instead of HTML. In Struts, how can I response to the browser without displaying the JSP as the view? Thanks! Billy Ng

Re: Need help in struts-config.xml file

2002-09-04 Thread Billy Ng
I ran into the same problem, but I brand it in the properties file and I have a URL object to pick it. So you just need to change it in one place if the app name is changed. Billy Ng - Original Message - From: "Ashish Kulkarni" <[EMAIL PROTECTED]> To: "Stru

Re: How to handle this without using Session scope?

2002-09-03 Thread Billy Ng
found in the validate method, it will reload the JSP. However, all objects in the request scope are gone by that time and it will throw NullPointerException. In your remedy, do you mean I could re-set the objects to the request in the reset method too? Thanks! Billy Ng >From: Rick Reum

Re: Hanging Struts

2002-09-03 Thread Billy Ng
ime. One more thing, you may try the Connect/J mysql driver, it takes less memory. Hope this help! Billy Ng >From: Alex McLintock <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Hanging Struts

Re: tag help ASAP

2002-08-29 Thread Billy Ng
Open the struts-exercise-taglib/html-select.jsp, there are 2 examples to show you how to use Collection to deal with Billy Ng >From: Ashish Kulkarni <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <

Re: First time penatly

2002-08-29 Thread Billy Ng
declaration in the jsp files? Billy Ng - Original Message - From: "Karr, David" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 10:36 AM Subject: RE: First time penatly > > -Origina

Re: senfing query strings in action forward

2002-08-29 Thread Billy Ng
some business logic before you load the page. so my version will be ActionForward af = mapping.findForward(forward_name); af.setPath(path/myAction.do?user_id=100); af.Redirect(true); return af; Billy Ng >From: dmitry <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List&qu

First time penatly

2002-08-29 Thread Billy Ng
ll me how to do pre-compile, thanks! Billy Ng _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <

Re: confusion about view part!!!

2002-08-28 Thread Billy Ng
>I am working on very large scale b2b portal containing Jsp pages which usus >javascripts and style sheets in bulk. > >So, I am confused that view pages should be made directly using struts tag >or it should be easy to make in html and then convert into struts. I am confused too. Since you hav

RE: Memory Leak

2002-08-28 Thread Billy Ng
Thanks everybody! I found where my app caused the memory leaks already. Somebody is right (sorry, I forget your name)! It is from a singleton call. I will be very careful for the static calls next time. This mailing lists is great! Thanks! Billy Ng

Re: Memery Leak

2002-08-28 Thread Billy Ng
Good info. I like to use static for those frequently acesss objects. I think I need to revisit them. Very high chance it leaks from there. Thanks! Billy Ng - Original Message - From: "Michael Lee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[

Re: Run out of Memeory

2002-08-28 Thread Billy Ng
. Billy Ng - Original Message - From: "Donald Ball" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 7:15 AM Subject: RE: Run out of Memeory > On 8/27/2002 at 4:48 PM Billy Ng wrote: > > >I should say the app is hung silently. It wo

Re: Memery Leak

2002-08-28 Thread Billy Ng
m the session. What about the user exit the program without click on Log Out. Will the object being holding in the session forever? How should I hamdle this? Thanks! Billy Ng - Original Message - From: "Cliff Rowley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List

Re: Memery Leak

2002-08-28 Thread Billy Ng
I don't know. Yes, the memory usage is getting higher and higher. Billy Ng - Original Message - From: "Cliff Rowley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 2:15 AM Subject: RE: Meme

Re: Memery Leak

2002-08-28 Thread Billy Ng
I am a beginner here. Would you please tell me how to ensure the tags/servlets are garbage collected correctly, thanks! Thanks! Billy Ng - Original Message - From: "Martin Samm" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Se

Memery Leak

2002-08-28 Thread Billy Ng
Hi folks, I am using Tomcat 4.0.3, Struts 1.0.2, and Debian Linux 2.2.19. I notice the size of the free memory is going down everytime there is a user hitting my app. It will never go back up. Anybody having the same problem? Billy Ng

Re: connecting to a database

2002-08-27 Thread Billy Ng
I am new to Struts. I don't know if your syntax is right or not. However, some other users used my way and it works. You may read this http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgId=432989 Billy Ng >From: "Jim Conrad" <[EMAIL PROTECTED]&

RE: Run out of Memeory

2002-08-27 Thread Billy Ng
lly and startup again. When I look at the tomcat log, it has no expection logged. Do you think it is the memory issue? Billy Ng >Considering that the JVM tries to grab ~40 MB of memory as soon as it >initializes, I'm not surprised. If you run your Linux box without a >wind

Run out of Memeory

2002-08-27 Thread Billy Ng
Hi folks, I have a Linux box that has only 64MB for the beta testing of my Struts app. The app died silently after a while. I believe it runs out of memory. Would anybody tell me how much the RAM I should put? Thanks! Billy Ng

Re: Problem with Proxy Pass

2002-08-21 Thread Billy Ng
hanks! Billy Ng >From: Adrian Brown <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: Re: Problem with Proxy Pass >Date: Wed, 21 Aug 2002 12:51:47 +1000 (EST) > &

Re: Problem with Proxy Pass

2002-08-21 Thread Billy Ng
Thanks Adrain! I'm interested in learning how to work around with properties lookup. Please shoot me the info. Thanks again! Billy Ng - Original Message - From: "Adrian Brown" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>

Problem with Proxy Pass

2002-08-20 Thread Billy Ng
anybody please me how can tell Struts not to add the app name? Thanks! Billy Ng _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional co

RE: Unable to return error to jsp page

2002-08-15 Thread Billy Ng
Would you please tell me how did you get the errors in the Action? Is there a method to call? Thanks! Billy Ng >From: "Martin Cooper" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "'Struts Users Mailing

error handling in jsp

2002-08-15 Thread Billy Ng
e error_content.jsp if any eception is thrown in content.jsp is caught. Would anybody please share how you handle this, thanks! Billy Ng _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/supp

exception handling in jsp

2002-08-12 Thread Billy Ng
Hi folks, Would you anybody tell me what is the simplest way to catch the exception is thrown in the jsp file so that I can display a error page. Thanks! Billy Ng _ Join the world’s largest e-mail service with MSN Hotmail

RE: App will hang if it runs over night

2002-08-09 Thread Billy Ng
The problem is totally gone after I added the autoReconnect parameter in the mysql's url. Here is the example Billy Ng >From: [EMAIL PROTECTED] >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: RE: App will

Re: redirect

2002-07-26 Thread Billy Ng
uld you please tell me how to do it, thanks! Billy Ng - Original Message - From: "Erich Meier" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 26, 2002 3:01 AM Subject: Re: redirect > On Fri, Jul 26, 2002 at 1

Re: redirect

2002-07-26 Thread Billy Ng
I ddi try this in the struts-config.xml, it will hit the Action2's perform(). However, how can I put the query string in the path? Thanks in advance! Billy Ng - Original Message - From: "Billy Ng" <[EMAIL PROTECTED]> To: "Struts Users Mailing List"

Re: Define Pre-selected items in

2002-07-22 Thread Billy Ng
Hey, Martin! You've saved my life, thanks a million! Billy Ng - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, July 22, 2002 2:49 PM Subject: RE: Define

Define Pre-selected items in

2002-07-22 Thread Billy Ng
I have tried so many different ways to pre-selected multiple items in the tag, but no luck. Would any body please tell me how to do it, thanks! Billy

multiple selected values

2002-07-18 Thread Billy Ng
I have a html:select that enabled multiple attribute. I know I can use the 's value attribute to mark a pre-selected item. But if I have more than 1 item to be selected, what variable should I pass to the value attribute? Thanks in advance!

[off topic] how to define array to jsp

2002-07-10 Thread Billy Ng
I have a array that needs to pass from the Action page to jsp. e.g. Agent[] agents = getAgents(); session.setAttibute("agents", agent); In jsp, I try to do this, but it doesn't work Would anybody please tell how to define the array object in jsp, thanks! Billt Ng

RE: how to render query string in html:link

2002-07-05 Thread Billy Ng
It is because I need get the parameter data from a bean. I have tried something like: but it won't work. Some said I need to use the param* attributes. I know it is easy for 1 parameter, but I don't know how to use it with multiple parameters. Billy Ng >From: "Kamh

how to render query string in html:link

2002-07-05 Thread Billy Ng
Hi folks, Would anybody please provide me some sample code for how to make a link with multiple parameters in the href's url with using tag. Thanks in advance! Billy Ng _ Chat with friends online, try MSN Messenger:

query string

2002-07-02 Thread Billy Ng
I try to use the html:link tag Product 1 to render the link like Product 1 However, it becomes Product 1 What did I do wrong? What is the right way to put the query string to html:link tag? Thanks! Billy Ng _ Chat with

RE: Why Tiles?

2002-06-24 Thread Billy Ng
Sorry for my ignorance! Since Struts has the struts-template.tld, why Tiles? Billy Ng >From: "Trieu, Danny" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: 'Struts Users Mailing List' <[EMAIL PROTECTED

Re: problem!

2002-06-24 Thread Billy Ng
You may try "href" attribute instead of "page" Billy Ng >From: Struts Newsgroup (@Basebeans.com) <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: problem! >Date: Fri, 21 J

url object

2002-06-22 Thread Billy Ng
Thanks in advance! Billy Ng

Re: debug

2002-06-22 Thread Billy Ng
Never mind. I find it in the catalina.out Thanks! Billy Ng - Original Message - From: "Billy Ng" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 10:08 PM Subject: R

  1   2   >