aspose file tools*
The moose likes Servlets and the fly likes Crazy post and get methods, help.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Crazy post and get methods, help...." Watch "Crazy post and get methods, help...." New topic
Author

Crazy post and get methods, help....

Ross Varlese
Greenhorn

Joined: Jan 27, 2003
Posts: 6
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

Joined: Jan 27, 2003
Posts: 6
Got it thanks after a very large coffee break!
needed to add the following into my form tags:
action="{$Portal.Servlet.Normal}"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Crazy post and get methods, help....