- This topic has 7 replies, 3 voices, and was last updated 17 years, 5 months ago by rangasamy.
-
AuthorPosts
-
ivanachukapawnMemberI followed the struts quickstart documentation and encountered the following problems:
#1. In the running the demo section
In the browser’s address bar, enter http://localhost:8080/StrutsLoginDemo/userLogin.jsp to activate the example application, as shown in Figure 30.
following this link results in a URL from the JSF tutorial.
#2. unexpectedly, the userLogin.jsp is in a forms directory
Riyad KallaMemberfollowing this link results in a URL from the JSF tutorial.
I don’t understand this comment, please clarify.
#2. unexpectedly, the userLogin.jsp is in a forms directory
The default location is /forms, but if you re-read the quickstart guide, we placed the JSPs in the root of the project /userLogin.jsp and /userLoginSuccess.jsp
ivanachukapawnMember#1 the link in the documentation http://localhost:8080/StrutsLoginDemo/userLogin.jsp
is not in fact a link to StrutsLoginDemo/userLogin.jsp – it is a link to its counterpart in the JSF demo.
#2. the documentation should make mention of the fact that the default is /forms – this needs to be pointed out in the documentation so that the user can modify it to /userLogin.jspThere is a 3rd problem. I followed the tutorial exactly but get a 500 when testing. the root cause displayed is
javax.servlet.ServletException: Cannot retrieve mapping for action /login
ivanachukapawnMemberThe last time I created and ran this project, I got a different response running the demo – i.e.
org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
Riyad KallaMemberPlease specify which guide you are reading, I double checked your comments the first time against the one available under our Documentation section and didn’t see either of the problems you are talking about.
ivanachukapawnMemberStruts Quickstart – Last Revision:January 26, 2006
ivanachukapawnMemberrkalla,
I’ve probably built this project from the tutorial a dozen times. The last two times everything worked fine. I must have been making some mistakes in the initial tries. I apologize for putting you through any effort in trying to solve my problems. I think the Struts designer feature is very good, and I appreciate MyEclipse and your support.
Thanks,
John Davis
rangasamyMember@ivanachukapawn wrote:
The last time I created and ran this project, I got a different response running the demo – i.e.
org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
-
AuthorPosts