Saurabh Gour

Greenhorn
+ Follow
since Sep 09, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Saurabh Gour

This is probably the most important subject and it seems it is gaining importance with the inclusion of more organisations joining the process. The team 'corporate' is realising the real value that can be achieved by using software for automation of processes. But as new entrants come in, they all are not mature in organising and facilitating the effort. Though I am sure they would like to. So the responsibility is shifting more on the software vendors to make sure that they help the client with effective means and ways of optimum achievement. This book promises a good deal in order to achieve this goal.
Hi Rahul, sorry for being late in trying out your advice. But it really does not work. I am still stuck up at the same place. Also I guess, that it has more to do with the content of web.xml rather than the directory structure. My WL console shows GreetingServlet as one of the deployed servlet but still it fails to show up when called by index.html or even separately. Is it possible to call a simple class directly instead of going through index.html. Or is there a way to debug this small application ? I just want to get rid of this silly problem - though a first step in my learning of web application.
Best Regards,
Saurabh
20 years ago
I am trying to deploy a sample web app.
It calls a servlet class from index.html
But when I submit the details from index.html, it is unable to locate the class. I have tried various combinations in web.xml and weblogic.xml as the deployment descriptors. I am mentioning the code below. Any help would be appreciated.
Index.html
----------
<FORM ACTION="/greeting/GreetingServlet" METHOD="POST">
<P>Your Name <INPUT TYPE="text" SIZE="40" NAME="name"></P>
<P>Your Email <INPUT TYPE="text" SIZE="40" NAME="email">
<INPUT TYPE="submit" VALUE="Submit"></P>
web.xml
-------
<web-app>
<servlet>
<servlet-name>Registration</servlet-name>
<servlet-class>GreetingServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Registration</servlet-name>
<url-pattern>*</url-pattern>
</servlet-mapping>
</web-app>
weblogic.xml
------------
<context-root>
greeting
</context-root>
The directory structure is as:
------------------------------
..\temp\greeting
=> index.html
=> WEB-INF\
==> web.xml
==> weblogic.xml
==> classes\
===> GreetingServlet.class

TIA,
-sg
20 years ago