• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

A basic problem

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Adeel,
i just noticed one thing.
I am using NetBeans IDE 4.1 and when i run the project from there, the startup page is Login.jsp

but when i type the address http://localhost:8080/HackersBank
the startup page is setup.jsp!!
Is it a problem with the IDE ?
 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check whether the web.xml file you want to work with is the same which is refered by the web server.
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So you were doing from inside IDE. It means it is working fine outside IDE with any browser?

Yes it might be because of the IDE. You can explore your IDE yourself to find this out. Or you can post a question here at IDE forum. But please mention that you are trying to do within the IDE.

[Edited]
I have never done with the NetBeans.
[ February 24, 2006: Message edited by: Adeel Ansari ]
 
S bitz
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
It is working fine when i use outside the IDE. I will post this in the IDE section, but thanks for all the information and help.

Thanks,
Bitz
 
S bitz
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator



Check whether the web.xml file you want to work with is the same which is refered by the web server.



How do i determine this?
 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make your web.xml invalid or non well formed & check whether you are getting error
 
S bitz
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I tried making my web.xml non wel formed but it does not work and tried to run it from the IDE, but it shows a run time error.


Thanks,
Bitz
 
reply
    Bookmark Topic Watch Topic
  • New Topic