Re: where to put config info

2002-04-09 Thread seapwc
getInitParameter(someString) lets you access information in the web.xml file. someString corresponds to the name of the param in the web.xml. Note that there is are ServletContext and ServletConfig implementations. The ServletContext version could be used where you have values that are shared

Re: saving object

2002-04-06 Thread seapwc
I have done this with some row_id defined to be auto-insert on mysql. With auto-insert you know it will be unique but might want to make that a constraint. insert .blah blah select max(row_id) - yields the number of the last tx. row_id is just an example for your purpses. Good luck At

Re: Redirecting to a home page after form-based authentication

2002-04-05 Thread seapwc
How about this? String s = /home.html; RequestDispatcher disp = getServletContext().getRequestDispatcher(someaddress); dispatcher.forward(request,response) At 10:44 AM 4/5/02, you wrote: I want him to be redirected to home.html. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

SQL - jstl

2002-04-04 Thread seapwc
This jsp works if I explicitly set the url and driver, but I can not figure how to get values for url/driver from a context initParm into the driver setup. I have searched the archives. I have spent hours on this. I have looked at the source for the examples. I am out of paths to pursue. ERROR