Richard Berger

Greenhorn
+ Follow
since Feb 25, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Richard Berger

Well, I finally got around to doing some more testing on this. I deployed my application to a different JBoss server (version 4.0.3sp1 rather than 4.0.1sp1) and everything works as one would expect. Very strange indeed.
18 years ago
M. Murphy -

Don't know if you are following this thread - but THANK YOU - your research helped me out asI had the exact same problem.

Thanks,
RB
18 years ago
Merrill:

Thank you for the reply. Your approach is sound - as there must be something different about the contexts - although they are just two different JSPs inside the same application. In fact, I have two that work and one that doesn't.

Turns out that I found a way around the problem entirely, by shifting to what I think is a better UI (I hope I am not rationalizing ). But in doing that I may have discovered a subtle difference in the JSP pages. I haven't gone back to check out whether this is the cause, but I have left all the old code around so that one day I can come back and resolve the mystery.

Thanks again for the reply!
RB
18 years ago
I have spent the last several hours trying to figure out why my Struts application was not behaving correctly - the code that I have in one area works fine when initializing multiboxes, but the same code in a different area does not initialize the multiboxes correctly. I know enough to realize that if the program is behaving differently, then the code couldn't be the same. So, I copy/paste the html:multibox snippet to make sure the JSP is the same. I inspect the values being sent to make sure they are the same. Everything appears identical, except for the results. So, on a whim, I try to look at the generated java code (e.g. from the JSPs) - and the code for the html:multibox tag is different! (Differences shown below). Is this a bug or is this something that is wrong with my configuration?

I am on JBoss 4.0.1, and I think I am on Struts 1.2.

Thank you SO MUCH in advance if you can help me resolve this mystery.
RB

My JSP (in both pages) looks like:


The generated Java code is shown below - with a comment indicating the section that is missing in one of the files.

18 years ago