chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
Matthew Phillips
Originally posted by Sharon Cowling:
My directory structure is:
D:\Apache Tomcat 4.0\webapps\myproject\
META-INF
WEB-INF
index.jsp
submit.jsp
Matthew Phillips
Originally posted by Sharon Cowling:
Hi,
I'm going to try this example:
http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp#struts
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by Jeff Born:
Thomas I have a small war file that I would like to email with everything. Should I do that or just add all the files?
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by Jeff Born:
Well I thought I was done... I have successfully displayed the LoginView.jsp I have even stepped into some of the code via Eclipse 2.0 with a Tomcat plugin. However my login bean object seems to be disappearing. I can step through the LoginBean's setParameters. I can see admin being set to both parameters. However when I get to the validate method userId and passWord are no longer set. Both are null and I receive a NullPointerException when stepping over (!userId.equals(passWord)) I get this error when running from both the Eclipse workbench and from starting Tomcat 4.1 from the services control panel.
On a side not Eclipse 2.0 stepped correctly the first time through the application. On subsequent debugging attempts F6 put me back into run mode, not step over? Anyone see this behavior?
Matthew Phillips
I had fixed that but then somehow managed to save the old one back to the server. :roll: Anyway, it's fixed again.Originally posted by Matthew Phillips:
Check your LoginBean code to see if the data type is listed for the variables in the setParameters method. If it is, remove it so that it will set the instance variables instead of setting the variables as local variables.
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
What a show! What atmosphere! What fun! What a tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|