Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ntupuri
Post subject: creating servlet and deploying it as a war  PostPosted: Jul 10, 2008 - 10:41 AM



Joined: Jul 10, 2008
Posts: 2

*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.0 GA
Build id: 6.5.0-GA-20080609

I am pretty new user to eclispe.

I am trying to create a webproject which includes a servlet and plan to enclose it as a war.
So,I clicked on File and created a new webproject.After that I tried to create a servlet and it asked me to enter "enclosing type".I put war there and it showed me an error saying that "Enclosing type does not exist".also I do not see anything in the browse section of that Type.Because of this error not able to finish creating the servelt.
I could not find a related documentation to do this.
There is one document to show using xdoclet....but didn't help much.
Appreciate the response.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: creating servlet and deploying it as a war  PostPosted: Jul 10, 2008 - 03:04 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Leave the Enclosing type unchecked and don't enter any values in that test box. After you have added you servlet to the web project, the web project would be deployed as a war along with the servlet.

Please refer to the web project documentation on how to deploy a web project.
http://www.myeclipseide.com/documentation/quickstarts/webprojects/

Let me know if you are still unclear with this bit.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
ntupuri
Post subject: RE: creating servlet and deploying it as a war  PostPosted: Jul 10, 2008 - 04:57 PM



Joined: Jul 10, 2008
Posts: 2

If I don't enter anything it is not showing me the next/finish.I cannot move forward.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: creating servlet and deploying it as a war  PostPosted: Jul 10, 2008 - 05:38 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

When you use the servlet wizard, you have to enter the source folder and the Name of the servlet and that should enable the Next Button.

Can you take a screnshot of the Servlet Wizard with the values keyed in and post it here for me.

p.s. You can hit the post reply button at the bottom of the page to upload the screenshot.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits