Basic ACL on JSP, how?

Hi. I am having trouble implementing ACL's on my WebApp. On NT,
all worked well, but when I moved it to Solaris, I can no longer
log-in. When attempting to access any .jsp, I am returned the
following:
"Supplied credentials don't grant adequate privileges"
I then implemented the security logger and among the many messages,
I see the following:
Mon Feb 26 15:56:05 CST 2001:<I> <Audit> [Default Realm] user auth:
user="bpchung", credentials=password, SUCCESS
Mon Feb 26 15:56:05 CST 2001:<I> <Audit> [ServletContext] check
perm: acl="weblogic.servlet", principal="bpchung", permission="execute",
DISALLOW
So, I added the following line to my weblogic.properties file,
but it allows everyone to log in and access every .jsp (bypassing
all security in my WebApp):
weblogic.allow.execute.weblogic.servlet=trader,admin_gms_hou_usa,[etc]
This is the security portion of me WebApp web.xml file:
<!-- security -->
<security-constraint>
<web-resource-collection>
<web-resource-name> Icei Admin </web-resourcename>
<description> access control on admin subsystem </description>
<url-pattern>/admin/*</url-pattern>
<http-method> GET </http-method>
<http-method> POST </http-method>
</web-resource-collection>
<auth-constraint>
<description>none</description>
<role-name>admin_gms_hou_usa</role-name>
<role-name>admin_gms_slc_usa</role-name>
<role-name>admin_gms_cal_can</role-name>               
<role-name>admin_gms_slc_can</role-name>
<role-name>admin_pts_hou_xxx</role-name>
<role-name>admin_pts_slc_xxx</role-name>          
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name> Icei Trader </web-resource-name>
<description> access control on admin subsystem </description>
<url-pattern>/trader/*</url-pattern>
<http-method> GET </http-method>
<http-method> POST </http-method>
</web-resource-collection>
<auth-constraint>
<description>NONE</description>
<role-name>admin_gms_hou_usa</role-name>
<role-name>admin_gms_slc_usa</role-name>
<role-name>admin_gms_cal_can</role-name>
<role-name>admin_gms_slc_can</role-name>          
<role-name>admin_pts_hou_xxx</role-name>
<role-name>admin_pts_slc_xxx</role-name>          
<role-name>trader</role-name>
</auth-constraint>
</security-constraint>
These are my user/group settings in weblogic.properties:
weblogic.password.bpchung=bpchung
weblogic.password.cxjensen=cxjensen
weblogic.security.group.trader=cxjensen
weblogic.security.group.admin_gms_hou_usa=bpchung
weblogic.security.group.admin_gms_slc_usa=bpchung
weblogic.security.group.admin_gms_slc_can=bpchung
weblogic.security.group.admin_gms_cal_can=bpchung
weblogic.security.group.admin_pts_hou_xxx=bpchung
weblogic.security.group.admin_pts_slc_xxx=bpchung
Any insight into what I am doing wrong?
Thanks,
-Nathan

I failed to mention that I am running WL5.10 sp8 on Solaris.

Similar Messages

  • Can't set ACL for JSPs

    Hi,
              we are trying to set define ACL for weblogic security for JSP
              and could't manage to do it. In the online documentation there
              are examples for servlets but not for html or jsp files.
              How have to be defined the ACLs for jsp and html files ?
              Thanks in advance.
              GRIDSYSTEMS Bartolome Real Planells
              

    See http://www.weblogic.com/docs51/admindocs/properties.html#urlacl for
              details on setting ACLs on URLs...
              Bartolome Real Planells wrote:
              > Hi,
              >
              > we are trying to set define ACL for weblogic security for JSP
              > and could't manage to do it. In the online documentation there
              > are examples for servlets but not for html or jsp files.
              >
              > How have to be defined the ACLs for jsp and html files ?
              >
              > Thanks in advance.
              >
              > -------------------------------------------------------------------
              > GRIDSYSTEMS Bartolome Real Planells
              

  • How to make like Encarta encyclopedia and basic screen settings and how to lock the documents in the entire data.

    dear guys how can i make like a off line Encarta encyclopedia and basic screen settings and how to lock the documents in the entire data in visual studio.                 
       thank you. 
                                                              Million
    Getu

    Dave,
    I will +1 Pixelan's products. They are great, simple, and have about the best support that I know of. When you explore, say Pixelan's SpiceMaster, dig deeply. Things appear rather mundane, on the surface, but there is so very much power lurking, just below the surface. I could almost imagine a 1000 page manual to cover every possible aspect of that program... Every time that I use it, I learn something new, and wonderful.
    Good luck,
    Hunt

  • I thought I upgraded to Pro, but my account shows both Basic and Pro. How can I upgrade to Pro and cancel Basic without losing my forms?

    I thought I upgraded to Pro, but my account shows both Basic and Pro. How can I upgrade to Pro and cancel Basic without losing my forms?

    Hi Rochdr,
    You can use the following article to help you address this issue with your mail account in OS X:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • In jsp how to display code?

    in jsp how to display some code like this:
    String body=body1;
    String body_new="";
    int Position = 0;
    while(true){
    int index = body.indexOf(0x0D, Position);
    if(index == -1){break;}
    if(index > Position){
    body_new += body.substring(Position, index);
    body_new += "<br>";
    Position = index +1;
    if(Position >= 0){
    body_new += body.substring(Position);
    body=body_new;
    ==================
    i find IE will not display the "<br>" and some char like "'"
    i use text textarea post
    thanks

    let us say this page as code.jsp
    code.jsp
    this is the u need to follow.........
    String body=body1;
    String body_new="";
    int Position = 0;
    while(true){
    int index = body.indexOf(0x0D, Position);
    if(index == -1){break;}
    if(index > Position){
    body_new += body.substring(Position, index);
    body_new += "<br>";
    Position = index +1;
    if(Position >= 0){
    body_new += body.substring(Position);
    body=body_new
    this is the sample usage ok

  • ACLs on JSP pages

    I'm trying to set up an ACL on a JSP page for the default WebLogic realm
    using a very simple example.
    I added the following lines to weblogic.properties file
    to specify an ACL on a particular JSP page.
    # ACL for JSP pages
    weblogic.allow.execute.weblogic.servlet./dummy.jsp=testuser
    However, when 'dummy.jsp' is accessed for the very first time
    since WebLogic server is brought up,
    the server just displays the page without any security check.
    'dummy.jsp' displays the current user which is retrieved by
    'Security.getCurrentUser()' method and I could find out the user is 'guest'
    when the server bypasses the security check.
    But it works just fine from the next time, that is, it does security check
    properly afterwards so that only user 'testuser' can view the JSP page.
    In other words, this problem occurrs only once while the server is running.
    The very first time the JSP page is accessed.
    I've also tried with servlets and EJBs, which didn't get me this problem.
    Actually I tested this using RDBMSRealm in the first place,
    but I went through the same problem.
    That's why I'm testing it with WLPropertyRealm now to simplify the test
    case.
    However I got stuck with the same problem again.
    Is this a WebLogic bug or am I missing something?
    Could anyone please help me out with this?
    Thanks in advance...
    Best regards,
    Sang

    Sorry, I forgot to specify my testing environment.
    WL5.1 with SP6.
    JDK1.3
    running on WinNT 4.0 with SP5
    Sang Y. Sung <[email protected]> wrote in message
    news:3a0f51c4$[email protected]..
    I'm trying to set up an ACL on a JSP page for the default WebLogic realm
    using a very simple example.
    I added the following lines to weblogic.properties file
    to specify an ACL on a particular JSP page.
    # ACL for JSP pages
    weblogic.allow.execute.weblogic.servlet./dummy.jsp=testuser
    However, when 'dummy.jsp' is accessed for the very first time
    since WebLogic server is brought up,
    the server just displays the page without any security check.
    'dummy.jsp' displays the current user which is retrieved by
    'Security.getCurrentUser()' method and I could find out the user is'guest'
    when the server bypasses the security check.
    But it works just fine from the next time, that is, it does security check
    properly afterwards so that only user 'testuser' can view the JSP page.
    In other words, this problem occurrs only once while the server isrunning.
    The very first time the JSP page is accessed.
    I've also tried with servlets and EJBs, which didn't get me this problem.
    Actually I tested this using RDBMSRealm in the first place,
    but I went through the same problem.
    That's why I'm testing it with WLPropertyRealm now to simplify the test
    case.
    However I got stuck with the same problem again.
    Is this a WebLogic bug or am I missing something?
    Could anyone please help me out with this?
    Thanks in advance...
    Best regards,
    Sang

  • Using JSP, how to add new items to Fuego Business Object "Group" ?

    Given the classic Fuego Business Object (FBO) example of an Order, which has a few attributes (orderNumber, customerName, Order Date) and a GROUP attribute called OrderItems (ItemName, ItemPrice, etc.), I want to use a JSP to allow user to submit order. My JSP has a form and uses the Fuego Tag Library. There are FORM INPUT elements for Order.orderNumber, Order.customerName, Order.OrderDate, and a table using dynamic HTML to add rows and INPUT elements for new items to add to the GROUP attribute OrderItems - ItemName, ItemPrice, etc.)
    But when the user wants to add "OrderItems" to the order, I don't know how to get Fuego to create OrderItem Objects to add to the array (aka GROUP).
    Thx in advance.

    ###### below is the response I response I received from a BEA Engineer. From looking at the html source of fuego presentations that implement desired functionality, it appears as though they handle it using the first suggested workaround below ######
    Hi,
    The short answer to your question is that there is no out of the box feature to support directly what you are asking for.
    The problem is that JSPs receives a Fuego Object that is accessed at rendering time (JSP compilation/ HTML rendering). And then all the updated values are sent back to the engine in a new request when you hit the submit button of a FOR tag that has the postResult tag in the action attribute. At this point all these values are automatically taken from the request and the Fuego Object instance variable in the screenflow is updated.
    After saying this you will notice that it doesn’t make sense to update the Fuego Object instance on the JSP. Because you only could do this ate rendering time and because this instance is not going back to the engine (just the values).
    Fuego Object tag Library was designed basically to be able to show Fuego Object data and invoke runs-on-server FO methods.
    I see 3 different approaches to solve the problem you have:
    1)Use JavaScript to call a runs-on-server method that recive the required arguments to extend the group and set the values. You should use the new tag called invokeUrl that allows you to use AjaX, in this way you could update the page with partial rendering.
    2)Use JavaScritp to submit the form when the user click the add row button. And have a loop in the Screenflow with an automatic activity that will extend the group and the go back to the component activity that now will show the page again but with one more row. The drawback is that each time the user wants to add a row, it will require the entire page to be refresh.
    3)Handle the table and values using JavaScritp and DHTML, and put all the new values in the request (input element), then in the Screenflow use an automatic activity to set this values to the Fuego Object.
    Look at the Samples of using Fuego Tag Lib and AJaX
    albpm5.7\studio\samples\Integration\Portlets\PFoodDelivery.fpr
    albpm5.7\studio\samples\Integration\ThirdParty\AJaX.fpr

  • Custom ACL protecting jsp

    Hi all,
    I am attempting to create a custom ACL mechanism that incorporates a custom realm
    to protect servlet resource. I would like it to work in the same manner as the WLPropertyRealm.
    ie weblogic.allow.execute.weblogic.servlet.TestServlet=<groupname>.
    From the docs it seems that a custom ACL must be defined as per the example of the
    FrobImpl RMI object. However i can't see how this can be extended to protect a servlet
    without programatically reading the group permission from a separate configuration
    file.
    Can the WLPropertyRealm syntax be reused in my custom acl?
    any ideas.
    -lucio

    Thanks for the hint. Actually the problem was with JSP code and not folder structure.
    I found and resolved the problem.
    So the folder structure I explained above in my first post is now working perfectly.
    Both of the following two import directives worked:
    <%@ page import="bpm.*" %> OR <%@ page import="bpm.MyClass" %>
    Duke is coming to both of you who gave time to my problem.
    Now one problem is solved, I am facing another, please help again.
    Now I want to convert, as learning practice, my custom class into a single jar file and use it instead of class files.
    I did the following:
    1. Removed the 'package bpm;' from MyClass.java.
    2. Obtained myjar.jar from MyClass.class.
    3. Deleted MyClass.class from bpm folder.
    4. Placed myjar.jar in myapp/WEB-INF/lib
    5. Removed the import directive <%@ page import="bpm.*" %> f rom myjsp.jsp
    Now the JSP complains that 'cannot recognize class MyClass.'
    This is my first time attempting to use jar files with JSP.
    Please teach how this should be done.
    Thanks.

  • JSP -- how to pass a variable

    Hi,
    I am relatively new to JSP/Java and am currently trying to figure out how to pass a value gotten from running a query into another query.
    My code is below .. I am trying to pass 'tsid'. For simplicity I have hard-coded some values. I have tried 2 different methods (c:set & String) and bolded them below. I wanted to pass the tsid into the sql2 query.
    <%@ page import="java.sql.*"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%
        Connection connection = null;
        try{
            String tpid="1";
            String tdate="2005-11-11";
            String tsr01="3";
            String tsr02="54";
            String tsr03="64";
            String tsr04="90";
            String tsr05="54";
            String tsr06="17";
            String tsr07="null";
            String tsr08="null";
            String tsr09="null";
            String tsr10="null";
            String tsr11="null";
            String tsr12="null";
            String tsr13="null";
            String tsr14="null";
            String tsr15="null";
            String tz_1l1="111";
            String tz_1u1="111";
            String tz_1l2="111";
            String tz_1u2="111";
            String tz_1l3="111";
            String tz_1u3="111";
            String tz_1l4="111";
            String tz_1u4="111";
            String tz_1l5="111";
            String tz_1u5="111";
            String tz_2l1="111";
            String tz_2u1="111";
            String tz_2l2="111";
            String tz_2u2="111";
            String tz_2l3="111";
            String tz_2u3="111";
            String tz_2l4="111";
            String tz_2u4="111";
            String tz_2l5="111";
            String tz_2u5="111";
            Class.forName("org.postgresql.Driver");
            connection = DriverManager.getConnection("jdbc:postgresql:dbName","postgres","dbPassword");
            Statement stmt1 = connection.createStatement();
            Statement stmt2 = connection.createStatement();
            Statement stmt3 = connection.createStatement();
            String sql1="INSERT INTO t_test_setup_results (tsr_tpid, tsr_tester, tsr_athlete, tsr01, tsr02, tsr03, tsr04, tsr05, tsr06, tsr07, tsr08, tsr09, tsr10, tsr11, tsr12, tsr13, tsr14, tsr15, tsr_date) VALUES ('"+tpid+"' , '15', '9', "+tsr01+", "+tsr02+", "+tsr03+", "+tsr04+", "+tsr05+", "+tsr06+", "+tsr07+", "+tsr08+", "+tsr09+", "+tsr10+", "+tsr11+", "+tsr12+", "+tsr13+", "+tsr14+", "+tsr15+", '"+tdate+"' );";
         stmt1.executeUpdate(sql1);
         ResultSet rs2 = stmt2.executeQuery("SELECT tsr_id FROM t_test_setup_results WHERE tsr_date='"+tdate+"' AND tsr_tpid='"+tpid+"' AND tsr_athlete='9';");
            %>
         <c:set param="tsid2" value="${rs2.rows[0].tsr_id}" />
         <%
            String tsid="$rs2.rows[0].tsr_id}";
            String sql2="INSERT INTO t_test_zones (tz_tsrid,  tz_1l1, tz_1u1, tz_1l2, tz_1u2, tz_1l3, tz_1u3, tz_1l4, tz_1u4, tz_1l5, tz_1u5, tz_2l1, tz_2u1, tz_2l2, tz_2u2, tz_2l3, tz_2u3, tz_2l4, tz_2u4, tz_2l5, tz_2u5) VALUES ('"+tsid+"', "+tz_1l1+", "+tz_1u1+", "+tz_1l2+", "+tz_1u2+", "+tz_1l3+", "+tz_1u3+", "+tz_1l4+", "+tz_1u4+", "+tz_1l5+", "+tz_1u5+", "+tz_2l1+", "+tz_2u1+", "+tz_2l2+", "+tz_2u2+", "+tz_2l3+", "+tz_2u3+", "+tz_2l4+", "+tz_2u4+", "+tz_2l5+", "+tz_2u5+");" ;
            stmt2.executeUpdate(sql2);
    %>
         <result>success</result>
    <%
        catch (Exception e) {
            e.printStackTrace();
    %>
         <result>failure</result>
    <%
        } finally {
            try {
                connection.close();
            } catch (SQLException e) {
    %>this is the error I get with the above:
    org.apache.jasper.JasperException: /my-apps/Peak/Jsp/submitNewTestData.jsp(64,1) Attribute param invalid for tag set according to TLD
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:234)
    org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:989)
    org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
    org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
    org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
    org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    org.apache.jasper.compiler.Validator.validate(Validator.java:1489)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:157)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    OK,
    here is what I currently have:
      %>
         <c:set var="tsid2" value="${rs2.rows[0].tsr_id}" />
         <%
            String tsid= tsid2;
            String sql2="INSERT INTO t_test_zones (tz_tsrid,  tz_1l1, tz_1u1, tz_1l2, tz_1u2, tz_1l3, tz_1u3, tz_1l4, tz_1u4, tz_1l5, tz_1u5, tz_2l1, tz_2u1, tz_2l2, tz_2u2, tz_2l3, tz_2u3, tz_2l4, tz_2u4, tz_2l5, tz_2u5) VALUES ('"+tsid+"', "+tz_1l1+", "+tz_1u1+", "+tz_1l2+", "+tz_1u2+", "+tz_1l3+", "+tz_1u3+", "+tz_1l4+", "+tz_1u4+", "+tz_1l5+", "+tz_1u5+", "+tz_2l1+", "+tz_2u1+", "+tz_2l2+", "+tz_2u2+", "+tz_2l3+", "+tz_2u3+", "+tz_2l4+", "+tz_2u4+", "+tz_2l5+", "+tz_2u5+");" ;
         stmt2.executeUpdate(sql2);NOW I get sucess (which is what it should be) OR that tsid2 could not be resolved. Why the back and forth errors? is it a timing thing? (ie it sometimes takes longer to query the database?? )
    If it is a timing thing, how can i fix this?

  • Basic  XML Publisher Question: How to access tags in the higher levels?

    Hi All,
    We have a basic question in XML Publisher.
    We have a xml hierarchy like below:
    <CD_CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 1</CAT_NAME>
    <CD>
    <TITLE>TITLE1 </TITLE>
    <ARTIST>ARTIST1 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE2</TITLE>
    <ARTIST>ARTIST2 </ARTIST>
    </CD>
    </CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 2</CAT_NAME>
    <CD>
    <TITLE>TITLE3 </TITLE>
    <ARTIST>ARTIST3 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE4</TITLE>
    <ARTIST>ARTIST4 </ARTIST>
    </CD>
    </CATALOG>
    </CD_CATALOG>
    We need to create a report like below:
    CATALOG_NAME     CD_TITLE     CD_ARTISTCATALOG 1     TITLE1     ARTIST1
    CATALOG 1     TITLE2     ARTIST2
    CATALOG 2     TITLE3     ARTIST3
    CATALOG 2     TITLE4     ARTIST4
    So we have to loop at the level of <CD> using for-each CD. But when we are inside this loop, we cannot access the value of CAT_NAME which is at a higher level.
    How can we solve this?
    Right now, we are using the work-around of set_variable and get_Variable. We are setting the value of CAT_NAME inside an outer loop, and using it inside the inner loop using get_variable.
    Is this the proper way to do this or are there better ways to do this? We are running into troubles when the data is inside tables.

    you can use
    <?../CAT_NAME?>copy past to your template
    <?for-each:CD?> <?../CAT_NAME?> <?TITLE?> <?ARTIST?> <?end for-each?>

  • In jsp how to extract the value from a name obtained from javascript?

    It's few time i program in Java and i'm involved in an application that uses javascript to communicate between pages. I've the follow problem: in my jsp page i must process a string, but this string is produced from a javascript function. But in jsp, out of javascript function, how can i access to the value of that string of which i see from Javascript only its name?

    My string is already in a form, but i have not the request because data transmission happens through javascript: i've tried to write
    request.getParameter("StringName")
    and i've not found compilation mistakes but in execution the application gives error (maybe it doesn't find the request in the caller page)

  • In a JSP how can access an XML where the XML is present in JAR file in the

    All,
    The Requirement is as below,
    I have a JSP LaunchMe.jsp, and I have a jar utils.jar. both are present in my deployable war file.
    And I have an XML Details.XML present in the utils.jar file.
    Here I want to access Details.xml in the LaunchMe.jsp.
    Can any one please let me know how can I do this.
    Thanks,
    Subramanyam V

    Yes. You have to understand that to read a FILE (one that is seen as a file by your OS), you probably use a FileInputStream, which is a special case of InputStream. When the 'file' is not a FILE anymore, but an entry in a jar (the OS does not see it, only utilities like WinZip or jar see it), you cannot use a FileInputStream, but some other InputStream. Which one? The one returned by getResourceAsStream(), whatever this is (you don't really care). And all the rest will nicely fall into place.

  • New to JSP-How to run a .jsp file

    I Have just begin to learn JSP. I downloaded the JSP developer kit from java.sun.com. However I dont know how to proceed. I have seen references to'the container'. what is it and how do I start it? and the same for the server which I have in the form a batch file. How do I configure the environment? Are there any prerequisites to using this kit wrt software? Please do help me, since I am absolutely clueless
    Regards,
    Sweta

    Hi Sweta,
    Please use any editor like eclipse or netbeans or you create one jsp page(assumes you know jsp).
    and then create two folders web-inf inside which create classes and lib folder and web.xml is created, and meta-inf inside which context.xml is created. And use tomcat container to deploy.
    Apache tomcat is container which would receive the client request from browser that will route to servlet/jsp.
    whereas Apache webserver is different it provides the request to container if it exists then we can replace localhost:8080 by user defined.
    JSP is nothing but Dynamic web page creator which embed java program in html.
    JSPinit initializes and while running converts to servlet and will be processed according to the java code embed and display as per the html tags.
    But you should use struts framework why it is constructed upon MVC architecture and purely object oriented.
    So struts is nothing but the execution calls are drived by configuration xml files.
    If anything you need to know in details, pls msg me to [email protected]
    Thanking you
    Charles v c

  • JSP - How to Truncate or replace non-english inputs ?

    Hi,
    I have a JSP form in which users needs to input certain values and those values get stored in our database. Now my concern is that many a times users from different part of geographies also input non-english values which comes as weired characters and gets stored in my database.
    I do not want non english stuffs to be stored in my database.
    What I want is that if user enters any NON-ENGLISH character then either it should get truncated or it should get replaced with its nearest matching english character.
    How can I achieve this ?
    Awaiting Help !
    Thanks

    Hey guyz..Iam awaiting ur response......is it something that not achievable....if thats so then please suggest me some way out

  • After upgrading to firefox 7, gmail will only load in basic not standard view, how do I fix this?

    gmail will only load in basic. after I installed firefox 7. I dont have problems with my yahoo account, but gmail says my browser is too slow. I have enabled the gmail cookies, but can only get standard view if I use google chrome as my browser. This means I can copy and paste articles that I need. How do I fix this - it has been going on for weeks and gmail don't answer

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

Maybe you are looking for