Ice_1
asked on
Creating a web site with the use of JAVA SERVER PAGES will i need a controller
I am to create a web site with using either JSP or ASP.
What I would like to know is if I am using an (MVC)Model View Controller architecture how would the site be constructed in terms of a controller.
By this I mean I know the :
Model will be a database e.g mysql, MS access etc..
View will be either a combination of HTML, JSP, ASP PHP etc..
Am I correct so far
But I struggle to understand what will act as a controller in either case of JSP and ASP
Would i be right in saying
to use JAVA objects will be the controller
and VB SCRIPT be the controller in ASP
If am wrong with what I've said then am confussed so could you elaborate the MVC for ASP/JSP
AND could you provide simeple examples of MVC using the hello world as an example for both ASP and JSP.
Thanks ICE
What I would like to know is if I am using an (MVC)Model View Controller architecture how would the site be constructed in terms of a controller.
By this I mean I know the :
Model will be a database e.g mysql, MS access etc..
View will be either a combination of HTML, JSP, ASP PHP etc..
Am I correct so far
But I struggle to understand what will act as a controller in either case of JSP and ASP
Would i be right in saying
to use JAVA objects will be the controller
and VB SCRIPT be the controller in ASP
If am wrong with what I've said then am confussed so could you elaborate the MVC for ASP/JSP
AND could you provide simeple examples of MVC using the hello world as an example for both ASP and JSP.
Thanks ICE
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please don't duplicate information already posted
The comment was not there when I posted it . Maybe I didnt reload it.
OK ;-)
ASKER
I am referring to MVC as the web application tiers, What am interested is in what software can be used to create the controller.
Would it be if am using JSP, java or can I use a different language like Visual Basic.
Also if I use JSP how secure would that be in terms of getting users to login through user name password and personal details etc..
ICE
Would it be if am using JSP, java or can I use a different language like Visual Basic.
Also if I use JSP how secure would that be in terms of getting users to login through user name password and personal details etc..
ICE
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you decide to use JSP to generate your HTML pages (which is effectively Java inside HTML), then the servlet container (eg. Tomcat, Resin, etc.) will be able to provide the login security that you are looking for.
Struts is Java based and acts as a framework (hence the name ;-)) for your code within the servlet container.
I don't know very much about ASP, other than it seems to be moving to ASP.NET. In this case, you'll probably be looking at a Microsoft server. And you're asking in the wrong TA ;-)
Since you're only spending 50 points, it might be worth repeating this question in the Web Languages TA.
Struts is Java based and acts as a framework (hence the name ;-)) for your code within the servlet container.
I don't know very much about ASP, other than it seems to be moving to ASP.NET. In this case, you'll probably be looking at a Microsoft server. And you're asking in the wrong TA ;-)
Since you're only spending 50 points, it might be worth repeating this question in the Web Languages TA.
Sorry girionis. I seem to have overlapped with you ;-) Your post wasn't present when I started typing ;-)
Np, it happens all the time :)
You can read the explanation for MVC using struts here.
http://jakarta.apache.org/struts/userGuide/introduction.html#mvc