wood burning stoves*
The moose likes Servlets and the fly likes web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml" Watch "web.xml" New topic
Author

web.xml

Sunder kumar Sethu
Greenhorn

Joined: Jun 17, 2001
Posts: 10
whaz wrong with this xml
<web-app>
<servlet>
<servlet-name>init</servlet-name>
<jsp-file>init.jsp</jsp-file>
<init-param>
<param-name>DRIVER_NAME</param-name>
<param-value>ted</param-value>
</init-param>
</servlet> ----> LINE 18
</web-app>
im trying to pass init information to jsp..
when i start tom..im getting -
ERROR reading java.io.FileInputStream@4b25f1
At Line 18 /web-app/servlet/

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: web.xml
 
Similar Threads
Need to Configure Servlet Init Parameters for the jsp
need help using Javaranch Struts example
web.xml deployment problem
config with JSP
let's discuss to implementing multiple controllers by using struts1.0