facebook

[Closed] Struts Quickstart problems

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #245278 Reply

    I 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

    #245339 Reply

    Riyad Kalla
    Member

    following 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

    #245371 Reply

    #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.jsp

    There 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

    #245380 Reply

    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

    #245385 Reply

    Riyad Kalla
    Member

    Please 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.

    #245389 Reply

    Struts Quickstart – Last Revision:January 26, 2006

    #245393 Reply

    rkalla,
    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

    #271801 Reply

    rangasamy
    Member

    @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

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: [Closed] Struts Quickstart problems

You must be logged in to post in the forum log in