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.

Bug 98039 - Page Navigation editor doesn't let me navigate to a servlet
Summary: Page Navigation editor doesn't let me navigate to a servlet
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Joelle Lam
Depends on:
Reported: 2007-03-15 21:47 UTC by rdelaplante
Modified: 2007-08-24 20:13 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description rdelaplante 2007-03-15 21:47:12 UTC
I want a navigation case to forward or redirect the user to a servlet which
loads and outputs a PDF.  There's no way for me to drag/drop a navigation case
link to a servlet.  

If I edit the XML manually and make it point to a servlet, the visual editor
displays the servlet page name as "ERROR".  

I've noticed that the navigation case will only work if I add <redirect/> to it.
Comment 1 rdelaplante 2007-03-15 21:48:48 UTC
When I said the navigation case will only work when I add <redirect/> to it, I
meant for a user in the web browser.  The visual editor still displays ERROR for
the servlet.
Comment 2 rdelaplante 2007-03-19 21:37:36 UTC
I noticed that when JSF navigates to the servlet, it puts /faces/ in front of
the servlet.  My servlet still executes, but doesn't behave normally.  

My servlet loads a PDF file from disk and outputs it.  For some reason when it
has /faces/ in front of the servlet, the PDF that gets output is blank.  When
there is no /faces/ in front of the servlet, it outputs the file.  My problem to
deal with...
Comment 3 Peter Zavadsky 2007-03-22 21:45:31 UTC
Passing to the owner.