- This topic has 11 replies, 3 voices, and was last updated 20 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
ruettimacMemberI just do the MVC webapp tutorial from the springframework. I had to add an existing Servlet from the springframeowork to the web.xml. Unfortunately, there is no wizard to do that. Sure it is easy – just read the tutorial and type it in or do it yourself. But a wizard whould just show you all possible features (Tags) you can add. Some information less to remember while doing J2EE-development.
Regards,
Cyrill
Riyad KallaMemberCyrill,
When you do New>Servlet the wizard should/will modify the web.xml file for you and add the new class after you create it. Are you working with a Web Module project?
ruettimacMemberI am working in a Web Module. But what I want to do is:
1) There is an existing Servlet, contained in a library
2) I like to use this servlet, so I have to specify the servlet in the web.xml. I do not create a new Servlet, I just use an existing Servlet out of a library.
3) With the Wizard, I can point to a library or the wizard finds all Servlet implementations in the runtime libraries. The wizard asks me about the name, mapping, url pattern …
4) The Wizard modifies web.xmlRegards,
Cyrill
Riyad KallaMemberOh I see, this is a good suggestion. Thank you!
Ronald van KuijkMemberhmm… If I were to add a new servlet to an existing project, I’d like to have the xdoclet tags for it. xdoclet nows which tags are allowed for a servlet, so all I need to do is search for all servlets… imho this is (almost) like thye requested wizzard isn’t it?
Riyad KallaMemberkukeltje,
Do you mean you want the generated servlet to include the XDoclet tags like the struts-generated classes have currently?
Ronald van KuijkMemberRiyad,
Sorry for the delayed response, I forgot to mark this thread as interesting, so I did not receive a message. And sorry for not putting my real name in the message, I have not configured my signature yet.
Now the real issue. Yes, you are right. Just look at the posts in
EDITED: Links below changed from .org in .com to get them working
https://www.genuitec.com/forums/topic/default-values-in-quot-myeclipse-xdoclet-quot/
https://www.genuitec.com/forums/topic/enhance-new-file-wizards-with-xdoclet-tags/
https://www.genuitec.com/forums/topic/servlet-wizard-generates-no-xdoclet-enhancement/ https://www.genuitec.com/forums/topic/more-intelligent-wizzards/Especially the first one, where I describe the problem in detail.
Best,
Ronald[url][/url]
Ronald van KuijkMemberAny news on the better integration of xdoclet?
Riyad KallaMemberRonald,
More polished XDoclet work will be targetted after 2.8 is out, we have a beta out in a week and a half for 2.8 and will pretty much be killing outselves until that is out the door. I re-read your original request, and it sounded more like you wanted a Servlet Wizard that uses an existing class, and doesn’t create a new one, but then down here at the bottom I noticed this turned into a more XDoclet centric request. Both are certainly possible.For some reason I can’t open ANY of those links you posted above, even when I cut-paste them into the browser (any browser at that), I get an error that “myeclipseide.comindex.php doesn’t exist”… very strange eh?
Ronald van KuijkMemberGreat to hear that, I should have created a separate xdoclet integration ‘RFE’. Maybe i’ll do that anyway (not that I don’t trust you guys 😉
I tried the links and even added [url][/url] around them but with no luck. I do however have a nice firefox plugin called livehttpheaders, which shows the following
http://www.myeclipseide.org/index.php?name=PNphpBB2&file=viewtopic&t=1183
GET /index.php?name=PNphpBB2&file=viewtopic&t=1183 HTTP/1.1
Host: http://www.myeclipseide.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040120 Firebird/0.7+
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-aliveHTTP/1.x 301 Moved Permanently
Date: Fri, 07 May 2004 22:59:45 GMT
Server: Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_python/2.7.6 Python/1.5.2 mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26
Location: http://www.myeclipseide.comindex.php?name=PNphpBB2&file=viewtopic&t=1183
Keep-Alive: timeout=5, max=10000
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1So unfortunately, it seems to be in the myeclipse server or the PNphpBB module.
Ronald van KuijkMemberAdittional info:
http://www.myeclipseide.org/index.php?name=PNphpBB2&file=viewtopic&t=1183 does not work
https://www.genuitec.com/forums/topic/default-values-in-quot-myeclipse-xdoclet-quot/ doesWatch the difference between .org and .com. Adapted the links in the post above.
Riyad KallaMemberRonald thanks for the rundown, very strange indeed… I’ll pass it along to the admin.
Also I would really appreciate it if you would create the REFs and I’ll mark them and send them to the devs so we can keep them on a TODO list. One reason for doing this is so its clear what you are asking, and isn’t up to interpretation by me or the devs, we want to get the functionality in exactly as our users need it.
-
AuthorPosts