socket connection from tomcat 3.2.3

354 byte By stewiestyle at 2007-9-26 4:40:45
If I wanted to create a socket connection from a servlet using apache 1.3.2 and tomcat 3.2.3 would I have to edit a policy file to allow this. The reason that I am asking is that I am getting security exceptions. I can do this with our other server. All of our machines have public ips, and the ...

Read Binary data from database

312 byte By pinky_jhurani at 2007-9-26 4:41:15
Hi,In my jsp page i need to read the binary data stored in the database on the jsp page.It is actually displaying the resume which is saved in binary format.Can anyone tell me how will we read this data and display it.I use sql server 2000 as the database.Regards,Jyoti. ...

servlet-mapping not working with Apache

293 byte By mtags at 2007-9-26 4:41:18
I have managed to get servlet-mapping working with Tomcat, and I have servlets working with Apache without servlet-mapping. But I can't seem to get servlet-mapping working with Apache.Can anyone give me some suggestions into where my problem might be.Thanks

Cold Fusion vs. JSP - waht are the advantages & cost.

840 byte By john_carpenter at 2007-9-26 4:41:22
Hi all,I am completley new to both Cold Fusion & JSP and have to make a decision on standardizing on one of these environments for a major project. Different groups in our organization have an investment in each, but now management wishes to standardize on one to enable the sharing of ...

Free applet Chat

173 byte By cjunior1 at 2007-9-26 4:41:32
Hi , i'm making a web site and i want to put a chat service , Like the "humanclick",for my clients. Anyone know's where i can find a free applet chat.

how do i check(tick) a check box based on query

