• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
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
[email protected]
Note: In the sample jsps i have removed some html tags and replaced "<" for less than char.
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic