• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

WAS5.0.2-IHS1.3.26.1 - The requested method POST is not allowed for the URL

Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When i try to post a simple data i am getting the following error in the browser:
Method Not Allowed
The requested method POST is not allowed for the URL /test/displayPost.jsp.
Environment :
Sun Solaris SunOS 5.8
IBM WebSphere Application Server 5.0.2
The same program is working fine on WAS 4.0.5 environment...
Here is the sampple program:
bash-2.03$ cat postTest.jsp
"& lt;"form action="/test/displayPost.jsp" method="POST"
"& lt;"input type= "text" name = "userName"/
"& lt;"input type="submit" name = "press" value = "submit"/
bash-2.03$ cat test/displayPost.jsp
"& lt;"% String user = request.getParameter("userName"); %>
user is "& lt;"%=user%>

Did any one came across such problem? Pl let me know if you have solution.
Thanks in advance.
Note: In the sample jsps i have removed some html tags and replaced "<" for less than char.
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic