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 ...
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. ...
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
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 ...
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.
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 ...
Tell me if anyone knows the default live time of the application variable in JSP. Can i set this time?Thanks in advance!
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 ...
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.
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?
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 ...
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..... ...
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 ...
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 ...
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
20 byte By
liuwind at 2007-9-26 4:43:46
thanks
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 ...
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 ...
Hi all. Is there any component like jspSmarUpload available free for paging the resultset. can anyone give me an idea on this.Regards.Senthil
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. ...
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 ? ...
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
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: ...
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 ...
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? ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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
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!
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 ...
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 ...
51 byte By
eebeth at 2007-9-26 4:50:00
How to Handle multimedia files in JSP
51 byte By
nemar at 2007-9-26 4:50:02
How to get client IP address from JSP
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... ...
64 byte By
sghandi at 2007-9-26 4:50:31
how to access a javasript string variable in java
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 ...
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
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
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 ...
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, ...
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 ...
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 ...
Hi,Can you please help in setting idle time for a session using jsp.Thanks,Srini.
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.
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"> ...