[vwnc] Servelet Registration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Servelet Registration

Ajaya Ghosh-2
Hi,
 
i ahd created a sample class under HttpServlet hirarchy  for sending a request to a port using post.
We recive a request but the request does not contains the passed values.
 
Can you suggest some hints to solve this problem.
 
Thanks and Regards
 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Servelet Registration

Mark Pirogovsky-3
There is a parcel called WebClient in the Goodies - it does help you to
post any arbitrary data to the web sites.

Ajaya Ghosh wrote:

>
> Hi,
>  
> i ahd created a sample class under HttpServlet hirarchy  for sending a
> request to a port using post.
> We recive a request but the request does not contains the passed values.
>  
> Can you suggest some hints to solve this problem.
>  
> Thanks and Regards
>  
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Servelet Registration

Mark Roberts
In reply to this post by Ajaya Ghosh-2
Hi,

At 09:26 PM 3/7/2008, Ajaya Ghosh wrote:
We recive a request but the request does not contains the passed values.

Are you implementing #doPost:response: ?

Could you send us the code you are using to access the posted request parameters?

Generally, it should look like this:

        bookTitle := request anyParameterValueAt: 'title'.

You can set breakpoints in the servlet code and use them to debug the problem in your code.

HTH,

M. Roberts
Cincom Systems, Inc.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc