Results 1 to 5 of 5
  1. #1
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default How can i do struts 2 in netbeans 6.5?

    I am using Netbeans 6.5.I want to upgrade my struts 1.2 application to struts 2.0.But netbeans 6.5 support struts 1.3 only not 2.0.
    How can i do that ?
    Mak
    (Living @ Virtual World)

  2. #2
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    6

    Default

    netbeans support struts 1.. only?
    just modify your web.xml and update jar files in WEB-INF/lib/

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    At the time you can use struts 1.7(.1.1) on NetBeans 6.5 Seems to me updated version (2.0 you are talking about) for NetBeans 6.5, I've check on the IDE plugins and couldn't find any updates.

  4. #4
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default

    I did as mtyoung said here.
    But while i bulid my project it builds fine.i got war file too.But as i run the application i got error like service() not found.I have tried more time.I didnot get yet it.
    Mak
    (Living @ Virtual World)

  5. #5
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    6

    Default

    for me, ide is the tool to create war file, i will deploy it using glassfish GUI admin console...
    it should be same as deploy by netbeans...

    service() not found... throw at index page of your web application or after you request to some action?

    have you add struts.xml to src/(which should be WEB-INF/classes after created war file)?
    Last edited by mtyoung; 05-07-2009 at 10:32 AM.

Similar Threads

  1. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 05:33 AM
  2. integrate EJB with Struts in NetBeans
    By Aseem in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 03-24-2009, 02:01 AM
  3. new to struts with netbeans IDE
    By rmc_chennai in forum NetBeans
    Replies: 0
    Last Post: 03-04-2009, 08:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •