| | |
Same JSP is populated in IE7 but not in Firefox
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Apr 2008
Posts: 1
Reputation:
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 8:39 am. Reason: Keep It Organized - plase use [code] tags
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)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
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.
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.
![]() |
Other Threads in the JSP Forum
- Previous Thread: extra bytes at the end of file
- Next Thread: Online Shopping
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web





, i hope someone will be able to help