451 byte By arnoldfire at 2007-9-26 4:41:33
Hi I would like to tick a check box based in the results from a query while i display itFor egwhile(rs.next()) {if (rs.getString("status") == "00") mandatory = "N";else mandatory = "Y";(need to tick check box)<input type="checkbox" value='<%= mandatory %>' name="build"> But i dont ...

How long is the live time of the Application variable?

141 byte By JavaApplet at 2007-9-26 4:41:34
Tell me if anyone knows the default live time of the application variable in JSP. Can i set this time?Thanks in advance!

Redirect with SSL causes warning messages

517 byte By MichaelNeale at 2007-9-26 4:41:38
I am using SSL to authenticate users via a simple username and password page. On the server, I do a simple response.sendRedirect(sURL) to tell the browser to switch out of https back to http.I only want authentication to be SSL, not the whole site. But I get warnings from the browser, saying ...

CreatNewFile

280 byte By selina_c at 2007-9-26 4:41:49
I create a new word file , and I would like to changes the document Orientation to vertical.(advance Orientation is horizontal) , how do I program ? I Have search for this solution 3 days , it's still can't be solved ! so ~please help me ! Urgent ! REGARDS.

session.invalidate()

160 byte By sitay2001 at 2007-9-26 4:41:51
Hi I have stored a JDBC Connection in the session. I just want to know if session.invalidate() is invoked will that connection be released?

How to reload the web page?

463 byte By JavaApplet at 2007-9-26 4:42:11
I am using TomCat Server and Jsp.My problem is: 1. when i copy some codes files and overwrite into the same name files, then view results in the web browser, but the results is not changed. 2. if i make a new web application in Tomcat Server, and then copy these files into, the results would ...

servlet/ html problem

322 byte By aandrewsa at 2007-9-26 4:42:28
hi all,I have the situation where the result of an end user's actions is a variable length (in terms of number of rows) HTML table. How can the JSP/Servlet be designed so that the Servlet (or elsewhere in the non-presentation logic) doesn't generate HTML? thanks in advance..... ...

Tomcat default index.html location - how can I change this?

527 byte By gcallagh at 2007-9-26 4:42:45
Hi,Does anyone know how I can modify Tomcat config so that if I request http://localhost/ that Tomcat goes to say /webapps/myapp/index.jspinstead of deciding to go to what seems to be the default of /ROOT/index.htmlPart 2 of this is how does tomcat decide which hello file to show? thanks in ...

compare session id

425 byte By Smartie_ys at 2007-9-26 4:43:23
Hi I hope this makes sense. I have a top.jsp which is included on the top of all pages. The first time this is open I want a popup box to appear but not every time you change to a new page. I was thinking of getting the session id and using this some how to popup once for that session id. Has ...

palm

176 byte By pablotronk at 2007-9-26 4:43:40
How can I detect which kind of dispositive is accessing my jsp?I'm quite interesting in knowing if the jsp is accessed by a palm pilot (pocket pc) or a pc

who can give me function check email ture or false in java?

20 byte By liuwind at 2007-9-26 4:43:46
thanks

Strange behaviour when using JSP with Tomcat

1915 byte By capr1ce at 2007-9-26 4:43:48
Hi, Some thing quite odd keeps happening I'm using Tomcat. I have a webapp in the webapps folder called mel. In my web.xml file my welcome file is JSP/index.jsp. So when I goto http://localhost:8080/mel, i'm forwarded to http://localhost:8080/mel/JSP/index.jsp. Ok, so first time I start the ...

getting value of List box in JSP

336 byte By anu_code at 2007-9-26 4:43:55
HI I have a list box where the user selects a value for some fields. No when the form is submitted i am getting all the form information in hidden fields via JavaScript. All information is received except for the ones in the list boxes. Can anyone tell me how to get the listbox info too?Thanks ...

paging resultset

183 byte By v_senthilraja at 2007-9-26 4:44:04
Hi all. Is there any component like jspSmarUpload available free for paging the resultset. can anyone give me an idea on this.Regards.Senthil

MVC Architecture for JSP of NO Value.

889 byte By stephensutherland at 2007-9-26 4:44:25
Hi,I tried using MVC Architecture for jsp pages, servlet controller and beans as the model. I found it of no value.--Each JSP Page is the view. --A Servlet Controller catches all the hyperlink clicks instantiates the correct beans put it in a request object and sends it back the correct view. ...

using java beans in session scope to manage permissions

366 byte By stephensutherland at 2007-9-26 4:44:26
Hi everyoneI was thinking about using java beans in session scope at the top of each jsp page to manage user permissions.I was wondering if anyone did anything like this.If so can anyone provide an example ? Or does everyone generally just check the session object at the top of each jsp page ? ...

Explaination and a simple example on TagExtraInfo class anyone ?

184 byte By Rasmeet at 2007-9-26 4:44:27
Hi Guys, Could anyone please explain the concept of TagExtraInfo class and give a simple example with code. This one is really urgent !!ThanksRasmeet

Cannot create bean of class Error

2269 byte By Greebo at 2007-9-26 4:44:45
Ok first off I realize several people have post messages similar to this - but the replys to those messages didn't help me:Today the webserver I had my code on crashed - and was restarted.Everything is working except for 1 page.When I load it I get this error:Error: 500Location: ...

Session tracking for File Upload Servlet

1255 byte By sumiti at 2007-9-26 4:45:11
Hey Friends,I am developing a File Upload servlet and I need your help in certain matters .I have taken the servlet code from java-edge.com and am modifying it to give custom behaviour.I have a main page for upload (form upload)(lets call it form 1).If the file to be uploaded already exists on ...

creating a context in tomcat

453 byte By micksta at 2007-9-26 4:45:19
Hi, I want to create a context in Jakarta called project. I need an answer to the following to put me on the right track.Where should I locate the folder project?Should every url then be prefixed by /project e.g. by /project/jspname.jsp ?What about servlets... is this correct? ...

what can i do if the iframe doesnt support Netscape ?!

10063 byte By al3xii at 2007-9-26 4:46:13
Hello! I have a problem, now i know that the iframe doesnt work in the Netscape. I m developing a homebanking project, and i need a idea to work at the JSP, that i have, in Netscape. I need all of your love and care! This is difficult ! I have a list of products, and when i select one of them ...

Applet Servlet Communications, again

3347 byte By marisapedraza at 2007-9-26 4:46:32
Hi, I have a big problem with an applet-servlet communication. My applet runs in html:<HTML><HEAD><TITLE>Enve su opini n</TITLE></HEAD><BODY><H2>Por favor, envenos su opini n acerca de este sitio web</H2><applet code=ex7.class width=500 ...

URL Encoding Problem

640 byte By mevenu at 2007-9-26 4:46:47
Hi, We are using Jsp template based mechanism. We are doing URL encoding. it's working fine in IE 5.0 & 5.5 and netscape 6.0 but it's not working in netscape 4.77. Can you please help me in this regard. Here are details.If url is like ...

where can i find TOMCAT and a browser?

311 byte By darkling235 at 2007-9-26 4:47:23
I have been up and down this site and the apache site and i simply can not find the TOMCAT download or a browser that I can use to debugg my code. If someone could please tell me where to find it I need to find out fast. the code's written but I need to test it and my deadline's coming up ...

To Validate form data with DB data and display form again with same data

438 byte By vidhyass at 2007-9-26 4:47:46
I use JSP and HTML form. I like to post form data to server and check whether already exist in a database. If already exist in a database I have to prompt the user to enter some other values and display the same form again with the data. I like to know how to display the form again with the ...

Help with:Element "web-app" does not allow "servlet" here

1905 byte By jdlwright at 2007-9-26 4:48:05
Hi all, I am using Tomcat 4 b7. In my project I am using two servlets admin and siteEditor. However, when I run Tomcat I get this error: Element "web-app" does not allow "servlet" here. Which seems to suggest a problem with my web.xml file for this app. (I have copied it below). Can anyone help ...

applet and servletContext

260 byte By phenoracle at 2007-9-26 4:48:37
Hi,Here I'm again with another question .Can anyone show me how i can get applet to comunicate with the servletContext.I have have tried the search but with no luck.In advanceMany ThanksPhenoracle

Example of encrypting a string B4 saving to database that actually works?

276 byte By adamrau at 2007-9-26 4:48:51
Does anyone have an Example of encrypting a string B4 saving to database that actually works?I have been trying relentlessly and no luck. SOme of you out there have posted some examples but none of them work.PLease help me!!Thanks in advance

What kind of problem would lead to the error?

273 byte By e_moon77 at 2007-9-26 4:48:55
I am a beginner of JSP and JavaBean, now I have a problem. When I use a javabean in jsp, a error occur once in a while just like this: Internal Servlet Error, the description is " Cannot create bean of class". Please tell me the possible cause, thanks a lot!

How to get executed JSP content

460 byte By ajaxliang at 2007-9-26 4:49:25
I have a JSP page that generate HTML based on what's in the HTTP session and/or data pass to it. I am trying to find a way to get the executed JSP content(eg. generated HTML) in Java, so that I could send it as an email / attachment.I've try to open a URLConnection to read the JSP, but only ...

Big Problem in File Downloading

749 byte By mava43 at 2007-9-26 4:49:37
Hi Java GurusI will explain the current setup:* I've uploaded couple of files to a Server's web folder. for example : http://myserver:8181/userFiles/files.ext* i've to allow the users of my application to download those files. I need to give them the url for the files in the server upon ...

jsp

51 byte By eebeth at 2007-9-26 4:50:00
How to Handle multimedia files in JSP

Ip address

51 byte By nemar at 2007-9-26 4:50:02
How to get client IP address from JSP

URGENT..how to get ip address or computer name of user making a JSP request

311 byte By kenni81 at 2007-9-26 4:50:16
Hi, How do i in my jsp, get the user ip address or any other kind of identification via JSP.. issit something like this... <% request.getRemoteUser() ; %> this jsp will be accessed when the remote user clicks a link from a normal web page... ...

java and java script communication

64 byte By sghandi at 2007-9-26 4:50:31
how to access a javasript string variable in java

Error. Please help to solve....

415 byte By caiyun01 at 2007-9-26 4:50:32
Hi everyone,I using jsp to run my wml code. I using nokia simulator to test. When i run the jsp code. It said that "Root element not declared. (Download/alternative DTD failed?)" and when i open the tomcat, it said "IOException in: R< /wap + /CheckPassword + null > Connection aborted by ...

another download problem

165 byte By wury2001 at 2007-9-26 4:50:35
hi all:i need display the file(word ,execl,pdf,) content in the browser, and the user can not direct access the file.regardbill wu

put image into database

255 byte By v_senthilraja at 2007-9-26 4:50:37
Hi.how can i input image into MySQL and also retrieve it through jsp ?i need to store one full image of type ".gif" or ."jpg"and not url of the image..........please can anyone help me.RegardsSenthil

Out of Memory error.

1591 byte By bhaskarvtm at 2007-9-26 4:50:41
Hi,I am using IIS 4.0 with servlet exec isapi to run my site. It was all running smooth. all of a sudden today morning we are getting this error. My machine is having 300 MB free space with virtual memory set to 600 MB!If i refresh the page, i am getting the error. But when i click on any link ...

jsp:include and bean re-use: doubled out problem

794 byte By GSauerLimbach at 2007-9-26 4:50:42
In a page included with jsp:include I am re-using a request scope bean of the parent page.The bean is initialized at creation in the parent using the pageContext, and from this the bean gets the out of the parent page, to create some output.If I generate output using the bean in the child page, ...

Servlets with multiusers?

478 byte By simon_orange at 2007-9-26 4:50:48
I have created a set of servlets which seem to have been working finebut it has now come to light that each servlet can only be used by 1 person at any one time.I feel there can be only 3 reasons for this1. My servlets are coded incorrectly.2. The server is not set up correctly.3. Servlets ...

Help - Problem using JSP in Frames.

572 byte By minhhoa at 2007-9-26 4:51:04
I develop a site using JSP running on Jrun 3.0. The problem happens when using frames. I divide pages into 3 frames: Header frame, Main frame, Footer frame. The first page (index.jsp) is used for user to login and when user submits name and password, it call the second page (login.jsp) is used ...

Setting Idle Time for a session..

116 byte By chandrahasc at 2007-9-26 4:51:05
Hi,Can you please help in setting idle time for a session using jsp.Thanks,Srini.

getRuntime().exec problem

159 byte By samoj at 2007-9-26 4:51:40
I am trying to use the method Runtime.getRuntime().exec in a servlet.I am getting "IO exception".I have given path related to the servlet.

Frame and jsp

624 byte By nick156e at 2007-9-26 4:52:25
I have a html form and when i submit() a want to send the parametr to a child frame. This frame is a jsp. I can't send the parametr to "sus.jsp"<head><title>Problem </title></head><frameset rows="27%,*"> <frame name="top" src="sus.jsp" scrolling="no"> ...