According to optimal foraging theory, spiders should adapt their web building to environmental variations. Until now, there was no data on the influence of simultaneous information coming from different environmental factors on web building behaviour. Under laboratory conditions, we studied the behaviour of Zygiella x-notata in the presence of prey, conspecifics, or both simultaneously. There was a stimulating effect of prey, but web building was not affected by the presence of conspecifics. When spiders and prey were present simultaneously, the effect was similar to that of prey alone; it seemed that there was no interactive influence of both factors. We discussed about the use of environmental information by spiders in foraging behaviour.