Taglib / context-param question

2005-02-09 Thread Jack Lauman
I have the following code in a custom taglib. If I put the hex values of the colors in the context-param area of the web.xml file, how do you call them? color1 #FF color2 #FF ... public int doEndTag() throws JspException { Boolean alternate = (Boolean) ExpressionEvaluatorMa

JSP/JDBC question

2005-01-19 Thread Jack Lauman
I'm getting the following error when my JSP form POSTs: 17:15:23,500 INFO [STDOUT] -SQLException- 17:15:23,500 INFO [STDOUT] SQLState: 42000 17:15:23,500 INFO [STDOUT] Message: Syntax error or access violation message from server: "You have an error in your SQL syntax; check the manual t

JSTL Question

2004-11-27 Thread Jack Lauman
I'm using the following code to return results from drop down menues and user input text. It works fine as long as the text is an exact case sensitive match to the data record. What I want to do is evaluate the output the results of a user input search based on 'param.field' in figure 3. i.e. If '

taglib question

2004-11-06 Thread Jack Lauman
I have a custom taglib with a hard coded URL. I've added a 'context-param' entry to move it the web.xml file. Is 'getServletConfig().getInitParameter' the corect thing to use here or is there a better alternative? Original line: // out.println("" + i + ""); Modified line: out.println("" + i + "")

Java / MySQL Question

2004-02-11 Thread Jack Lauman
I have a table containing information about different businesses. I want to randomly select a single row from the table using a prepared statement in a java bean. (Using MySQL 4.0.17 and JBoss 3.2.2) What is the most eficient way to do this? TIA Jack ==

Formatting question

2002-11-05 Thread Jack Lauman
Is it possible to create a jsp template with two or maybe three tables containing three fields each and populate them from a SQL query with am maximum depth of 30 lines in successive order? i.e. populate the first table with 30 lines then populate the second table with the next 30 lines starting w

Application Design Help...

2002-03-12 Thread Jack Lauman
include quotes from various insurance carriers. Also, the updates are supplied as a text file need to be updated in an automated way. Any suggestion would be appreciated (see snippet below). Thanks, Jack Lauman ACCIDENT_FREE_CR= + (POLICY_ACCIDENT_FREE_PERCENT / 100

Re: Poolman (off topic)

2001-03-27 Thread Jack Lauman
You're missing the JMX package. Go to: http://java.sun.com/products/JavaManagement/ Make sure that the following (3) jars are in your poolman classpath: jmxgrinder.jar jmxri.jar jmxtools.jar Regards, Jack Gopi Mandava wrote: > > Hi, > > Has any one tried the latest PoolMan 2.0 package? I ca