File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes A basic problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "A basic problem" Watch "A basic problem" New topic
Author

A basic problem

S bitz
Ranch Hand

Joined: Jan 20, 2006
Posts: 80
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 ?
nishwas mahindra
Ranch Hand

Joined: Dec 23, 2002
Posts: 104
Check whether the web.xml file you want to work with is the same which is refered by the web server.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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

Joined: Jan 20, 2006
Posts: 80
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

Joined: Jan 20, 2006
Posts: 80


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?
Shrinivas Mujumdar
Ranch Hand

Joined: Aug 27, 2004
Posts: 328
Make your web.xml invalid or non well formed & check whether you are getting error
S bitz
Ranch Hand

Joined: Jan 20, 2006
Posts: 80
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A basic problem