[ regarding jsp pages in Firefox ]

6 views
Skip to first unread message

shweta sharma

unread,
Aug 24, 2010, 6:27:51 AM8/24/10
to bo...@googlegroups.com
Hi ,
 
I am getting some problem in viewing  webApp that contains of jsp pages  in FireFox.
 
It works fine when opens with IExplorer but  if opens in FireFox  none of the buttons  works ...
css file too doesn't work at some places.
 
I tried making a jsp page with a test css file . It worked fine without <%  %> tags .
 
As soon as i  include  <% %> tags in jsp page & open it in fire Fox  i could able to see  whole  source code written on webpage.
 
Does FireFox doesn't support scriplet tags of jsp pages ?
 
If yes is there any alternative to view jsp pages with <% %> tags in FirFox.
 
Thanks in advance
 
 
 
Regards
Shweta

Chandru

unread,
Aug 24, 2010, 7:06:33 AM8/24/10
to bo...@googlegroups.com
Are you trying to view the pages without deploying them to a servlet container?

--
Chandra Sekar.S


--
You received this message because you are subscribed to the Google Groups "Bangalore Open Java Users Group- BOJUG" group.
To post to this group, send email to bo...@googlegroups.com.
To unsubscribe from this group, send email to bojug+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bojug?hl=en.

shweta sharma

unread,
Aug 24, 2010, 7:04:35 AM8/24/10
to Vikram A, bo...@googlegroups.com
Hi ,
 
I am using Tomcat 5.5 , java version "1.6.0_13" , FireFox 3.6
 
thanks & regards
Shweta
On Tue, Aug 24, 2010 at 4:26 PM, Vikram A <vikram....@gmail.com> wrote:
please have a check on version of FF and java.
FF3.6 onwards doesn't support anything less than jdk6u10.
jdk5 and 142 are totally no no.

this could be why you are seeing code as FF treats it as text.

thanks,
Vikram.

On Tue, Aug 24, 2010 at 3:57 PM, shweta sharma <shwe...@gmail.com> wrote:

Vikram A

unread,
Aug 24, 2010, 6:56:09 AM8/24/10
to shwe...@gmail.com, bo...@googlegroups.com
please have a check on version of FF and java.
FF3.6 onwards doesn't support anything less than jdk6u10.
jdk5 and 142 are totally no no.

this could be why you are seeing code as FF treats it as text.

thanks,
Vikram.

On Tue, Aug 24, 2010 at 3:57 PM, shweta sharma <shwe...@gmail.com> wrote:

shweta sharma

unread,
Aug 24, 2010, 7:45:49 AM8/24/10
to Vikram A, bo...@googlegroups.com
This doesn't seem to be the problem with jdk.
I reset pjava -version with jdk 1.5
WebApp is  compiled with jdk 1.5 & user s able to logged in successfully [ that means  class responsible to check validation is working fine ]
Now  I am able to see background images etc. in some of the pages but
buttons are not working
 
document.location.href ="pathURL"
 
is not propogating  to next page .
 
java script is enabled in FireFox .
alert is working finr .
Do i need to change style sheet accordingly ?
 
regards
Shweta


 
On Tue, Aug 24, 2010 at 4:36 PM, Vikram A <vikram....@gmail.com> wrote:
And also hopefully new generation plugin is on.

--Vikram.

Yaswanth Ravella

unread,
Aug 24, 2010, 7:02:06 AM8/24/10
to bo...@googlegroups.com
Hi, 

Scriptlets are executed on the server side . so there is no question of Firefox not supporting <%  %> tags. 

But, in ur case adding scriptlets is breaking the webpage layout, so try to debug the code written in scriplets (i.e. Mozilla Compliant). 

Hope this helps.

--
Yaswanth Ravella



On Tue, Aug 24, 2010 at 3:57 PM, shweta sharma <shwe...@gmail.com> wrote:
--

Vikram A

unread,
Aug 24, 2010, 7:06:34 AM8/24/10
to shweta sharma, bo...@googlegroups.com
And also hopefully new generation plugin is on.

--Vikram.

shweta sharma

unread,
Aug 24, 2010, 8:32:01 AM8/24/10
to bo...@googlegroups.com
Hi ,
 
Now <% %> tags is not creating any problem  but document.location.href is not forwarding page to next jsp.

Yaswanth Ravella

unread,
Aug 24, 2010, 8:43:18 AM8/24/10
to bo...@googlegroups.com
Hi, 

Vikram, 

Unless u are running Applets in your webpage, you should not worry abt the version of JRE used by the Firefox.  :) Plz correct me if i am wrong.

Shweta, 

Try to check HTML Code in the JSP Scriptlets and the corresponding style sheets used to fix Firefox Compliance. 

--
Yaswanth Ravella

Yaswanth Ravella

unread,
Aug 24, 2010, 9:13:00 AM8/24/10
to bo...@googlegroups.com
Hi, 

Did u try location.href or window.location.href  ??


--
Yaswanth Ravella

Balu

unread,
Aug 24, 2010, 9:10:26 AM8/24/10
to bo...@googlegroups.com
May be you can try window.location.href instead of document.location.href.

thanks
Balu
Thanks
-Balaji
Reply all
Reply to author
Forward
0 new messages