File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Sun-Web.xml missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Sun-Web.xml missing" Watch "Sun-Web.xml missing" New topic

Sun-Web.xml missing

Luis Villamarin

Joined: May 24, 2012
Posts: 21

I know that this is the servlet forum but I didn't find the Glassfish/Netbeans related to this issue.

I'm currently trying to set up a secured folder with a few pages within my Java Web App to allow only registered users to access the pages in that folder.

However, while trying to do the setup/mapping of the groups I have been having the issue that the sun-web.xml is missing. I'm using Netbeans IDE.

Any ideas why this happened and how to fix it? I've done research and haven't really found a solution for the issue.

Thanks in advance
Luis Villamarin

Joined: May 24, 2012
Posts: 21

Problem solved. I had to update Netbeans to 7.2 from 7.0 and solved the issue, now I was able to add the file from add new file > Glassfish > Other > glassfish-web.xml / xml descriptor.

I agree. Here's the link:
subject: Sun-Web.xml missing
It's not a secret anymore!