Re: New to JSP world
- From: "isamura" <nospam@xxxxxxxxxx>
- Date: Wed, 2 Nov 2005 11:07:24 -0500
"bill" <captain_gni@xxxxxxxxx> wrote ...
: Hi all,
:
[snip]
: I have
: a simple form. Call it form #1 which contains a textfield for an e-mail
: address and a submit button. I use form #1 to connect to a db2 database
: via a supplied java based API that was written by my company. This API
: then returns some XML about the person attached to that e-mail address.
: If the e-mail address is not found I need to redirect to an eror page.
: If the e-mail address IS found in the database, I need to strip out
: just the e-mail address, put it into some kind of variable and redirect
: the user to another form (Form #2) populating the e-mail field in Form
: #2 with that same e-mail address. What techniques should I be looking
: into to learn what I need to know? If it were php and mySql I could
: have had the project finished in the length of time ot took me to write
: this post lol. Thanks All!
:
I assume you need to write the form-action handler to process the submit button action. In that
case, you have two options:
1. Servlet
2. Scriptlet
I personally prefer Servlet over Scriptlet because I want to keep java code separate from the jsp.
..K
.
- Follow-Ups:
- Re: New to JSP world
- From: bill
- Re: New to JSP world
- References:
- New to JSP world
- From: bill
- New to JSP world
- Prev by Date: Re: Mindprod.com news
- Next by Date: <projection> tag issues with J2SE 1.5
- Previous by thread: New to JSP world
- Next by thread: Re: New to JSP world
- Index(es):