wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes security warning while running servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "security warning while running servlet" Watch "security warning while running servlet" New topic
Author

security warning while running servlet

promila singh
Greenhorn

Joined: Jan 15, 2007
Posts: 24
hello,
I build this application..



When I entered the value in html form I got this pop-up window with message

File download - security warning

do you want to save this file?
Name: FormServlet
Type: UnKnown File Type, 24 bytes
From: localhost

then it asks for to save or cancel it..if i click save it saves the entered data into a file and if i press cancel it do not go anywhere..
Please tell me if I had given this output to show here only then why it asks to save it in any file???


SCJP 6.0 Preparing for SCWCD
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41116
    
  45
The content type you're using is not valid.


Ping & DNS - my free Android networking tools app
promila singh
Greenhorn

Joined: Jan 15, 2007
Posts: 24
thanks Ulf...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: security warning while running servlet
 
Similar Threads
multipart download servlet
servlet not being called from html
HTTP method GET is not supported by this URL
problem with setContentType() method
in which method shuld i use at the servlet code for request