Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Call a method from JSP without scriplets

843838Nov 28 2006 — edited Nov 29 2006
Using plain JSP, is there a way to pass inputted values as arguments of a method (of perhaps a bean or utility class) and send it off? Or is this only something that can be done with JSF's backing beans or Struts or some other framework?

An example is a login page that accepts a username and password. How could you actually send those values off somewhere to be checked whether they are correct without having scriplets in the page?

Perhaps tag handlers could do the trick? But is there a way to put something in the "action" attribute of the form element, like in JSF/Struts?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2006
Added on Nov 28 2006
1 comment
45 views