| Author |
Why execute twice doGet mothed in servlet.
|
xiaojun chen
Greenhorn
Joined: Dec 17, 2002
Posts: 7
|
|
|
I using MVC formwork in UI. When Jsp file link a css file. So it will be execute twice doGet mothed in servlet. When I don't link this css file. It will be Ok. Please tell me what problem? Web container is weblogic. :roll:
|
 |
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
|
|
|
Can you show us some code?
|
"JavaRanch, where the deer and the Certified play" - David O'Meara
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
|
|
Sounds like the browser is trying to fetch the CSS file by using the servlet URL. You should either specify the full URL for the CSS or use a base tag in the <head> area specify where resources like css files etc live. Bill
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: Why execute twice doGet mothed in servlet.
|
|
|