Message: The following issue has been resolved as WON'T FIX.
Resolver: Mike Cannon-Brookes Date: Mon, 11 Aug 2003 3:24 AM Hi there, I don't think any of these are issues at all? Please correct me if I'm wrong. a) JSP files should never be in WEB-INF/classes - that just violates the spec. Put them under / b) Action mapping files should point directly to the JSP - nowhere else? Where are you trying to point them? c) There is no security issue here - these are JSPs and can thus be accessed? I'm not sure what you mean there. JSPs don't live under WEB-INF/classes. d) There are no JSP templates anymore, they are velocity templates (.vm) and are packaged in the WW JAR. You can override them with files in /templates/xhtml/*.vm if you want, but you are not required to. (As velocity files can be loaded from the classpath) I must apologise for any quality of support. This is an open source project and if none of the core developers use WebSphere, we have to rely on users to help us fix those bugs. Please let us know if there are any remaining bugs in WebSphere support. Cheers, Mike --------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-244 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-244 Summary: WW2 on WAS 5.0 Type: Bug Status: Resolved Priority: Major Resolution: WON'T FIX Project: WebWork Components: Actions Fix Fors: 2.0 Versions: 2.0 2.0-beta1 Assignee: Patrick Lightbody Reporter: Chandra Moulee Created: Wed, 6 Aug 2003 4:53 AM Updated: Mon, 11 Aug 2003 3:24 AM Environment: Websphere 5.0, WW2 (Release 1.3) and Studio Developer Description: Studio Developer Websphere 5.0 shows the following project-build warning!!!(in Tasks View) Broken Link - /ProjectWeb/WEB-INF/com/project/jsp/login.action - It is invalid to link to resources under the WEB-INF directory. The actions.xml or view.properties was under WEB-INF/classes directory, after the project build. When accessing the page as below, http://localhost:9080/ProjectWeb/login.action There is 404 thrown with NO exception in Console->View It seems Websphere doesNot read (or package) the view.properties or actions.xml file to WEB-INF/classes directory. Dump:login.jsp -------------- <%@ taglib uri="/WEB-INF/taglib.tld" prefix="webwork" %> <html> <head> <title>Login</title> </head> <body> <form action="login.action" method="post"> <webwork:property> <webwork:textfield label="'Name'" name="'userName'"/> <webwork:password label="'Password'" name="'password'"/> </webwork:property> <input type="submit" value="Submit"/> </form> <webwork:iterator value="errors"> <br><webwork:property/> </webwork:iterator> </body> </html> Dump:actions.xml ---------------- <actions> <action name="LoginAction" alias="login"> <view name="input">login.jsp</view> <view name="success">hello.jsp</view> </action> </actions> Dump:webwork.properties ----------------------- # WebWork configuration # See webwork/default.properties for full list of properties that # can be configured here webwork.action.packages=com.project.action # XML action configurations webwork.configuration.xml=actions # a possible extension change # don't foget that you must change # web.xml accordingly webwork.action.extension=action # if you override the extension, then you should # fix these three standard alias as well to reflect # the correct extension redirect.action=webwork.action.standard.Redirect referrer.action=webwork.action.standard.Referrer cardpane.action=webwork.action.standard.CardPane # Velocity settings # See the Velocity project (http://jakarta.apache.org/velocity/) for # more info on what settings are available # Also see webwork/default.properties in WebWork if you want # to see what defaults have been set. # Set this to your own source directory during development. # This allows you to edit the pages while the server is running without losing # the changes when you re-deploy the application. file.resource.loader.path = / LoginAction.java ---------------- package com.project.action; import webwork.action.*; public class LoginAction extends ActionSupport { private String userName; private String password; public String getPassword() { return password; } public String getUserName() { return userName; } public void setPassword(String password) { this.password = password; } public void setUserName(String userName) { this.userName = userName; } public String doExecute() throws Exception { return SUCCESS; } public void doValidation() { if (userName == null || userName.length() < 1) addError("UserName", "Please enter username."); if (password == null || password.length() < 1) addError("Password", "Please enter password."); } } Any bright ideas to make this work?. Regards Chandra Moulee --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork