WEB-INF/web.xml
You can take a glance there and see what servlets are mapped to where.
Servlet programming is not that much different. You just end up doing a
lot of manual labor to get your parameters and such. Instead of doing
thing like, myForm.getPersonName();
You will do something like request.getParameter("personName");
When you get integers, its even more painful, you end up doing something
like
int someInt = -1;
try{ someInt =
Integer.parseInt(request.getParameter("someInt"));}catch(Exception
e){/*do nothing, or do whatever you need to*/}
So yeah. Life just get a little more painful to go back, that's about
it.
I wrote a little tutorial that kind of shows how to go from jsp to
struts, you can reverse engineer it, and see if that helps.
http://www.bachansoft.com/tutorials/web/strutsquickstart.jsp
Regards,
Pritpal Dhaliwal
-----Original Message-----
From: Denis Avdic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 11:55 AM
To: Struts Users Mailing List
Subject: Servlet help for a Struts programmer
I have an strange request:
While I am very familiar with Struts (I've worked almost exclusively in
Struts for last 2 years, right after college), I have only basic
knowledge of actual Servlet programming. Now I am faced with a task of
updating and maintaining a pure Servlet application.
Does anyone know of a resource (or resources) where I can compare
servlet functionality to struts functionality. I know they are related,
but (for example) I miss having a Struts config file, where I can glance
at one file and see all my action mappings. Is there anyone there in a
similar situation? How are you coping?
Thanks,
Denis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]