Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Matilda Hughes   on Oct 24 In Java Category.

  
Question Answered By: Angel Harris   on Oct 24

I have created this servlets  for my asignment. But I have some
problems.

I have created the user interface using HTML. After I submit the
form it will call a servlet and the servlet will display the
result in HTML. I want to put a link back to my HTML pages in
that servlets.
if i put only the file name as the link. eg(mypage.html)

when I click it will open
http://localhost:8080/servlet/mypage.htm

but my html files are in the desktop. so the above link does not
open my page. My class files are in
C:\jsdk2.0\examples folder..

but when I specify a servlet like above
http://localhost:8080/servlet/servletName

it will work. I put my html files in the example folder and
tryed. But the same result.

Can u please tell me how to put links in the servlets. like
Navigation bar

Ill send you my program

Some times when i refresh the page it will give SQL genreal
error. And when i try to submit 2 forms at the same time. I want
to avoid those error messages.

Please take a look at it and tell me.
need to submit it on by monday.

I hope you will reply as soon as possible.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Java Servlets Or get search suggestion and latest updates.


Tagged: