| Author |
Accessing Servlet from HTML page in VAJ
|
Sanya, Kapoor
Greenhorn
Joined: Mar 26, 2001
Posts: 10
|
|
Please if sombody can help me with this: I am trying to access a Servlet created in VAJ in a application/project CoreServletsProj: coreservlets1.ThreeParams1 through the HTML: http://127.0.0.1:8080/ThreeParamsForm1.html where <form action= "/servlet/coreservlets1.ThreeParams1"method="Get"> I imported ThreeParamsForm1.html in resources and also added this html file in \IBM WebSphere Test Environment\hosts\default_host\default_app\web The problem is: When I input in the form: http://127.0.0.1:8080/ThreeParamsForm1.html It does not return the desired servlet page. Please if anybody can help
|
 |
Mayer Salzer
Greenhorn
Joined: Apr 01, 2002
Posts: 20
|
|
Hi, What if anything are you getting on your output page? Are you getting any error codes? Also I noticed in your example <form action= "/servlet/coreservlets1.ThreeParams1"method="Get"> that there's no space between the "action" tag and the "method" tag. I don't know if this was just a typo when you copied it over, or if you actualy have it this way in your html page, in which case you probably got a 404 error code . . If you're not getting anything, did you start your test environment? Is it set up correctly (including the ".webapp" file etc . .) Good luck. [ June 06, 2002: Message edited by: Mayer Salzer ]
|
Sun Certified Programmer for Java 2 Platform
|
 |
 |
|
|
subject: Accessing Servlet from HTML page in VAJ
|
|
|