I have recently started developing web applications, and thats why i am using text files
Herein Admin and user are involved , so instead of HTTPSession i think context would serve my purpose better.
InitializeProject ( a web apllication listner ) implementation goes like this :
deployment descriptor looks like this :
<context-param>
<param-name>My-File</param-name>
<param-value>/WEB_INF/data/demofile.txt</param-value>
</context-param>
<listener>
<listener-class>..........web.InitializeProject</listener-class>
</listener>
I need suggestions.....!!
do i need to mannualy create this data file (demofile.txt) in WEB-INF ?
my view servlet is not getting updated!