1. JSTL 1.1.2 from apache.org on all systems
2. EL is enabled. ${param.login } prints out the entered login in the code above (if I comment out the future forwards)
3. MySQL connector 3.1.13 and 3.1.12 before. I upgraded jdbc drivers as one of the first steps in troubleshooting. Nothing in the update seemed to apply to me, but I did it anyway since it is easy.
4. I checked jBoss 4.0.4 release notes, but did not upgrade that. Again, nothing in the release notes would help my problem and it is a bit harder of an upgrade. I figrue I will switch to whatever the latest jBoss version is when I go "live", I will do one upgrade then.
5. I only have the one Db setup in MySQL and again, the query works when hardcoded or entered via mysql client. I am confident it works just fine.
web.xml
That is straight out of one of my textbooks. Probably O'Reiley's JSP 3rd edition, but maybe HF: S&J.
I will try the scripting example to see if I get different results. That is something I did not think of before.
As for SQL on jsp, I agree they should be separate. Please keep in mind that I am just a newbie
SCJP type guy and this is my first real java project. All of the other coding has been for book examples and seldom more than one page. I get about 4-6 hours a week to work on this in my spare time and 80% of that is trying to remember where I left off. It is for fun and learning. If I really like Java, I might try it for a career, but right now it is a hobby.
Maybe using jBoss makes it seem like I know more, but I chose that simply because I thought it would be good to learn since I plan to study J2EE/EJB later on. I used
tomcat some before, but why not try to learn more? I really like jBoss now that I have it working.
Anyway, I think a bit of SQL in my jsp is OK for now. I have some tables that do the same thing. I just manually enter the data into the database with open office database.
FWIW, my "plan" with the project is to use SQL in jsp for retrieval queries only. I plan to make a SQL utility class (or several) for actually changing data in the database. I want to do some basic sanity checks before entering it. I don't even have my hiking boots for crossing that river yet.
The answer may be that there is just some weird quirk that I will never figure out.
EDIT: Thanks for the good replies. Maybe not the answer I need, but you have me digging for the answer again. That ain't a bad thing.
[ June 21, 2006: Message edited by: Will Fleming ]