• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Crazy post and get methods, help....

 
Ross Varlese
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
Have a very confusing problem please help.
BACKGROUND:
I am developing Novell Portlets. These are made up of the java source code, which outputs XML tags that are then rendered with a XSLT stylesheet [in a nutshell]. The java simply extends the base class so it is very similar to servlets, which is why I�ve posted the message in here.
The problem I have is when I am submitting a form using the post method I am unable to proceed to my next page. The details are being submitted and all the various page flags are being set correctly as I have checked using the get method (which works fine) but when I revert back to using the post method the page appears to reload.
I realised that when I tried to submit a post, if there was any page flags in the address URL from a previous get submission of simple link these were also submitted and processed after post (???). The effect being my details were being submitted but I was stuck in a nasty loop

If anyone can think of a reason for this or knows how to stop it, then please let me know ASAP.
Cheers
Ross
p.s I can�t simply stick to the get method as I need to submit large amounts of data.
 
Ross Varlese
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it thanks after a very large coffee break!
needed to add the following into my form tags:
action="{$Portal.Servlet.Normal}"
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic