User Profile

Collapse

Profile Sidebar

Collapse
prasath03
prasath03
Last Activity: Jan 5 '11, 07:30 AM
Joined: Jun 9 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • prasath03
    started a topic JSP Thumbnail View
    in Java

    JSP Thumbnail View

    Hi All,

    I'm working on a photo gallery application in JSP and have encountered a problem trying to create thumbnails from large photos.

    Basically I'm trying to create thumbnail images on the fly(image file should not save to the hard disk) to serve up to the users via the JSP script.

    Is it possible to do in jsp(with html)?
    Does anybody has idea or source? Please let me know.

    Thanks...
    See more | Go to post

  • prasath03
    started a topic Problem in JSP
    in Java

    Problem in JSP

    Hi,

    I am struggling with the following problem. Can somebody pls help me?.

    I am developing a wesbite for user can edit their files only, so i am going to develop a page for a Tree Structure in jsp.
    I got one java code from internet, that working perfectly in java, it doesn't work after i converted in jsp. I don't know what is the problem in that code. If anybody knows the answer let me know....
    When i run...
    See more | Go to post

  • prasath03
    replied to JSP Tree Structure
    in Java
    Hi,

    Thanks for your reply....

    How can i make a method in jsp? I don't know how to make a method for this kind of code. Please let me know if you know....


    Thanks in Advance.
    See more | Go to post

    Leave a comment:


  • prasath03
    started a topic JSP Tree Structure
    in Java

    JSP Tree Structure

    Hi,

    I am struggling with the following problem. Can somebody pls help me?.

    I have a file name and have a folder File f1= new File("path of the folder");. The folder is a complicated folder structure i.e. contains various files and sub folders which contains further subfolders etc. I want to show the whole folder structure(like tree structure). But, the following code shows only the "WebContent " structure.Pleas e...
    See more | Go to post

  • prasath03
    started a topic Javascript Problem in Firefox

    Javascript Problem in Firefox

    Dear Members,

    I am going to create the online form creation in html with javascript, i have a problem with the following code, i got this code from internet, the following script only works in IE but it doesn't work in other browser like (Firefox and Opera), i don't know what's the problem with code. If anybody know the solution let me know...



    Code:
    <html>
    	<head>
    		<title>Adding and
    ...
    See more | Go to post
    Last edited by prasath03; Apr 6 '09, 06:37 AM. Reason: Spelling corrections

  • prasath03
    started a topic Error while Decrypting the String
    in Java

    Error while Decrypting the String

    Hi,

    I wrote a java program for Encrypt and Decrypt the given string, when i execute the program it show me an error....but the string has Encrypted, if i want to Decrypt the string it show me an error...

    The error is:

    javax.crypto.Il legalBlockSizeE xception: Input length must be multiple of 8 when decrypting with padded cipher

    Encoded: --> pLqxYQViK5U
    Decoded: --> null
    ...
    See more | Go to post
    Last edited by prasath03; Aug 13 '08, 12:46 PM. Reason: Speilling Mistake

  • prasath03
    replied to Error using innerHtml in Mozilla
    in Java
    i created the "val" in javascripti function whenever i select the product it will create one textbox with their product name.
    here the function:

    for(var i=0;i<index.opt ions.length;i++ )
    {
    if(index.option s[i].selected)
    selections+="<t able><tr><td width='148' colspan='4' height='19' align='right'>< font color='red' face='verdana' size='2'>"+inde x.options[i...
    See more | Go to post

    Leave a comment:


  • prasath03
    replied to Error using innerHtml in Mozilla
    in Java
    thanks for your reply,

    Yes, i have both browser in the same machine...
    but even if i tried this program over the network in Mozilla again it shows me the same error(NullPoint erException)..

    what i have to do about this issue?

    Thanks in Advance...
    See more | Go to post

    Leave a comment:


  • prasath03
    started a topic Error using innerHtml in Mozilla
    in Java

    Error using innerHtml in Mozilla

    Hi,

    I developed one html page that contains one combo box for selectig mulltiple products to purchase with required quantity. I used innerHTML to add the textfield dynamically to enter the required number of quantity to selected products.

    The problem arises when i submit the form and try to get all corresponding values in another jsp page using request.getPara meterValues("va l") and request.getPara meter("sale")...
    See more | Go to post

  • prasath03
    started a topic Highlight Search Keyword
    in Java

    Highlight Search Keyword

    Hi Gurus,

    I am doing one website project that project contains one search module.
    In that search page i have entered the keyword to search.
    If i want to search the keyword with "any keyword" or "all keyword" after searched the records are showed. what i expecting is i want to hightlight the all keyword in that page with case insensitive.
    I am doing that concept in jsp page and sql server....
    See more | Go to post

  • Enable the Tcp/Ip protocol in sql server settings and restart sql server,if its not working after this stuffs,try to reinstall ur sql server,make sure tat u enable Tcp/Ip settings while installing.

    Thanks&Regards,
    Sundar


    Thanks for your reply...

    Where to enable the tcp/ip protocol in sql server you mean Server Network Utility, i have already tried all possibilities including uninstall...
    See more | Go to post

    Leave a comment:


  • SQL Server 2000 Driver for JDBC - Error establishing sockets

    Hi,

    I am using Microsoft SQL Server 2000 Driver for JDBC to connect to SQL Sever 2000. It is just a test application whether its connect or not. But I got the following errors:

    Error is:
    javax.servlet.S ervletException : [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.


    I installed the windows xp sp2, jdk5 and tomcat 4.I have already tried the all posibilities like Server...
    See more | Go to post

  • prasath03
    started a topic Image doesn't display on Weblogic
    in Java

    Image doesn't display on Weblogic

    Hi Everybody,

    I am running the following code in jsp. It will perfectly works on Tomcat 4, but it doesn't work after deployed on weblogic 8.1. What is the problem?

    The code is:

    <%@ page contentType="te xt/html"
    import="java.aw t.image.*,java. awt.*,com.sun.i mage.codec.jpeg .*" %>
    <% // Create an offscreen image 100 x 100 pixels
    BufferedImage image = new...
    See more | Go to post

  • Error for java.lang.InstantiationException in using CachedRowSet

    I'm new to JSP, and am trying this sample code for instantiating a bean for use in a disconnected ResultSet, i placed the rowset.jar under WEB-INF/lib directory but i get the following error:

    javax.servlet.S ervletException : interface javax.sql.rowse t.CachedRowSet : java.lang.Insta ntiationExcepti on: javax.sql.rowse t.CachedRowSet

    and

    root cause

    java.lang.Insta ntiationExcepti on: interface...
    See more | Go to post
    Last edited by prasath03; Jul 31 '07, 07:22 AM. Reason: typed title wrong

  • prasath03
    replied to Error in CachedRowSet?
    in Java
    Hi praveengupta,

    Thanks for reply...

    I have already tried your suggestion before u replied to this post,
    but it also throws the following error:

    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localh ost\web\CachedR owSetExample$js p.java:60: Class org.apache.jsp. CachedRowSet not found.
    CachedRowSet Contacts = null;
    ^
    ...
    See more | Go to post

    Leave a comment:


  • prasath03
    started a topic Error in CachedRowSet?
    in Java

    Error in CachedRowSet?

    Hi All,

    I tried the following code to run in jsp using Tomcat 4, the following code took from web.

    Code:

    <%@ page import="sun.jdb c.rowset.Cached RowSet" %>
    <HTML>
    <HEAD>
    <jsp:useBean id="Contacts" class="sun.jdbc .rowset.CachedR owSet" scope="session" >
    <%
    Class.forName(" sun.jdbc.odbc.J dbcOdbcDriver") ;...
    See more | Go to post

  • prasath03
    replied to How to call CachedRowSet in JSP?
    in Java
    Hi i am newbie in CachedRowSet, so can u explain with example code?

    V. Prasath...
    See more | Go to post

    Leave a comment:


  • prasath03
    replied to How to call CachedRowSet in JSP?
    in Java
    Hi,

    I have already read that document, eventhough i can't able to understand that. So you will help me about my problem.

    Thanking you,


    V. Prasath...
    See more | Go to post

    Leave a comment:


  • prasath03
    started a topic How to call CachedRowSet in JSP?
    in Java

    How to call CachedRowSet in JSP?

    Hi All,

    I tried CachedRowSet and it is working in my java class.

    crs.setCommand( "SELECT * from test");
    System.out.prin tln("Connection establishing ......");
    crs.execute();
    System.out.prin tln("Size: " + crs.size() + " records");
    // display records in cachedrowset
    while (crs.next())
    {
    System.out.prin tln(crs.getRow( ));...
    See more | Go to post

  • prasath03
    replied to How to convert String to java.sql.Date()?
    in Java
    thanks for reply..

    i tried the following code to ur suggestion but it shows the
    the following error: java.lang.Illeg alArgumentExcep tion
    at java.sql.Date.v alueOf(Date.jav a:104)

    java.sql.Date dt = java.sql.Date.v alueOf(full_dat e_time);...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...