•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 363,434 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,186 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 934 | Replies: 6 | Solved
![]() |
•
•
Join Date: Apr 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
Following is the code snippet of the JSP file which is gettting populated with all its field data when the application runs into IE7 but does not populated when using FireFox. I am using spring frame work for developing the application.
Note: This is not the complete jsp code so some <tr><td> tags may be missing or misplaced this code is only the sample to make some Idea
Please send your suggestion ASAP
Thanks,
Following is the code snippet of the JSP file which is gettting populated with all its field data when the application runs into IE7 but does not populated when using FireFox. I am using spring frame work for developing the application.
Note: This is not the complete jsp code so some <tr><td> tags may be missing or misplaced this code is only the sample to make some Idea
JSP Syntax (Toggle Plain Text)
<form:form commandName="commandName" > <table border="1" align="center" width="100%" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0"> <tr> <td> <table align="center" cellpadding="1" cellspacing="0"> <tr> <td class="labelSM" align="left" nowrap="nowrap"> <spring:message code="label.obj1.prop.type"/> </td> <td class="labelSM" align="left" nowrap="nowrap"> <spring:message code="label.obj2.property" /> </td> </tr> <tr nowrap="nowrap" valign="center"> <td class="labelSM" align="center"> <form:input path="obj1.prop" id="obj1.prop" size="3" maxLength="<%=FieldLengthConstants.CODES.BILL_TYPE_CODE %>" cssClass="fieldSM" onChange="OCED('bill', this);" onBlur="return OBED('bill', this, '');" onFocus="OFED('bill', this);" onKeyDown="return OKDD('bill', this, window.event||event);" /> </td> <td align="center"> <form:input size="2" maxLength="<%=FieldLengthConstants.CODES.LOADED_EMPTY_CODE %>" path="obj1.property" cssClass="fieldSM" id="obj1.property" onChange="OCED('bill', this);" onBlur="return OBED('bill', this, '');" onFocus="OFED('bill', this);" onKeyDown="return OKDD('bill', this, window.event||event);" /> </td>
Please send your suggestion ASAP
Thanks,
Last edited by peter_budo : Apr 30th, 2008 at 7:39 am. Reason: Keep It Organized - plase use [code] tags
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 1,782
Reputation:
Rep Power: 8
Solved Threads: 185
1) Do you have Tomcat installed on your pc?
2) That the code show in IE doesn't mean it is working correctly, use Firefox for design checking
3) What errors you getting?
2) That the code show in IE doesn't mean it is working correctly, use Firefox for design checking
3) What errors you getting?
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Mar 2008
Posts: 71
Reputation:
Rep Power: 1
Solved Threads: 5
I have tomcat, but am using bea weblogic server., and tomcat is not running.
no errors displaying in firefox, is there another tool besides firebug?
I am getting no errors, part of the jsp is not displaying, if i view the page in a separate window it is there, but not when it is view as an inlude in my index page.
My page works like this,
I have an index page, which includes (lets call in pageA.jsp) i click on a button to go to pageB.jsp, then when i click back and call the struts action for pageA.jsp the heading on that page displays, and the table but none of the fields. I am using ajax to change from pageA to pageB and back again.
At first i thought it could be html tags not closing, but that isnt the case.
no errors displaying in firefox, is there another tool besides firebug?
I am getting no errors, part of the jsp is not displaying, if i view the page in a separate window it is there, but not when it is view as an inlude in my index page.
My page works like this,
I have an index page, which includes (lets call in pageA.jsp) i click on a button to go to pageB.jsp, then when i click back and call the struts action for pageA.jsp the heading on that page displays, and the table but none of the fields. I am using ajax to change from pageA to pageB and back again.
At first i thought it could be html tags not closing, but that isnt the case.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,583
Reputation:
Rep Power: 18
Solved Threads: 186
This happens almost always due to Javascript errors and the Javascript on that page looks all messed up. Remember that IE is more forgiving and will automatically make up for your mistakes; Firefox won't. Your best bet would be to get your generated HTML validated, look for any glaring markup errors and if it still doesn't work, look at the 'Error Console' of Firefox to see if it really is your Javascript which is blowing up.
"I don't accept change. I don't deserve to live."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
beta bon browser browsers browsing development echo email encryption eu europe explorer firefox gecko gradient graphics html ie ie7 ie8 internet internet explorer internet explorer 7 internet explorer 8 javascript leak linux memory microsoft mozilla networking news open source open-source opera patch phishing scams security social software super testing users web webmail
- Previous Thread: extra bytes at the end of file
- Next Thread: Online Shopping


, i hope someone will be able to help 
Linear Mode