Hi, Mikhail:
 
Try using the ViewFormServlet instead.  It automatically logs the user
in and opens the form in submit mode.
 
http://midtier/arsys/servlet/ViewFormServlet?server=myserver&form=myform
&view=myview&mode=Submit&username=user&pwd=password
 
Tested successfully on Mid-Tier 7.0.0 P1 and Mid-Tier 7.0.01 P1.
 
By the way, no matter what variation of the LoginServlet I tried, it
opened in Search mode every time. Through all the versions of the
Mid-Tier, I always seem to have the most success using ViewFormServlet.

Thanks,
Michelle
 

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Mikhail Serate
Sent: Thursday, February 01, 2007 5:19 PM
To: [email protected]
Subject: LoginServlet goto paramter gets cut off


** 

Hello List 
We're having problems with the "goto" parameter in our LoginServlet.
We're passing in the correct parameter values, however after passing it
in, it cuts of parts of the "goto" parameter:

The URL we want to go to: 
https://midtier/arsys/forms/remprod1/PS_Access_New/Online/?mode=Submit
<https://midtier/arsys/forms/remprod1/PS_Access_New/Online/?mode=Submit>


The URL we pass pass in: 
https://midtier/arsys/servlet/LoginServlet?username=USER&pwd=PASSWORD&go
to=/arsys/forms/remprod1/PS_Access_New/Online/?mode=Submit
<https://midtier/arsys/servlet/LoginServlet?username=USER&pwd=PASSWORD&g
oto=/arsys/forms/remprod1/PS_Access_New/Online/?mode=Submit> 

The URL displayed after browser processes the URL being passed in: 
https://midtier/arsys/forms/remprod1/PS_Access_New/Online/?mode&cacheid=
b92d20a9
<https://midtier/arsys/forms/remprod1/PS_Access_New/Online/?mode&cacheid
=b92d20a9>  

As you can see, the "=Submit" is being cut off! What's going on? 

Our environment: Midtier Version 7.0.00 Patch 2 

Please advise. 

Mikhail Serate 
Remedy Development Team 
Information Technologies 
University of Calgary 
(403) 210-9308 
[EMAIL PROTECTED] 

------------------------------------------------------------------------
---------- 
Some people see things as they are and say... "Why?"
I dream of things that never were and say... "Why not?" 


__20060125_______________________This posting was submitted with HTML in
it___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to