drilling into html header reveals whole web page

24 views
Skip to first unread message

mlb1141

unread,
Oct 15, 2011, 3:10:00 PM10/15/11
to fir...@googlegroups.com

I am a firebug newbie and I created a web page that was not what I expected
so I got into Firebug but when I looked into the html tab and hit the plus
sign by the head tag it showed me the entire html of the web page. I am
sure I am doing something stupid but I do not know what it is.
--
View this message in context: http://old.nabble.com/drilling-into-html-header-reveals-whole-web-page-tp32658965p32658965.html
Sent from the FireBug mailing list archive at Nabble.com.

Sebo

unread,
Oct 15, 2011, 5:31:58 PM10/15/11
to fir...@googlegroups.com
Can you give us the link to that website? Otherwise we won't be able to tell you what's wrong.
Which version of Firebug and Firefox are you using?

Sebastian

mlb1141

unread,
Oct 15, 2011, 9:37:04 PM10/15/11
to fir...@googlegroups.com

Sebo

unread,
Oct 16, 2011, 6:24:56 AM10/16/11
to fir...@googlegroups.com
According to your screenshot it looks like the call to your styles.css returns the XHTML page again. This could be a problem on the server side. My first question is: Is the page styled correctly?
Also please check the request to the CSS file inside the Net panel. The contents of the CSS file are shown inside the Response tab of the request.
If that contents are the same as shown inside the HTML panel, then this is probably a problem on your server. If not, please follow the steps described at I found a Firebug bug!. After that the problem will either be solved or (in case it's really a bug in Firebug) you should be able to create a reproducible test case, so we can fix it.

Thanks!

Sebastian

mlb1141

unread,
Oct 25, 2011, 4:38:48 PM10/25/11
to fir...@googlegroups.com


mlb1141 wrote:
>
> I am a firebug newbie and I created a web page that was not what I
> expected so I got into Firebug but when I looked into the html tab and hit
> the plus sign by the head tag it showed me the entire html of the web
> page. I am sure I am doing something stupid but I do not know what it is.
>

--
View this message in context: http://old.nabble.com/drilling-into-html-header-reveals-whole-web-page-tp32658965p32719987.html

mlb1141

unread,
Oct 25, 2011, 4:47:19 PM10/25/11
to fir...@googlegroups.com

Sebastion, when I looked at the net/css tab it showed the whole xhtml file.
So you are saying the problem is "in the server". Would you please
elaborate on that. I am using java ee 6 and if I remove my
'security-constraint' section out of my web.xml, the web page displays with
styling. I have looked at my web.xml until I am seeing spots but nothing
looks wrong to me. Where should I look "in the server"? Thanks.

--
View this message in context: http://old.nabble.com/drilling-into-html-header-reveals-whole-web-page-tp32658965p32720021.html

Sebo

unread,
Oct 26, 2011, 1:42:29 AM10/26/11
to fir...@googlegroups.com
Sebastion, when I looked at the net/css tab it showed the whole xhtml file.
So you are saying the problem is "in the server".  Would you please
elaborate on that.  I am using java ee 6 and if I remove my
'security-constraint' section out of my web.xml, the web page displays with
styling.
So it sounds like it is really a problem on the server. So in the case you leave out the <security-constraint> you also see the CSS in the HTML and Net panel, right?
 
I have looked at my web.xml until I am seeing spots but nothing
looks wrong to me.  Where should I look "in the server"?  Thanks.
Unfortunately I am not familiar with Java EE, but as you say it must be related to the <security-constraint>. From an unknowing person's view I'd say, that it could be related to your <url-pattern>. But again, I don't know about Java EE, so I can't help you here.

Maybe somebody else can give you more info, if you can post a publicly accessible test case. Maybe screenshots of the CSS file request headers (inside the Net panel) with and without <security-constraint> could clarify this issue a bit.

Sebastian

PS: Please note, that I linked the HTML and Net panel above to our wiki, if you need more info about them.
Reply all
Reply to author
Forward
0 new messages