问题标签 [querystringparameter]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
732 浏览

weblogic - Web Logic Portlet - 获取查询字符串

我正在开发一个部署在 weblogic server 10 下的 portlet。在其他功能中,我的 portlet 需要获取一些在 URL 中传递的参数,并根据每个参数做一些事情。好吧,我的问题是我无法找出获取查询字符串的正确方法。我在互联网上找到了不同的方法,但它们似乎都不适用于 weblogic。我能够获取服务器名称、上下文路径或其他任何内容,但没有查询字符串..

有人知道对此有什么解决方案吗?或者至少给我一个线索?如果我从 JSP 中获取它们,我可以将它们传递给 .java 类吗?

最好的问候, 阿德里安·扎哈里亚

0 投票
2 回答
1647 浏览

tags - How can i pass the parameter using the display tag?

I am using the display tag.In my display:column i need the href link on my record and if click the link of the count it go to my action page of struts at the same time i need 'which instance type' and 'rating element id'.So please give me the suggestion to pass the value as a query string..Currently am using struts version 1.2.9 My sample code is,

<%@include file="/jsp/include/displaytag.jsp"%>

0 投票
3 回答
7492 浏览

struts - How to pass more than one parameter using display tag?

I'm using display tag. but i want to pass more than one parameter in the runtime. How can i pass the more than one parameter in the display:column using the 'paramProperty' and 'paramid'

My code is ,

0 投票
0 回答
115 浏览

url - Large querystring compression

Possible Duplicate:
How to compress/decompress a long query string in PHP?

I have a huge amount of data inside my subquerystring for tracking needs.

I loose a lot of my data because of this too large url missinterpreted by clients or search engine or brower capability.

To avoid this problematics, I've decided to compress my querystrings into a smaller one. I've looked into the direction of xor, huffman, lzw & gzdeflate compression algorithm but I'm not satisfied for my url needs (I need to url encode after that...).

Questions :

  • Do you know any other algorythm which can fullfill my needs ?
  • Do you know which compression technics is the most efficient ?

More details:

  • No Post/Session method possible.
  • Every alphanumeric char can be inside the query string.
  • I have around 30 parameters to compress
0 投票
1 回答
13003 浏览

asp.net - 如何使用queryString将值从一个asp页面传递到另一个asp页面?

如何使用queryString将值从一个asp.net页面传递到另一个asp.net网页。这意味着test1.aspx和test2.aspx是两个网页。

在 test1.aspx 中,我有字符串值,

如果我这样使用

Request.Redirect("test2.aspx?numbers=" + abc); .它不会工作。如果我这样使用,我无法在 test2.aspx 页面中获得 abc 值。

0 投票
1 回答
188 浏览

querystringparameter - 在查询字符串中添加多个参数

我想知道如何向这个查询字符串添加另一个参数。

0 投票
3 回答
13268 浏览

java - 将查询字符串参数解析为 java 对象

我有这样的查询字符串:

我有 Java 对象:

所以我想将此查询字符串解析为这个 java 对象。

我已经搜索并阅读了很多问题,但还没有得到正确的答案。

告诉我什么可以解决这个问题。

0 投票
1 回答
232 浏览

asp.net - 基于 URL 查询字符串的登录行为 asp.net

我有以下问题,

在 web.config 中,我们有身份验证,表示对安全文件夹下文件的任何访问都将被重定向到登录页面

现在我需要做的改变是,如果请求来自特定域,则允许无需登录即可访问,即

如果 url 是http://www.abc.com/secure/home.aspx ---> 重定向到登录和用户 shud 登录

如果 url 是http://www.abc.com/secure/home.aspx?uid=steve&fname=john ---> 他们应该能够访问 home.aspx 并且不应该被重定向到登录页面

我需要以这样的方式配置 web.config 文件,如果有任何参数与 url 一起发送,那么不要重定向

我怎样才能做到这一点

0 投票
3 回答
36318 浏览

http - 什么是有效的 URL 查询字符串?

URL 查询字符串中允许使用哪些字符?

查询字符串是否必须遵循特定格式?

0 投票
3 回答
2138 浏览

php - 隐藏查询字符串参数 htaccess

嗨,我想问一下如何使用 .htaccess mod_write将http://abc.tk/comments.php?post_referrel_id=16转换为http://abc.tk/comments.php?post_referrel_id/16表示用户看到此链接abc.tk/comments.php?post_referrel_id/16 当他单击具有源 abc.tk/comments.php?post_referrel_id=16 的超链接时