| | |
Help with GET method please
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2008
Posts: 2
Reputation:
Solved Threads: 0
Hello- I am pretty new to JSP
I need some help with a GET method. Apparently IE has a URL length limitation..
IE0- "If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path."
By sending all the variables I was hitting the IE browser limitation on length of GET parameters (URL length). So I attempted to shorted it up a bit by taking out some variables that are sent in the handoff template. It's no longer a long url issue, but it still does not seem to work right. Can someone take a look at my code and see if I am doing something wrong?
Thanks!
I need some help with a GET method. Apparently IE has a URL length limitation..
IE0- "If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path."
By sending all the variables I was hitting the IE browser limitation on length of GET parameters (URL length). So I attempted to shorted it up a bit by taking out some variables that are sent in the handoff template. It's no longer a long url issue, but it still does not seem to work right. Can someone take a look at my code and see if I am doing something wrong?
Thanks!
jsp Syntax (Toggle Plain Text)
<form name="RedirectForm" method="Get" ACTION="<%=forwardUrl%>"> <% Enumeration paramNames = request.getParameterNames(); while(paramNames.hasMoreElements()) { String name = (String)paramNames.nextElement(); //if(name.equals("url") || name.equals("id")) //{ // continue; //} %> <input type="hidden" name="<%=name%>" value="<%=request.getParameter(name)%>"> <%} %> <% if (processBean.getProcess() != null) { %> <input type="hidden" name="_label" value="<bean:write name='processBean' property='label'/>"> <input type="hidden" name="_title" value="<bean:write name='processBean' property='title'/>"> <input type="hidden" name="_actorsUserID" value="<%=request.getRemoteUser()%>"> <input type="hidden" name="_processId" value="<bean:write name='processBean' property='id'/>"> <input type="hidden" name="_owner" value="<bean:write name='processBean' property='owner'/>"> <%--<logic:iterate id="operandBean" name="contextOperands" property="operands" type="com.oakgrovesystems.portal.content.OperandContentBean"> <input type="hidden" name="<bean:write name="operandBean" property="label"/>" value="<bean:write name="operandBean" property="value" filter="false"/>"> </logic:iterate> --%> <logic:iterate id="operandBean" name="contextOperands" property="operands" type="com.oakgrovesystems.portal.content.OperandContentBean"> <% if (!operandBean.label.equals ("CustNotifyMessage") || !operandBean.label.equals ("_customCompletedInstanceLink") || !operandBean.label.equals ("_customCompletedWorklistLink") || !operandBean.label.equals ("_customInstanceLink") || !operandBean.label.equals ("CustNotifySubject") || !operandBean.label.equals ("_EmailToPrimaryContact") || !operandBean.label.equals ("UrAnsweredMessage") || !operandBean.label.equals ("UrAnsweredSubject")) {%> <input type="hidden" name="<bean:write name="operandBean" property="label"/>" value="<bean:write name="operandBean" property="value" filter="false"/>"> <%} %> </logic:iterate>
Last edited by peter_budo; 25 Days Ago at 5:38 pm. Reason: Correcting closing tag
![]() |
Similar Threads
- calling a graphics method (Java)
- Got Fractions? Method help w/ logic issue (Java)
- Cannot incorporate equals method for a yes or no answer. (Java)
- JTextField not getting updated when using setText(String) method (Java)
- Best method to add new Hard drive and re-install Windows Xp? (Windows NT / 2000 / XP)
- Java Applet viewer blinks everytime the init method is used. (Java)
- Cannot get method in project to work (Java)
- Multipointer Manipulating System and Method (Computer Science)
Other Threads in the JSP Forum
- Previous Thread: Session.isNew() problem
- Next Thread: how to increase users in tomcat-users.xml file automatically not manually
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web






