This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Create new web application, open properties, section "run". By default second option is selected for URL to be opened, "page". Value is "/index.html". "Resulting URL" in the bottom of the page is: http://localhost:8019/index.html When application is started URL used is: http://localhost:8019//webapplication/index.html So, "resulting URL" shown in project properties is wrong. Also, there is extra "/" in real URL. Build used is #137.
*** Bug 178433 has been marked as a duplicate of this bug. ***
This issue affects HttpSession functionality in web applications. E.g. if you have a servlet with the following code in doGet: public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); try { out.println("<html><head><title>WebApplication1</title></head>"); out.println("<body><h1>WebApplication1</h1>"); HttpSession session = request.getSession(); out.println("Session ID: " + session.getId()); out.println("</body></html>"); } finally { out.close(); } } and run your web application from NetBeans (Servlet option is chosen on Run tab of Project Properties) then each time you refresh a web page with URL: http://localhost:8025//webapplication1/webapplication1 new sessionID will be displayed. This means that you can't save any attributes in HttpSession object. Otherwise if you manually type correct URL: http://localhost:8025/webapplication1/webapplication1 then sessionID will be the same after each Refresh action.
Reassigning a bunch of bugs still assigned to me - I haven't worked for Oracle in almost a year.
Uy... I *am* the default assignee for javacard...
fixed in http://hg.netbeans.org/profiler-main/rev/96320b449f54
Integrated into 'main-golden', will be available in build *201204250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/96320b449f54 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #178664: Fixing computation of URL for JavaCard WebProject properties