• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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
  • Quote
  • Report post to moderator
Hi,
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
IBM HTTP Server 1.3.26.1
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"
user
"& 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.
Prasad
mktprasad@yahoo.com
Note: In the sample jsps i have removed some html tags and replaced "<" for less than char.
 
Evildoers! Eat my justice! And this tiny ad's justice too!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic