aspose file tools*
The moose likes Servlets and the fly likes Why execute twice doGet mothed in servlet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Why execute twice doGet mothed in servlet." Watch "Why execute twice doGet mothed in servlet." New topic
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: 12821
    
    5
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Why execute twice doGet mothed in servlet.