30 Topics
![]() | |
HTTP Status 404 - /grid/ type Status report message /grid/ description The requested resource (/grid/) is not available. Apache Tomcat/5.5.20 | |
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/gridjet/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 … | |
I am using upload services and i have to use a request over http due to which IE gives me "Mixed Content" popup. My client do not want this. Is there any way to hide or handle it through java script or in Jquerry or C#? Additional Info: Web Application … | |
So I'm trying to figure out why my get method doesn't pass its test. This is my attempt at the get method: public Value get(Object key) { //Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. for (Pair<Key,Value> … | |
i have a simple note and images storing java program that stores data into the server..i'm confused about what to use for building the server..should the server be built using sockets?? or which listens for http requests (the client sends json data)?? could anyone please tell me which one would … | |
Hi, I am learning struts 2 framework and i have also used OGNL in it for data transfer. The problem is when i run the Login.jps page on apache tomcat server through Eclipse Indigo , i get the error "HTTP Status 404 - /Priyanjan_banking/Login.jsp" Please help me out . The … ![]() | |
A web server is used to process http request and send a response back to the client browser. I was wondering how does a client browser send a http request to the web server? Is it done via socket connection? Which socket connection is used to establish a connection with … | |
public class SendMessage { public static void main(String[] args) throws UnsupportedEncodingException { //String strMsg=java.net.URLEncoder.encode("This is API msg", "UTF-8"); callURL("https://api.mVaayoo.com/mvaayooapi/MessageCompose?user=user@gmail.com:1111&senderID=TEST SMS&receipientno=9999999999&dcs=0&msgtxt=msg&state=1"); } public static void callURL(String strURL){ System.out.println(" URL is :"+strURL); try{ URL obj = new URL(strURL); HttpURLConnection httpReq = (HttpURLConnection)obj.openConnection(); httpReq.setDoOutput(true); httpReq.setInstanceFollowRedirects(true); httpReq.setRequestMethod("GET"); String iStatus = httpReq.getResponseMessage(); System.out.println("iStatus: "+iStatus); } … | |
Hello All, I have been developing a website that has a secure area. At the beginning of the secure page I wrote a scriptlet to check whether the user is logged in. I want to take this scriplet and put it in a javabean. Could any of you guys suggest … | |
I am hoping this is an easy question. I am not well versed in Java, I am a ITSM admin, but the ITSM product we use comes with Tomcat as it's web server. I am trying to find out if there is a simple way to set index file (welcome … | |
i have image on my web application. When i click that i will be redirected to track jsp.What that jsp does is track the image that is clicked and redirect to that image url .At present i asing response.sendredirect(URL) which will redirect in same window.Is there any possiblity to open … | |
How can I get SSL working in Tomcat 6.x under Linux?, ive read the documentation here: [url]http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html[/url] but im not sure how to do it with a certificate I will make myself (its a dev box) | |
I want to setup Apache http server on my ubuntu machine, but as I am not good with linux, can't understand how to do that. Latest version is 2.2.21 I was trying to install that. There is a binary for window systems, I successfully installed and set it up on … | |
[CODE]import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.methods.PostMethod; public class sslRequest { public void run(){ String url = "https://pipeline.sbcc.edu/cp/home/login"; try { HttpClient client = new HttpClient(); //client.getParams().setParameter("http.protocol.single-cookie-header", true); // client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); PostMethod method = new PostMethod( url ); // Configure the form parameters method.addParameter("user", "username" ); method.addParameter("pass", "password123" ); method.addParameter("uuid", "********-f08d-4d64-aeef-************"); // Execute the POST … | |
Hi all. I'm a JSP newbie and I'm trying to write a small client application that should facilitate the user authentication onto wifi hotspots provided by a telco operator from my country. Basically the application stores the user credentials and when the user push the (only) button on the GUI … | |
Hello, I am new to web development. I have a page file1.jsp with a form, the submitted data is handled in file2.jsp, and I want to show the answer in the same page, file1.jsp. After the data be handled in file2.jsp, I want to reload file1.jsp and show the answer. … | |
hi all I am new to web services.I want to know how to extract the java file from the given WSDL in which i have https based URI. please suggest | |
I am getting the following error.................. [QUOTE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 9 in the generated java file Only a … | |
How to do a HTTP PUT/DELETE? (Using jquery) . Im making a REST-ful twitter-type aplication using Java Servlets etc... and i have the methods for handling PUT and DELETE, i just need to be able to perform these e.g. when a user submits a form (with the id of the … | |
Hey guys i have a real issue I want to do these 3 things from an applet: ________ 1) Load an URL into a frame inside the browser and 2) Insert data into a form which is inside a frame in the users browser, and then submit the form using … | |
Hi there, i want to redirect from the SERVLET page to an HTML page after 5 seconds. Please help..!! | |
Hi all, I have recently decided to implement struct framework with my current project. All are good except there a number of pages that uses , the particular page forwarding statement stopped working. The pages that used are all part of the "body" of the tiles. Say I have a … | |
I am trying to download an excel file that is avalible on this site: [url]https://www.arcavision.com/Arcavision/index.jsp[/url] Once you are logged a frame opens where you fill out a form and then click submit. On pressing submit the result of the query shows and gives you the option to download the data. … | |
Hi, I am a JSP newb. I have been scratching my head over this for a while. My task: to construct a POST and to read the response that comes back. I have been provided with some kits that illistrate how to do the job in ASP, ASP.NET and PHP, … | |
Hello all, I wrote a jsp page. It has a form with a submit button that sends the data to some algorithm. I would like the submit button to load a "please wait" html. After the algorithm is done - that "please wait" page will be auto redirected to a … | |
Hi, I have little experience with writing to Http socket. I am trying to send data to another computer through Http protocol, just like having a chat between two application but instead of using Socket connection I want to use Http connection. The server writes to [I]http[/I] connection data and … | |
i want to send value to another jsp page from sessions i add the attribute session=true in both jsp pages but i am getting error during running mode can u find any errors in code [B]try123.jsp[/B] [CODE]<% String val=(String)session.getAttribute("itemValue").toString(); %> <TD>IMAGE NAME</TD> <TD><INPUT TYPE=text NAME="img" VALUE="<%=val%>"></TD> </TR> <tr>[/CODE] [B]try.jsp[/B] [CODE]String … | |
Hi, I have an urgent ugly problem. I have a php file on a server that reads the name of the files of a directory from the server and POST them to my java application. When I try to read it, i get [CODE]Server returned HTTP response code: 400 for … | |
Hi i am trying to create a JSP class which will redirct but for some reason i keep getting an error when eneterning the correct info. i think [CODE] System.err.println("DEBUG: Query: " + selectSQL); Statement stmt = conn.createStatement(); ResultSet rs1 = stmt.executeQuery(selectSQL); while(rs1.next()) { u += rs1.getString("U"); p += rs1.getString("P"); … | |
![]() | Hi, I would like to know if it's possible to specify the "target='FrameName'" in response.sendRedirect("Home.jsp") by any chance? I tried this: [CODE] <!-- Security Check --> <form action="Login" target="_top"> <% if ((String) request.getSession(false).getAttribute("sessionStatus") == null) { response.sendRedirect("Login?pageTimeout=yes"); } %> </form> <!-- Security Check --> [/CODE] But it doesn't work... The … ![]() |