Girjesh Trivedi

Greenhorn
+ Follow
since Nov 16, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Girjesh Trivedi

Thanks. but I am using Weblogic.
14 years ago
JSP
Problem in handling the special spanish Character :

We pass some parameters to a java class through a JSP by using Ajax request.

Before passing those parameters we use escape(params); java scritp function. then append them to url and pass them through Post method.

JSP page has set the following settings.
<% response.setContentType("text/html;charset=ISO-8859-1"); %>
<% request.setCharacterEncoding("ISO-8859-1"); %>

When I retrive them in java file using String s_params = req.getParameter("s_params"); then special character displayed as square box.

Please help me to fix the problem.
14 years ago
JSP
are you using "UTF-8" encoding for that page? if not set the page encoding to "UTF-8"
17 years ago
JSP
I am not very sure but I think before printing that japaneese character you need to set locale to japaneese.
17 years ago
JSP
In web.xml I have mapping like given below.

<filter>
<filter-name>PageSecurityFilter</filter-name>
<display-name>Page Security Filter</display-name>
<description><![CDATA[This filter will block page access based on environmental setup. To block page access set 'com.navisys.fo.PageSecurityFilter.blockPage' property to true at JVM level.]]></description>
<filter-class>com.navisys.fo.PageSecurityFilter</filter-class>
</filter>
<filter>
<filter-name>RequestEncodingFilter</filter-name>
<display-name>Request Encoding Filter</display-name>
<description><![CDATA[This filter will encode any page requests that not in the predefined encoding and handle all parameters in new encoding.]]></description>
<filter-class>com.navisys.fo.RequestEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>

<!--
To use non XDoclet filter-mappings, create a filter-mappings.xml file that
contains the additional filter-mappings and place it in your
project's merge dir.
-->
<filter-mapping>
<filter-name>PageSecurityFilter</filter-name>
<url-pattern>/tools/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>RequestEncodingFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>RequestEncodingFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>

but I didn't understand anything from it.
17 years ago
JSP
Hi all,

In address bar we have address given below.
http://localhost:8080/navweb/tools/

but one page is displaying .could you please tell me how this ithing is possible.
17 years ago
JSP
Hi all,

in a jsp page I am using one table consisting of links and text boxes.if I enter some values in text boxes and then clicks on any link.
on this new page there is a link for previous page .but when I am clicking on that link the values i had previously entered in text boxex are not persist.Please tell me how to persist these values.

Regards
Girjesh Trivedi
18 years ago
JSP
I am using this struts code

<html:file property="exportBean.file" style="width:220px; height:24px;" styleId="file" />

this code generate a browse button to browse a file.
when I am clicking on this button a dialog box appears and in file of types drop down ,I want to change the type,I am using internet explorer.
plz suggest me the solution how can I change the file types in dialog box for browse button.
18 years ago
i am using this struts code

<html:file property="exportBean.file" style="width:220px; height:24px;" styleId="file" />

this code generate a browse button to browse a file.
when i am clicking on this button a dialog box appears and in file of types drop down ,i want to change the type,i am using internet explorer.
plz suggest me the solution how can i change the file types in dialog box for browse button.
18 years ago