• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP tag stops struts learning

 
Ranch Hand
Posts: 285
2
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have implemented a simple login concept using Struts in Netbeans. login.jsp is the login view page. I follow the below Tutorial from Netbeans Getting started Netbeans Struts. When we run this I get below error from Web browser. I follow from the tutorial and struck here. I investigated and the tag seems to be fine. Anyting wrong here. Please give me a helping hand.

org.apache.jasper.JasperException: An exception occurred processing JSP page /login.jsp at line 24



[/size]

Thank you
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You created the ActionForm class, right?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't use Struts 1 if you can at all avoid it: It's dead. There are much better and easier to use frameworks out there.
That said, I tried going through the tutorial you linked to and it appears to work for me.  If you don't see anything obvious rereading the tutorial, post your source code and the complete stack trace of the error you are seeing.
 
Mohammed Sardar.
Ranch Hand
Posts: 285
2
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"There are much better and easier to use frameworks out there."

When you say shall I start learning Spring MVC or Struts 2.x ? Would that worth ? Guidance needed please. Thank you for your time and effort....
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ideally, you would make that decision by examining your requirements and choosing the framework that best matches them.  Alternatively, you could search and see what the internet says.  Looking at activity the Code Ranch, it appears Spring MVC is the most popular Java web framework at this time.  
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Joe, did you mean "Spring MVC"? I don't see Swing as being a web framework at all.
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Joe, I think you meant Spring MVC. Swing is a desktop GUI, not a web GUI.

Struts 2 just had a severe security alert issued, so it's a good idea to make sure that you have the latest security fixes. Then again, the security of any J2EE webapp that implements a user-defined login process is about equal to that of a wet Kleenex even for advanced users.

I really wish that web framework textbooks would stop using user-defined logins as examples. J2EE has a perfectly good (and much) more secure login system of its own.  
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:Joe, did you mean "Spring MVC"? I don't see Swing as being a web framework at all.



Yes, corrected.
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic