I need some help on a project for java.
Basically, I just need to get you to write me the method or the missing code for the file include for servlets.
I am using Servlets.. And not JSP.
And I want to make use of the
!-- include file="[login to view URL]" --
Tag.
I did this with ASp.NET without any problems.. But hoow am i going to do it for Java Servlets?
Any suggestions or links to tutorials would be welcome. Please bid accordingly
Thanks
If I understood your problem right, this is not really very hard to solve.
You just need to make an inputstream to read everything from the html-file.
Then you can print whatever you read by using the servlet outputstream.