tag:blogger.com,1999:blog-7107194769059181627.post4121072932729942789..comments2023-10-01T08:17:41.625-07:00Comments on Native Mind: RESTEasy tips: Part 1Edgar Silvahttp://www.blogger.com/profile/07488052711588628833noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-7107194769059181627.post-66373678995796243662010-11-28T13:25:39.147-08:002010-11-28T13:25:39.147-08:00Which error are you getting?Which error are you getting?Edgar Silvahttps://www.blogger.com/profile/07488052711588628833noreply@blogger.comtag:blogger.com,1999:blog-7107194769059181627.post-84855605052778545542010-11-28T00:43:16.579-08:002010-11-28T00:43:16.579-08:00hi,
i'm try to do this tutorial..but i always ...hi,<br />i'm try to do this tutorial..but i always have the 404 response when i run this upload method,i have tried another get method deployed in the same application with the upload one which just returns a string and it works ok.<br />any hints plz?<br />thnx in advance<br />shadyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107194769059181627.post-85894974992568394932008-08-04T14:17:00.000-07:002008-08-04T14:17:00.000-07:00Hi,I'm try to access the form parameters through t...Hi,<BR/><BR/>I'm try to access the form parameters through the HttpServletRequest object in my RESTful servlet ,but I'm getting the following error:<BR/><BR/><BR/>(javax.servlet.http.HttpServletRequest)<BR/>15:11:20,504 ERROR [STDERR] at org.resteasy.ResourceMethod.internalInvoke(ResourceMethod.java:136)<BR/><BR/><BR/>My code is as follows:<BR/><BR/><BR/> @POST<BR/> @Path("/basic") <BR/> @ProduceMime("text/plain") <BR/> public String doPost(@Context HttpServletRequest req){<BR/><BR/>logger.info("In doPost..");<BR/>String firstName = req.getParameter("Firstname");<BR/><BR/>String LastName = req.getParameter("Lastname");<BR/>return "Boo-Ya!";<BR/><BR/> }<BR/><BR/>The control goes inside the method but throws error when req object is accessed.<BR/>Can you please help me to fix this?<BR/><BR/>Thanks,<BR/>Pranavtheincorrigiblehttps://www.blogger.com/profile/08335464725202161611noreply@blogger.com