Intellij 6 - servlets
Hi,
I used to use IntelliJ (version 3) a few years back, and got on with it very well. I'm now looking at the latest version (6.04), evaluating it for my team, and I'm creating a new project using Tomcat and servlets.
I had some real problems in getting it all working (specifically getting the servlet-mappings all correct). I stumbled on to a page where there was 2 tabs at the bottom of the screen, and when I selected the right hand one, I was presented with what looked like 4 JTables - 2x2, where I could enter this info. I closed the window and can't find it any more - can anyone guess from what I've said above where I should be looking? The documentation seems a bit "lacking" to me - not sure if I'm just looking in the wrong place?
I renamed a few files and not my web.xml is totally corrupt (tags corrupted, split over multiple lines etc), the wizard seems pretty unintuative to someone coming to the IDE from afresh. Is this different in version 5? Should I consider going back to version 5, or is it all the same codebase, so I'll experience the same problems?
Many thanks
Dave.
请先登录再写评论。
Project View, JavaEE structure, double-click on your Web module name.
Could you provide some more details? Did you get any exceptions? Which
tags exactly are corrupted?
Hi Peter,
thanks for the help - that screen was indeed the one I was looking for. I think I'd expect a double-click to do something which was on the right-click context menu, but now I know, thanks.
Here is my corrupted web.xml (this is a cut & paste from IntelliJ). I don't know what I did to get it to this state, so I'm not sure I can be a whole lot more help unfortunately. If I get time I'll recreate the project from scratch and see if I can reproduce the steps necessary to causing this:
descri ption vlet>Servlet99com.test myNamevalue 0test.upload.Servlet99Use this servlet to upload p hotos vlet>Servletcom.one 0testtest.upload.Servlet0/servlet-c lass> PhotoUploadServlet /servlets/PhotoUpload ]]>
It is in the right-click menu, called Edit. But only in JavaEE structure
view.
Would be very nice