History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-5379
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Nikolay Chashnikov
Reporter: Alexander Strotzky
Votes: 0
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Warn if using JSF with an application server that does not implements Servlet 2.5 and JSP 2.1

Created: 12 Mar 08 11:40   Updated: 09 Apr 08 11:59
Component/s: Code Analysis. Inspection, J2EE, J2EE.JSF
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,744
Severity: Medium


 Description  « Hide
If one uses JavaServer Faces 1.2 with JSP as a view technology, the requirements for the application server are as follows:
  • Servlet 2.5
  • JSP 2.1

MyFaces: http://myfaces.apache.org/faq.html#a2
JSF RI has similar requirements.

Tomcat 5 does not have support for any, so when deploying on it, odd errors/exceptions happen.

Note that this only applies when using JSP as the view technology (e.g. I CAN use facelets with Tomcat 5).

What I propose is the following:

When creating a run configuration and:

  • the run configuration is for deploying a web facet on a server
  • some JSPs that contain the f:view JSF tag will be deployed
  • a JSF facet is present in the module to deploy
  • the server does not support Servlet 2.5 and JSP 2.1

Then warn that this will not work and will result in odd exceptions (because of the requirements of using JSF 1.2 with JSP).



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.