yeah, there is the servlet code as an attachment to this mail. and ther hierarchy for the servlet classes are as folllows :

webapps
ROOT
dange
frame0.txt
frame0.html
frame1.html
WEB-INF
classes
ranade
SubmitServlet.java
SubmitServlet.class and all other supporting class files.

i am not able to understand the meaning of the error such as the following :

java.io.FileNotFoundException: C:\tomcat\jakarta-tomcat-3.1.1a\jakarta-tomcat-3.1.1a\webapps\ROOT\dange\frame0.html (The system cannot find the path specified)

although it says that FILE NOT FOUND, but i am pretty sure that the FILE is there in the directory, anyways.......... !

Swapneel Dange
505-642-4126
http://www.cs.nmsu.edu/~sdange











From: Peng Tuck Kwok <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: webpage & servlets !
Date: Mon, 17 Feb 2003 15:55:58 +0800

I do not see why you cannot access a directory under a legit webapp, much less get the text file you put in there.
Can you please send your servlet code ?

Swapneel Dange wrote:
i am accesing the webpage inside the SERVLET itself. and i am trying to

access them as normal webpage and normal .txt page, but the .txt page is then made into a .html page.

And there is no link as such on nay page for the webpage i am trying to access. i am accessing them through the html tags inside the servlet itself.


Swapneel Dange
505-642-4126
http://www.cs.nmsu.edu/~sdange





From: Peng Tuck Kwok <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: webpage & servlets !
Date: Mon, 17 Feb 2003 14:30:07 +0800

How are you referring to the link in your html or jsp page?

Swapneel Dange wrote:

hi there !

i am running a servlet, which takes the username and then the password and opens another webpage in the browser , my servlet is under the webapps/ROOT/WEB-INF/classes but my .txt file for running the webpage are not inside the directory known as classes( i am generating a webpage by making a .txt file first and then making a .html file out of that)

the .txt and .html files are under webapps/ROOT/dange/ , and whenever i try to access the .txt files, i get some error like tha one i am sending here.

can anybody help me on this !


java.io.FileNotFoundException: C:\tomcat\jakarta-tomcat-3.1.1a\jakarta-tomcat-3.1.1a\webapps\ROOT\dange\frame0.html (The system cannot find the path specified)



Swapneel Dange
505-642-4126
http://www.cs.nmsu.edu/~sdange




_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

Attachment: SubmitServlet.java
Description: java/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to