Hi: In general URL will not change. if the URL written in Bean it's not convinient to change the URL and recompile it. I wonder if we can build methods setURL or getURL so we can connect to URL like the method of strings in jsp page like: public void setUsername( String name ) { username = name; } public String getUsername() { return username; } Any one has helpful suggestion? Alan __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets