File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes A Simple Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "A Simple Question " Watch "A Simple Question " New topic

A Simple Question

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I have had problem to save files as JSP files. I always get files saved as TXT files.
For example, after I typed a JSP program using the NotePad, I click on
File -- > Save As
I choose
Save As type: All File (*.*) and I give
File name: anyname.jsp
then click on the Save button. Nonetheless, what I get is anyname.txt
What is the way to do it?
[ December 25, 2002: Message edited by: JiaPei Jen ]
[ December 25, 2002: Message edited by: JiaPei Jen ]
Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
All u need to do is to put the file name within Quotes "addme.jsp"

<I>Chance Favours the Prepared minds"</I>
I agree. Here's the link:
subject: A Simple Question
It's not a secret anymore!