beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Johnson (JIRA)" <>
Subject [jira] Updated: (BEEHIVE-228) Controller with JSPs behaving differently than Controller in WEB-INF/src.
Date Wed, 02 Feb 2005 15:56:18 GMT
     [ ]

Jeremiah Johnson updated BEEHIVE-228:

    Priority: Trivial  (was: Major)

Changing the priority to trivial since it is a known issue beyond the scope of Beehive.  This
information should make it into some documentation in order to close the bug.

Struts has this same issue.  Take a look here for some more details:

- jeremiah

> Controller with JSPs behaving differently than Controller in WEB-INF/src.
> -------------------------------------------------------------------------
>          Key: BEEHIVE-228
>          URL:
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>  Environment: I wrote the sample on Fedora Linux deploying to Tomcat 5.0.25.
>     Reporter: Jeremiah Johnson
>     Priority: Trivial
>  Attachments: BEEHIVE-228.tar
> If I put Controller.jpf in the same directory as my JSP and specify Controller.jpf before
index.jsp in the welcome-file-list of web.xml, then the begin action on Controller.jpf is
used; on the other hand, if I put Controller.jpf or in WEB-INF/src, then Controller.jpf
if skipped over in the welcome-file-list.  I expected Controller.jpf to still be used.
> I will attach a sample application to demonstrate my concern.  Here is the structure
of the file:
> index.jsp - just links to good and bad directories
> good/Controller.jpf - begin is simple action forwarding to nonindex.jsp
> good/index.jsp - this should not be seen as welcome because of welcome-file-list
> good/nonindex.jsp - should be what the user sees with URL of <contextRoot>/good/
> bad/index.jsp - this is the second option in the welcome-file-list
> bad/nonindex.jsp - this is what I expected to see based on my controller
> WEB-INF/web.xml - contains the welcome-file-list shown below
> WEB-INF/src/bad/Controller.jpf - same controller source as good/Controller.jpf
> The relevant contents of web.xml:
>     <welcome-file-list>
>         <welcome-file>Controller.jpf</welcome-file>
>         <welcome-file>index.jsp</welcome-file>
>     </welcome-file-list>
> - jeremiah

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message