User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 329,483 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,198 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: 416 | Replies: 6 | Solved
Reply
Join Date: Apr 2008
Posts: 1
Reputation: to.prakashg is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
to.prakashg to.prakashg is offline Offline
Newbie Poster

Same JSP is populated in IE7 but not in Firefox

  #1  
14 Days Ago
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


  1. <form:form commandName="commandName" >
  2. <table border="1" align="center" width="100%" cellpadding="0" cellspacing="0">
  3. <tr>
  4. <td colspan="2">
  5. <table align="center" cellpadding="0" cellspacing="0">
  6. <tr>
  7. <td>
  8. <table align="center" cellpadding="1" cellspacing="0">
  9. <tr>
  10. <td class="labelSM" align="left" nowrap="nowrap">
  11. <spring:message code="label.obj1.prop.type"/>&nbsp;
  12. </td>
  13. <td class="labelSM" align="left" nowrap="nowrap">
  14. <spring:message code="label.obj2.property" />&nbsp;
  15. </td>
  16. </tr>
  17. <tr nowrap="nowrap" valign="center">
  18. <td class="labelSM" align="center">
  19. <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);" />
  20. </td>
  21. <td align="center">
  22. <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);" />
  23. </td>

Please send your suggestion ASAP
Thanks,
Last edited by peter_budo : 12 Days Ago at 7:39 am. Reason: Keep It Organized - plase use [code] tags
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 32
Reputation: Thirusha is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 2
Thirusha Thirusha is offline Offline
Light Poster

Re: Same JSP is populated in IE7 but not in Firefox

  #2  
13 Days Ago
I too have a similar problem, i can see the code in the source it is just not visible, and i have no clue why , i hope someone will be able to help
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 1,549
Reputation: peter_budo will become famous soon enough peter_budo will become famous soon enough 
Rep Power: 8
Solved Threads: 149
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Posting Virtuoso

Re: Same JSP is populated in IE7 but not in Firefox

  #3  
12 Days Ago
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?
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.
Reply With Quote  
Join Date: Mar 2008
Posts: 32
Reputation: Thirusha is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 2
Thirusha Thirusha is offline Offline
Light Poster

Re: Same JSP is populated in IE7 but not in Firefox

  #4  
12 Days Ago
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.
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,309
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 17
Solved Threads: 169
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Same JSP is populated in IE7 but not in Firefox

  #5  
12 Days Ago
Most likely your html is not valid, and IE and FF deal with those errors differently, with IE being more successful at it than FF.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 6,610
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 21
Solved Threads: 297
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Rebellion Revamped

Re: Same JSP is populated in IE7 but not in Firefox

  #6  
11 Days Ago
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."
Reply With Quote  
Join Date: Mar 2008
Posts: 32
Reputation: Thirusha is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 2
Thirusha Thirusha is offline Offline
Light Poster

Re: Same JSP is populated in IE7 but not in Firefox

  #7  
7 Days Ago
Thanx for the help, i have solved my problem, it was the form tags inside the table tag, so i moved my form tag above the table tag, and now it displays perfectly.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Marketplace (Sponsored Links)
Thread Tools Display Modes

Other Threads in the JSP Forum

All times are GMT -4. The time now is 6:36 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC