You Are Here:

Community: Developer Discussion Boards

#1 Old HTTP Comminication with servlet - 2003-04-02, 13:31

Join Date: Mar 2003
Posts: 35
newmania
Offline
Registered User
Hi, I am trying to get my 7210 emulator to talk to my tomcat server. I have implemented an example midlet and servlet which should talk to eachother fine. In the 7210 emulator I can see it sends and receives a request, however the response has a code of 500: Internal Server Error. I don't know if it is actually contacting my tomcat server or not. I have the "Enable HTTP Connection" tab turned on, and I don't think I need to set a proxy server, although I'm not entirely sure what that is.

This seems like something that shouldn't be a major problem, but I can't find anything about it anywhere on the web.

All help much appreciated,

Thanks, Tommy
Reply With Quote

#2 Old 2003-04-02, 23:09

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
You could check two things:
1) Keep a log from the servlet of all incoming connections. I'm not very familiar with Tomcat but I'm sure there is an option there to keep a log of all incoming requests with the response code they received and maybe even an error message if necessary (most web servers have this option). Even if this option is not available you can always write the servlet so that it keeps a log, saving request URLs as soon as they come in.
2) Try out the request on a regular browser. Does it also give an error?

Hope this helps,

shmoove
Reply With Quote

#3 Old 2003-04-03, 02:09

Join Date: Mar 2003
Posts: 35
newmania
Offline
Registered User
Thanks! Investigated it further by interacting with the servlet and it was that which was wrong, cheers. Tommy
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia