aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Servlet version in NETBEANS IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Servlet version in NETBEANS IDE" Watch "Servlet version in NETBEANS IDE" New topic
Author

Servlet version in NETBEANS IDE

Deepshan Shetty
Greenhorn

Joined: May 28, 2012
Posts: 28
Hi

Can anyone help me how to change the servlet version in NETBEANS IDE?

Regards
S V Shetty
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Deepshan Shetty wrote:Hi

Can anyone help me how to change the servlet version in NETBEANS IDE?

I'm not sure what the question means. Do you mean you want to change the web-app version? If yes, then it has nothing to do with the IDE. It can be set in the web.xml's xsd declaration.

[My Blog] [JavaRanch Journal]
Deepshan Shetty
Greenhorn

Joined: May 28, 2012
Posts: 28
Ok..

How do i do it in web.xml?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Here's an example:


which uses 2.5 version of web-app. But you should really check what version you want and then use the correct xsd declaration.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Here are various web.xml fragments for various servlet versions:
http://dominikdorn.com/2010/03/web-xml-web-fragment-xml-2-3-2-4-2-5-3-0/


JBoss In Action
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

Peter Johnson wrote:Here are various web.xml fragments for various servlet versions:
http://dominikdorn.com/2010/03/web-xml-web-fragment-xml-2-3-2-4-2-5-3-0/


Note that this isn't "NETBEANS IDE" related. NetBeans is just the development environment. What's important is the project itself. When the project goes into production, NetBeans won't be there.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet version in NETBEANS IDE