M
milkyway
Hello all,
I am a newbie to struts and was in the process of putting something
together. From what I can see, one would turn an HTML page to a .jsp
page and use the tag libraries to convert what is written in HTML to
something "strut-like"?
I have a lot of HTML code with me. Do I *have* to use the tag libs for
the HTML controls or can I just use them for the ones that will be
going back to the server (i.e. going to the container with
request.setXXX, session.setXXX, application.setXXX, etc.)?
I was using struts because it seems (at least it is advertised) that
validation can happen if it is used.
For example, if I have an entry field whose value will be sent to a
javascript function and then sent to a second field on the screen. The
second field (with the correct data) is the one that should go back to
the server.
Given that that is the case, should I just use a taglib on the second
field and not the first - since the second one is the one that will go
to the server? The rest of the page can be just regular, old, plane,
jane HTML.
Can someone provide some insight?
Kindest Regards.
I am a newbie to struts and was in the process of putting something
together. From what I can see, one would turn an HTML page to a .jsp
page and use the tag libraries to convert what is written in HTML to
something "strut-like"?
I have a lot of HTML code with me. Do I *have* to use the tag libs for
the HTML controls or can I just use them for the ones that will be
going back to the server (i.e. going to the container with
request.setXXX, session.setXXX, application.setXXX, etc.)?
I was using struts because it seems (at least it is advertised) that
validation can happen if it is used.
For example, if I have an entry field whose value will be sent to a
javascript function and then sent to a second field on the screen. The
second field (with the correct data) is the one that should go back to
the server.
Given that that is the case, should I just use a taglib on the second
field and not the first - since the second one is the one that will go
to the server? The rest of the page can be just regular, old, plane,
jane HTML.
Can someone provide some insight?
Kindest Regards.