Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2009, 12:05 PM
makpandian's Avatar
Senior Member
 
Join Date: Dec 2008
Location: Chennai
Posts: 253
Rep Power: 2
makpandian is on a distinguished road
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)
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 05-06-2009, 05:40 PM
Senior Member
 
Join Date: Dec 2008
Location: Hong Kong
Posts: 473
Rep Power: 2
mtyoung is on a distinguished road
Default
netbeans support struts 1.. only?
just modify your web.xml and update jar files in WEB-INF/lib/
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-07-2009, 04:55 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,449
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-07-2009, 08:30 AM
makpandian's Avatar
Senior Member
 
Join Date: Dec 2008
Location: Chennai
Posts: 253
Rep Power: 2
makpandian is on a distinguished road
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)
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-07-2009, 11:09 AM
Senior Member
 
Join Date: Dec 2008
Location: Hong Kong
Posts: 473
Rep Power: 2
mtyoung is on a distinguished road
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 11:32 AM.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
decorator.jsp problem building Struts Menu in JSP when Struts action is used dkirvan JavaServer Pages (JSP) and JSTL 2 07-10-2009 09:55 AM
integrate EJB with Struts in NetBeans Aseem Enterprise JavaBeans 0 03-24-2009 03:01 AM
new to struts with netbeans IDE rmc_chennai NetBeans 0 03-04-2009 09:07 AM
Struts 1 vs Struts 2 (II) JavaForums Java Blogs 0 01-16-2008 06:51 PM
Struts 1 vs Struts 2 (I) JavaForums Java Blogs 0 01-16-2008 06:51 PM


All times are GMT +2. The time now is 12:00 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org